aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnotify
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-09 02:35:39 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-31 06:20:44 +0000
commitec7e23e4b31581a9fbb9859f8cfb60a48dfa5577 (patch)
treea9609e501bf794966f3d9ff0e8515ba7d6c51a57 /main/libnotify
parent4dabcc9affb3793d198a3848076a1402f2236954 (diff)
downloadaports-ec7e23e4b31581a9fbb9859f8cfb60a48dfa5577.tar.bz2
aports-ec7e23e4b31581a9fbb9859f8cfb60a48dfa5577.tar.xz
main/libnotify: upgrade to 0.7.8
Diffstat (limited to 'main/libnotify')
-rw-r--r--main/libnotify/APKBUILD40
1 files changed, 19 insertions, 21 deletions
diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD
index 068f1fbeab..bca0eb98b7 100644
--- a/main/libnotify/APKBUILD
+++ b/main/libnotify/APKBUILD
@@ -1,36 +1,34 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnotify
-pkgver=0.7.7
-pkgrel=2
+pkgver=0.7.8
+pkgrel=0
pkgdesc="Desktop notification library"
-url="http://library.gnome.org/devel/notification-spec/"
+url="https://developer.gnome.org/notification-spec/"
arch="all"
options="!check" # Test requires X11.
-license="LGPL"
+license="LGPL-2.1-or-later"
subpackages="$pkgname-dev $pkgname-doc"
-depends=
-depends_dev="gdk-pixbuf-dev glib-dev dbus-dev"
-makedepends="$depends_dev gtk+3.0-dev autoconf automake gobject-introspection-dev"
-source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
- skip-tests.patch"
-
-builddir="$srcdir"/$pkgname-$pkgver
+makedepends="meson gdk-pixbuf-dev dbus-dev gtk+3.0-dev gobject-introspection-dev xmlto"
+source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
- --disable-static \
- --disable-tests \
- --enable-introspection
- make
+ -Dtests=true \
+ -Dintrospection=enabled \
+ -Dgtk_doc=false \
+ output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="133874114407bf12267ef609f5941657181760bc7cf115c5973b1810cb72bf55072b621c143e32be1e7e8b49f244851925d14bc3f9f26457747b8a8695ee9954 libnotify-0.7.7.tar.xz
-76e64bc536dbb3a38f26cdb579f9e97949591559d827380c9e42e89af0a3d4f27804fae0a6c7749efee91f71eb0dcc131c137d7971fedd944216d3a5ebbc17c8 skip-tests.patch"
+sha512sums="9973d7a1af5dd7cfbaa0d0d2c9e72a40df9d814967fde47e95763a69690cc4ed32ecf713d75f91f3dff99a693eff9dab963be124e0530ebf231d517a44e75e94 libnotify-0.7.8.tar.xz"