diff options
Diffstat (limited to 'community/mediatomb')
-rw-r--r-- | community/mediatomb/PKGBUILD | 15 | ||||
-rw-r--r-- | community/mediatomb/gcc46.patch | 10 |
2 files changed, 19 insertions, 6 deletions
diff --git a/community/mediatomb/PKGBUILD b/community/mediatomb/PKGBUILD index f04da8eb5..f0801b70e 100644 --- a/community/mediatomb/PKGBUILD +++ b/community/mediatomb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 36085 2010-12-27 00:44:09Z jconder $ +# $Id: PKGBUILD 49488 2011-06-17 21:55:59Z jelle $ # Contributor: William Rea <sillywilly@gmail.com> # Contributor: Nikhil Bysani <nikron@gmail.com> # Contributor: Mika Hynnä <igheax@gmail.com> @@ -6,23 +6,26 @@ pkgname=mediatomb pkgver=0.12.1 -pkgrel=3 +pkgrel=4 pkgdesc="Free UPnP/DLNA media server" arch=('i686' 'x86_64' 'mips64el') url="http://mediatomb.cc/" license=('GPL') -depends=('libexif' 'taglib' 'sqlite3' 'spidermonkey' 'curl' 'ffmpegthumbnailer') +depends=('libexif' 'libmp4v2' 'taglib' 'sqlite3' 'spidermonkey' 'curl' 'ffmpegthumbnailer') backup=('etc/conf.d/mediatomb') install=mediatomb.install source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 'mediatomb.rc' - 'mediatomb.conf') + 'mediatomb.conf' + 'gcc46.patch') md5sums=('e927dd5dc52d3cfcebd8ca1af6f0d3c2' 'aa1191ec508d8bd4b3b9a5fe48efc079' - 'bec297e4178332a26b42bbde873b94cd') + 'bec297e4178332a26b42bbde873b94cd' + '0ae34c0d73b76e3d215887834c3c08cf') build() { cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i $srcdir/gcc46.patch ./configure --prefix=/usr \ --disable-mysql \ @@ -39,5 +42,5 @@ package() { install -D -m0755 "$srcdir/mediatomb.rc" "$pkgdir/etc/rc.d/mediatomb" install -D -m0755 "$srcdir/mediatomb.conf" "$pkgdir/etc/conf.d/mediatomb" - mkdir -p "$pkgdir/var/lib/mediatomb" + install -d "$pkgdir/var/lib/mediatomb" } diff --git a/community/mediatomb/gcc46.patch b/community/mediatomb/gcc46.patch new file mode 100644 index 000000000..0f4fe490f --- /dev/null +++ b/community/mediatomb/gcc46.patch @@ -0,0 +1,10 @@ +--- a/src/zmm/object.h ++++ b/src/zmm/object.h +@@ -33,6 +33,7 @@ + #define __ZMM_OBJECT_H__ + + #include <new> // for size_t ++#include <cstddef> + #include "atomic.h" + + namespace zmm |