Date: Sunday, March 11, 2018 @ 19:55:50
  Author: heftig
Revision: 318639

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  grilo-plugins/repos/gnome-unstable-x86_64/
  grilo-plugins/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 318638, grilo-plugins/trunk/PKGBUILD)
  grilo-plugins/repos/gnome-unstable-x86_64/luafiles.diff
    (from rev 318638, grilo-plugins/trunk/luafiles.diff)

---------------+
 PKGBUILD      |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 luafiles.diff |   29 +++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: grilo-plugins/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318638, 
grilo-plugins/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2018-03-11 19:55:50 UTC (rev 318639)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=grilo-plugins
+pkgver=0.3.5+12+g7ecf4b2
+pkgrel=1
+pkgdesc="A collection of plugins for the Grilo framework"
+url="https://git.gnome.org/browse/grilo-plugins";
+arch=(x86_64)
+license=(LGPL)
+depends=(grilo lua libmediaart libgdata tracker gom libdmapsharing chromaprint 
gst-plugins-bad
+         gmime3)
+makedepends=(git meson gperf)
+checkdepends=(gst-plugins-good gst-plugins-base)
+optdepends=('dleyna-server: DLNA plugin'
+            'tracker-miners: Tracker plugin')
+groups=(gnome)
+_commit=7ecf4b230c7b0144e579f89b594bf2ce871d19f1  # master
+source=("git+https://git.gnome.org/browse/grilo-plugins#commit=$_commit";
+        luafiles.diff)
+sha256sums=('SKIP'
+            '73b388d9564ae8c1d3f464831082acffd46b35bdc85a3a8bdb25f408f9c6dc48')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^grilo-plugins-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../luafiles.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  cd build
+  # Unreliable tests using websites...
+  meson test || :
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}

Copied: grilo-plugins/repos/gnome-unstable-x86_64/luafiles.diff (from rev 
318638, grilo-plugins/trunk/luafiles.diff)
===================================================================
--- gnome-unstable-x86_64/luafiles.diff                         (rev 0)
+++ gnome-unstable-x86_64/luafiles.diff 2018-03-11 19:55:50 UTC (rev 318639)
@@ -0,0 +1,29 @@
+diff --git i/src/lua-factory/sources/meson.build 
w/src/lua-factory/sources/meson.build
+index 6d66d4ef148cefde..99b408266ca23350 100644
+--- i/src/lua-factory/sources/meson.build
++++ w/src/lua-factory/sources/meson.build
+@@ -30,20 +30,22 @@ resources = [
+     'grl-itunes-podcast',
+ ]
+ 
++luafactoryinstalldir = join_paths(get_option('datadir'), luafactorydir)
++
+ foreach s: sources
+     f = s + '.lua'
+     install_data(f,
+-        install_dir: luafactorydir)
++        install_dir: luafactoryinstalldir)
+ endforeach
+ 
+ foreach r: resources
+     input = r + '.gresource.xml'
+     output = r + '.gresource'
+     custom_target(output,
+         output: output,
+         input: input,
+         install: true,
+-        install_dir: luafactorydir,
++        install_dir: luafactoryinstalldir,
+         command: [glib_compile_resources,
+             '--sourcedir', meson.current_source_dir(),
+             '--target', '@OUTPUT@',

Reply via email to