diff options
Diffstat (limited to 'extra/rygel')
-rw-r--r-- | extra/rygel/PKGBUILD | 42 | ||||
-rw-r--r-- | extra/rygel/rygel.install | 11 |
2 files changed, 53 insertions, 0 deletions
diff --git a/extra/rygel/PKGBUILD b/extra/rygel/PKGBUILD new file mode 100644 index 000000000..8ac8a19bc --- /dev/null +++ b/extra/rygel/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 180471 2013-03-21 22:40:51Z heftig $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=rygel +pkgver=0.16.4 +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' '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=('3cf338c120751ea068c90f65bfb2a63c436cdf59b02ce159b6376a349717ed7a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-mediathek-plugin --enable-gst-launch-plugin + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/extra/rygel/rygel.install b/extra/rygel/rygel.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/extra/rygel/rygel.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |