diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-04-25 03:02:09 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-25 11:27:24 +0000 |
commit | ac7a3163569192228eecdbc294b522833ceb8d28 (patch) | |
tree | e60a8c8c734018854ed4aa2985b743ad23525c7f | |
parent | 25c67fcc123d20363fbdb56a0e3f2cff15df8bd5 (diff) | |
download | aports-ac7a3163569192228eecdbc294b522833ceb8d28.tar.bz2 aports-ac7a3163569192228eecdbc294b522833ceb8d28.tar.xz |
main/gtk+3.0: update to 3.24.8
- Split gtk+3.0-demo subpackage.
-rw-r--r-- | main/gtk+3.0/APKBUILD | 50 |
1 files changed, 34 insertions, 16 deletions
diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD index 4e6940e286..f3088f7b97 100644 --- a/main/gtk+3.0/APKBUILD +++ b/main/gtk+3.0/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk+3.0 -pkgver=3.24.7 +pkgver=3.24.8 pkgrel=0 pkgdesc="The GTK+ Toolkit (v3)" url="https://www.gtk.org/" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" arch="all" options="!check" # Test suite is known to fail upstream -license="LGPL" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg" +license="LGPL-2.1-or-later" +subpackages="$pkgname-demo $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg" depends="shared-mime-info gtk-update-icon-cache" replaces="gtk+" @@ -16,27 +16,16 @@ replaces_dev="gtk+-dev" replaces_doc="gtk+-doc" depends_dev=" - at-spi2-atk-dev atk-dev - cairo-dev - fontconfig-dev gdk-pixbuf-dev glib-dev libepoxy-dev - libx11-dev - libxcomposite-dev - libxcursor-dev - libxdamage-dev libxext-dev - libxfixes-dev libxi-dev libxinerama-dev - libxrandr-dev - pango-dev wayland-protocols wayland-libs-client wayland-libs-cursor - wayland-dev libxkbcommon-dev " makedepends=" @@ -49,7 +38,18 @@ makedepends=" gobject-introspection-dev libice-dev tiff-dev - zlib-dev" + zlib-dev + at-spi2-atk-dev + cairo-dev + fontconfig-dev + pango-dev + wayland-dev + libx11-dev + libxcomposite-dev + libxcursor-dev + libxdamage-dev + libxfixes-dev + libxrandr-dev" source="https://download.gnome.org/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.xz 10-Revert-gdkseatdefault-Grab-touch-events-where-applic.patch" @@ -88,5 +88,23 @@ package() { rm -f "$pkgdir"/usr/share/man/man1/gtk-update-icon-cache.1 } -sha512sums="2605087c3e09c81192769e6c4bcc4374e0fadbc4d05433edeaefd9915e128ff925c64fb3d07799bacccb16d85d31e53936ac09c696a09349efa6e21d886074c5 gtk+-3.24.7.tar.xz +demo() { + pkgdesc="$pkgdesc (demonstration application)" + install -Dm755 "$pkgdir"/usr/bin/gtk3-demo \ + "$pkgdir"/usr/bin/gtk3-widget-factory \ + "$pkgdir"/usr/bin/gtk3-demo-application \ + -t "$subpkgdir"/usr/bin + install -Dm644 "$pkgdir"/usr/share/gtk-3.0/gtkbuilder.rng \ + -t "$subpkgdir"/usr/share/gtk-3.0 + install -Dm644 "$pkgdir"/usr/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml \ + "$pkgdir"/usr/share/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml \ + -t "$subpkgdir"/usr/share/glib-2.0/schemas + install -Dm644 "$pkgdir"/usr/share/applications/gtk3-widget-factory.desktop \ + "$pkgdir"/usr/share/applications/gtk3-demo.desktop \ + -t "$subpkgdir"/usr/share/applications + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/icons "$subpkgdir"/usr/share +} + +sha512sums="a988ca2e25f0f32e55b2931f16c72f9649ed98405579d217e8a5e7f0ac10bcd1969090c622c5d9eb7d75235813ff7ccb90e30e252afd71ba283c6172ee459fe5 gtk+-3.24.8.tar.xz e4ea76484b70bd9beb65b2964bbcff3b3f78f5f6fe70b12309a7721ca134e3735e8aaac09803f93b393a6130a703f8f346c0df89ad45d18c580dac1e0e922276 10-Revert-gdkseatdefault-Grab-touch-events-where-applic.patch" |