aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwnck3/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-21 01:21:12 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 21:13:16 -0300
commit0b047c7d5518be3c8a9a80824cdeff3361d29797 (patch)
treefbbe3e24e2da6ec403266f067faf0d0961c2b060 /community/libwnck3/APKBUILD
parent62e17f213e3c96929dd100888e5729a8a0f7384e (diff)
downloadaports-0b047c7d5518be3c8a9a80824cdeff3361d29797.tar.bz2
aports-0b047c7d5518be3c8a9a80824cdeff3361d29797.tar.xz
community/libwnck3: upgrade to 3.32.0
* fix URL&License * use meson * Adopt maintainership * Enable gobject-introspection, required for acerciser
Diffstat (limited to 'community/libwnck3/APKBUILD')
-rw-r--r--community/libwnck3/APKBUILD36
1 files changed, 17 insertions, 19 deletions
diff --git a/community/libwnck3/APKBUILD b/community/libwnck3/APKBUILD
index 80c7e9e42b..0c929e50e1 100644
--- a/community/libwnck3/APKBUILD
+++ b/community/libwnck3/APKBUILD
@@ -1,38 +1,36 @@
-# Maintainer:
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Sergey Lukin <sergej.lukin@gmail.com>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libwnck3
-pkgver=3.24.1
+pkgver=3.32.0
pkgrel=0
pkgdesc="Window Navigator Construction Kit"
-url="https://git.gnome.org/browse/libwnck"
+url="https://gitlab.gnome.org/GNOME/libwnck"
arch="all"
-license="LGPL"
+license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-depends=
replaces="libwnck"
-depends_dev="glib-dev gtk+3.0-dev libx11-dev pango-dev cairo-dev
- startup-notification-dev libxres-dev"
-makedepends="$depends_dev intltool"
+makedepends="glib-dev gtk+3.0-dev libx11-dev pango-dev cairo-dev meson
+ startup-notification-dev libxres-dev gobject-introspection-dev gtk-doc"
+options="!check" # no tests
source="https://download.gnome.org/sources/libwnck/${pkgver%.*}/libwnck-$pkgver.tar.xz"
-_builddir="$srcdir"/libwnck-$pkgver
+builddir="$srcdir"/libwnck-$pkgver
build() {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
--sysconfdir=/etc \
+ --mandir=/usr/share/man \
--localstatedir=/var \
- --disable-static \
- || return 1
- make || return 1
+ --buildtype=release \
+ -Dgtk_doc=true \
+ . output
+ ninja -C output test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="e8a31ab2dc0c282f1e0994ce6a2ccd18678dc5c140943399262e795052b7f5da2d6a5d388a74f4b10f8fac66ab138983a9caaee4e72c92a17c01ca5c39b731e1 libwnck-3.24.1.tar.xz"
+sha512sums="a939b96feda20b0eba2b87556b97a9ba4b9aaea4c82c0e274a23796a3a9b49cb93be582d79e32a52a87b5ca6e35182a9d617cb802802b3c2ba2bff2b028aa3de libwnck-3.32.0.tar.xz"