[arch-commits] Commit in rygel/trunk (PKGBUILD activation.patch)

Jan Steffens heftig at archlinux.org
Mon Oct 10 12:26:50 UTC 2016


    Date: Monday, October 10, 2016 @ 12:26:50
  Author: heftig
Revision: 278168

0.32.0+1+ge615875-1

Modified:
  rygel/trunk/PKGBUILD
Deleted:
  rygel/trunk/activation.patch

------------------+
 PKGBUILD         |   33 +++++++++++++++++++--------------
 activation.patch |   18 ------------------
 2 files changed, 19 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 12:21:17 UTC (rev 278167)
+++ PKGBUILD	2016-10-10 12:26:50 UTC (rev 278168)
@@ -3,46 +3,51 @@
 # Contributor: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=rygel
-pkgver=0.30.3
-pkgrel=2
+pkgver=0.32.0+1+ge615875
+pkgrel=1
 pkgdesc="UPnP AV MediaServer and MediaRenderer that allows you to easily share audio, video and pictures, and control of media player on your home network"
 arch=(i686 x86_64)
 url="http://live.gnome.org/Rygel"
 license=(LGPL)
 depends=(gupnp-av gupnp-dlna libgee gtk3 libunistring libtracker-sparql libmediaart)
-makedepends=(vala intltool python2 gobject-introspection)
+makedepends=(vala intltool python2 gobject-introspection git valadoc)
 optdepends=('gst-plugins-base: Extra media codecs'
             'gst-plugins-good: Extra media codecs'
-            'gst-plugins-bad: Extra media codecs'            
+            'gst-plugins-bad: Extra media codecs'
             'gst-plugins-ugly: Extra media codecs'
             'gst-libav: Extra media codecs'
             'tracker: Share indexed media files')
 backup=(etc/rygel.conf)
 groups=(gnome-extra)
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
-        activation.patch)
-sha256sums=('7171ac2538d9868b0e564430041fe3485f1cf3b25e2540474d0b1480605e054e'
-            '69c7f92fcd8cc368e46e7508c666260ab23a361b5b5e8a0135bce29c2deab3cb')
+_commit=e6158753f2413076fa74e558cd9ec3ce0fcfc2ff  # rygel-0-32
+source=("git://git.gnome.org/rygel#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^RYGEL_//;s/_/./g;s/-/+/g'
+}
+
 prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../activation.patch
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
-              --disable-static --enable-mediathek-plugin --enable-gst-launch-plugin
+              --disable-static --enable-mediathek-plugin --enable-gst-launch-plugin \
+              --enable-apidocs
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make check
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Deleted: activation.patch
===================================================================
--- activation.patch	2016-10-10 12:21:17 UTC (rev 278167)
+++ activation.patch	2016-10-10 12:26:50 UTC (rev 278168)
@@ -1,18 +0,0 @@
-diff -u -r rygel-0.30.3/data/org.gnome.Rygel1.service.in rygel-0.30.3-activation/data/org.gnome.Rygel1.service.in
---- rygel-0.30.3/data/org.gnome.Rygel1.service.in	2012-02-25 09:31:16.000000000 +0100
-+++ rygel-0.30.3-activation/data/org.gnome.Rygel1.service.in	2016-05-23 20:49:55.304501566 +0200
-@@ -1,3 +1,4 @@
- [D-BUS Service]
- Name=org.gnome.Rygel1
- Exec=@bindir@/rygel
-+SystemdService=rygel.service
-diff -u -r rygel-0.30.3/data/rygel.service.in rygel-0.30.3-activation/data/rygel.service.in
---- rygel-0.30.3/data/rygel.service.in	2016-05-22 10:21:10.000000000 +0200
-+++ rygel-0.30.3-activation/data/rygel.service.in	2016-05-23 20:50:13.287773997 +0200
-@@ -6,3 +6,6 @@
- BusName=org.gnome.Rygel1
- ExecStart=@bindir@/rygel
- Restart=on-failure
-+
-+[Install]
-+WantedBy=default.target



More information about the arch-commits mailing list