aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grilo/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-28 02:41:42 -0300
committerprspkt <prspkt@protonmail.com>2019-04-28 18:56:47 +0300
commit992e408ea07f48a458aa4b07e2ed7f53c0ffe5d5 (patch)
tree8049859d45e45529eb362cf0a83b783d96a0c335 /testing/grilo/APKBUILD
parent9f145d3d12f62ef01d38a4ee0684b7a7433ed14b (diff)
downloadaports-992e408ea07f48a458aa4b07e2ed7f53c0ffe5d5.tar.gz
aports-992e408ea07f48a458aa4b07e2ed7f53c0ffe5d5.tar.bz2
aports-992e408ea07f48a458aa4b07e2ed7f53c0ffe5d5.tar.xz
testing/grilo: upgrade to 0.3.7
- Adopt - Modernize - Fix license - switch to meson - Enable check - Split -libs package from binaries
Diffstat (limited to 'testing/grilo/APKBUILD')
-rw-r--r--testing/grilo/APKBUILD39
1 files changed, 19 insertions, 20 deletions
diff --git a/testing/grilo/APKBUILD b/testing/grilo/APKBUILD
index dae838fe08..4ef4af4f0f 100644
--- a/testing/grilo/APKBUILD
+++ b/testing/grilo/APKBUILD
@@ -1,34 +1,33 @@
-# Maintainer:
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=grilo
-pkgver=0.3.4
+pkgver=0.3.7
pkgrel=0
pkgdesc="GNOME media discovery framework"
url="https://wiki.gnome.org/Projects/Grilo"
arch="all"
-license="LGPL"
-depends=""
-depends_dev=""
-makedepends="gnome-desktop-dev liboauth-dev gmime-dev libsoup-dev libxml2-dev totem-pl-parser-dev gobject-introspection-dev itstool libxslt libxml2-utils docbook-xml docbook-xsl $depends_dev"
-install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+license="LGPL-2.1-or-later"
+makedepends="gnome-desktop-dev liboauth-dev gmime-dev libsoup-dev libxml2-dev
+ totem-pl-parser-dev gobject-introspection-dev itstool libxslt libxml2-utils
+ docbook-xml docbook-xsl meson vala"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://download.gnome.org/sources/grilo/0.3/grilo-$pkgver.tar.xz"
-builddir="$srcdir/grilo-$pkgver"
build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ -Denable-introspection=true \
+ -Denable-vala=true \
+ build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build install
}
-sha512sums="d3800a1873364dc8b56748924eee71928f9e08ad82d8ee2ffaf265cca7e26476081e543f42f26db57c088b2b063f86244e6718116710fc39fdea623868992145 grilo-0.3.4.tar.xz"
+sha512sums="82c41d63edc23c056e189a73b0de87db342bba575d42efeda78ed4bf78fb8994111a2e9457e6f2453045b9b7b2d171b9e89d71c3a107cfa06af24644d9cb71df grilo-0.3.7.tar.xz"