mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/grilo: upgrade to 0.3.7
- Adopt - Modernize - Fix license - switch to meson - Enable check - Split -libs package from binaries
This commit is contained in:
parent
9f145d3d12
commit
992e408ea0
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user