diff --git a/srcpkgs/gtk+3/template b/srcpkgs/gtk+3/template index 2ef8a708417..afa4b9cf16b 100644 --- a/srcpkgs/gtk+3/template +++ b/srcpkgs/gtk+3/template @@ -1,6 +1,6 @@ # Template build file for 'gtk+3'. pkgname=gtk+3 -version=3.22.29 +version=3.22.30 revision=1 wrksrc="gtk+-${version}" build_style=gnu-configure @@ -8,24 +8,22 @@ configure_args="--disable-schemas-compile $(vopt_enable broadway broadway-backend) $(vopt_enable colord) $(vopt_enable cups) $(vopt_enable gir introspection) $(vopt_enable wayland wayland-backend) $(vopt_enable x11 x11-backend)" -short_desc="The GTK+ toolkit (v3)" -maintainer="Juan RP " -homepage="https://www.gtk.org/" -license="LGPL-2.1-or-later" -distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz" -checksum=a07d64b939fcc034a066b7723fdf9b24e92c9cfb6a8497593f3471fe56fbbbf8 - -hostmakedepends="automake gettext-devel libtool pkg-config - glib-devel gtk-doc gobject-introspection gtk-update-icon-cache +hostmakedepends="automake gettext-devel glib-devel gobject-introspection gtk-doc + gtk-update-icon-cache pkg-config $(vopt_if wayland 'wayland-devel wayland-protocols')" -makedepends="libglib-devel atk-devel at-spi2-atk-devel libepoxy-devel - libpng-devel fontconfig-devel cairo-devel pango-devel gdk-pixbuf-devel - $(vopt_if colord colord-devel) $(vopt_if cups cups-devel) +makedepends="at-spi2-atk-devel gdk-pixbuf-devel libepoxy-devel pango-devel + $(vopt_if colord 'colord-devel') $(vopt_if cups 'cups-devel') $(vopt_if wayland 'libxkbcommon-devel wayland-devel wayland-protocols libwayland-egl MesaLib-devel') $(vopt_if x11 'libXcursor-devel libXdamage-devel libXext-devel libXinerama-devel libXi-devel libXrandr-devel libXcomposite-devel')" -depends="gtk-update-icon-cache shared-mime-info $(vopt_if x11 dbus-x11)" -triggers="gtk3-immodules" +depends="gtk-update-icon-cache shared-mime-info $(vopt_if x11 'dbus-x11')" +short_desc="The GTK+ toolkit (v3)" +maintainer="Juan RP " +license="LGPL-2.1-or-later" +homepage="https://www.gtk.org/" +distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz" +checksum=a1a4a5c12703d4e1ccda28333b87ff462741dc365131fbc94c218ae81d9a6567 conf_files="/etc/gtk-3.0/im-multipress.conf" +triggers="gtk3-immodules" # Package build options build_options="broadway colord cups gir wayland x11" @@ -43,10 +41,12 @@ pre_configure() { sed -i 's,pkg-config,/usr/bin/pkg-config,' autogen.sh NOCONFIGURE=1 ./autogen.sh } + do_check() { # Requires xserver running : } + post_install() { rm -f ${DESTDIR}/usr/bin/gtk-update-icon-cache rm -f ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1 @@ -66,6 +66,7 @@ gtk+3-devel_package() { vmove usr/share/aclocal } } + gtk+3-demo_package() { short_desc+=" - demonstration application" pkg_install() {