summaryrefslogtreecommitdiff
path: root/community/rygel
diff options
context:
space:
mode:
Diffstat (limited to 'community/rygel')
-rw-r--r--community/rygel/PKGBUILD36
-rw-r--r--community/rygel/rygel.install11
2 files changed, 47 insertions, 0 deletions
diff --git a/community/rygel/PKGBUILD b/community/rygel/PKGBUILD
new file mode 100644
index 000000000..a8b670950
--- /dev/null
+++ b/community/rygel/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 68453 2012-03-24 21:52:58Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=rygel
+pkgver=0.12.7
+pkgrel=2
+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' 'sqlite3' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('vala' 'intltool')
+optdepends=('gstreamer0.10-good-plugins: Extra media codecs'
+ 'gstreamer0.10-bad-plugins: Extra media codecs'
+ 'gstreamer0.10-ugly-plugins: Extra media codecs'
+ 'gstreamer0.10-ffmpeg: Extra media codecs'
+ 'tracker: Share indexed media files')
+backup=('etc/rygel.conf')
+options=('!libtool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('e26f642ad6b44fef89d4dfea7c9862c0c77bc38a1b45bb63bb0038a9e4e0854d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community/rygel/rygel.install b/community/rygel/rygel.install
new file mode 100644
index 000000000..2c455e952
--- /dev/null
+++ b/community/rygel/rygel.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}