aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-23 00:23:18 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-23 15:08:42 -0300
commit6d5ffdd78d90e5d33cc7cbf2a7202cf106ad52a8 (patch)
treebc0c8c5ecb35719d454b93e5f50198bde77b7864
parent6850c6a378849b98af8a7c475a303379eece191f (diff)
downloadaports-6d5ffdd78d90e5d33cc7cbf2a7202cf106ad52a8.tar.gz
aports-6d5ffdd78d90e5d33cc7cbf2a7202cf106ad52a8.tar.bz2
aports-6d5ffdd78d90e5d33cc7cbf2a7202cf106ad52a8.tar.xz
community/colord-gtk: upgrade to 0.2.0
-rw-r--r--community/colord-gtk/APKBUILD46
1 files changed, 20 insertions, 26 deletions
diff --git a/community/colord-gtk/APKBUILD b/community/colord-gtk/APKBUILD
index c9f92199ed..d099cdee91 100644
--- a/community/colord-gtk/APKBUILD
+++ b/community/colord-gtk/APKBUILD
@@ -1,42 +1,36 @@
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=colord-gtk
-pkgver=0.1.26
-pkgrel=2
+pkgver=0.2.0
+pkgrel=0
pkgdesc="GTK support library for colord"
+options="!check" # Requires bus session
url="https://www.freedesktop.org/software/colord/"
arch="all"
-license="GPL-3.0"
-makedepends="intltool glib-dev gtk+3.0-dev colord-dev lcms2-dev"
+license="LGPL-2.1-or-later"
+makedepends="meson intltool glib-dev gtk+3.0-dev colord-dev lcms2-dev"
+checkdepends="xvfb-run"
subpackages="$pkgname-dev"
source="https://www.freedesktop.org/software/colord/releases/colord-gtk-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
-
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --disable-systemd \
- --disable-systemd-login \
- --disable-argyllcms-sensor \
- --disable-nls \
- --disable-schemas-compile \
- || return 1
- make || return 1
+ -Dgtk2=false \
+ -Dvapi=true \
+ -Dtests=true \
+ -Dman=false \
+ -Ddocs=false \
+ . output
+ ninja -C output
+}
+
+check() {
+ xvfb-run ninja -C output test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ DESTDIR="$pkgdir" ninja -C output install
}
-md5sums="bb9d6f3c037152ad791003375aa6c16c colord-gtk-0.1.26.tar.xz"
-sha256sums="28d00b7f157ea3e2ea5315387b2660fde82faba16674861c50465e55d61a3e45 colord-gtk-0.1.26.tar.xz"
-sha512sums="14f59110e2bc100c542323a68566102e9fb5ab44b679da21bf29101960dae38e646e926d884e14f1838a5991e6ebe15af72d5338723265868eadd5f026545c3d colord-gtk-0.1.26.tar.xz"
+sha512sums="797eebfd4451fcae4cf70835f5de3d9bdc9e8401ddb82a2fef2310002f28bf523b599c587ff35eb89ceff38a245a6311129ad90b107f837ac4f42f268c9aad97 colord-gtk-0.2.0.tar.xz"