Date: Wednesday, February 15, 2017 @ 22:03:22 Author: heftig Revision: 289029
0.3.3 Added: grilo/trunk/PKGBUILD.meson (from rev 288942, grilo/trunk/PKGBUILD) Modified: grilo/trunk/PKGBUILD ----------------+ PKGBUILD | 16 ++++++++-------- PKGBUILD.meson | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-15 21:23:05 UTC (rev 289028) +++ PKGBUILD 2017-02-15 22:03:22 UTC (rev 289029) @@ -2,7 +2,7 @@ # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> pkgname=grilo -pkgver=0.3.2+8+g6ffe445 +pkgver=0.3.3 pkgrel=1 pkgdesc="Framework that provides access to various sources of multimedia content" url="https://wiki.gnome.org/Projects/Grilo" @@ -11,8 +11,8 @@ depends=(gtk3 libxml2 libsoup liboauth totem-plparser) makedepends=(gobject-introspection gtk-doc vala intltool git gnome-common) optdepends=('grilo-plugins: Plugins for grilo') -_commit=6ffe44554fe4abd4f21e35497133c1ebe02482af -source=("git://git.gnome.org/grilo#commit=$_commit") +_commit=53b44b711a4558c0511dbe73d928971fd2c7bb30 # tags/grilo-0.3.3^0 +source=("git+https://git.gnome.org/browse/grilo#commit=$_commit") sha256sums=('SKIP') pkgver() { @@ -22,22 +22,22 @@ prepare() { cd $pkgname - # Add missing tag for pkgver() - git tag -f grilo-0.3.2 343d0a4c29b234f81197f502fed16ba739022a6a NOCONFIGURE=1 ./autogen.sh } build() { cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \ --disable-static --disable-debug --enable-gtk-doc - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make } +check() { + cd $pkgname + make check +} + package() { cd $pkgname make DESTDIR="$pkgdir" install Copied: grilo/trunk/PKGBUILD.meson (from rev 288942, grilo/trunk/PKGBUILD) =================================================================== --- PKGBUILD.meson (rev 0) +++ PKGBUILD.meson 2017-02-15 22:03:22 UTC (rev 289029) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=grilo +pkgver=0.3.3 +pkgrel=1 +pkgdesc="Framework that provides access to various sources of multimedia content" +url="https://wiki.gnome.org/Projects/Grilo" +arch=(i686 x86_64) +license=(LGPL) +depends=(gtk3 libxml2 libsoup liboauth totem-plparser) +makedepends=(gobject-introspection gtk-doc vala git meson) +optdepends=('grilo-plugins: Plugins for grilo') +_commit=53b44b711a4558c0511dbe73d928971fd2c7bb30 # tags/grilo-0.3.3^0 +source=("git+https://git.gnome.org/browse/grilo#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^grilo-//;s/-/+/g' +} + +prepare() { + mkdir build +} + +build() { + cd build + export LANG=en_US.UTF-8 + meson --prefix=/usr --buildtype=plain -Denable-gtk-doc=true ../$pkgname + ninja +} + +check() { + cd build + ninja test +} + +package() { + cd build + DESTDIR="$pkgdir" ninja install +}