summaryrefslogtreecommitdiffstats
path: root/libmediainfo/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-07-12 02:15:38 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-07-12 02:15:38 +0200
commit8d23351755ef023dc68e90de539ae086dda7dcec (patch)
tree4ac438d200788bb91041820c145abedb516c2355 /libmediainfo/PKGBUILD
parent1c24ee62ce885a56c4228b2082e1bf9147eb1ad7 (diff)
downloadaur-packages-8d23351755ef023dc68e90de539ae086dda7dcec.tar.gz
aur-packages-8d23351755ef023dc68e90de539ae086dda7dcec.tar.xz
updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'libmediainfo/PKGBUILD')
-rw-r--r--libmediainfo/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/libmediainfo/PKGBUILD b/libmediainfo/PKGBUILD
new file mode 100644
index 0000000..1a652f6
--- /dev/null
+++ b/libmediainfo/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: hydro <hydro@freenet.de>
+
+pkgname=libmediainfo
+pkgver=0.7.34
+pkgrel=1
+pkgdesc="shared library for mediainfo"
+arch=('i686' 'x86_64')
+url="http://mediainfo.sourceforge.net"
+license=('GPL')
+depends=( 'curl' 'libmms>=0.5-2' 'libzen>=0.4.15')
+makedepends=('libtool' 'automake' 'autoconf')
+options=(!libtool)
+source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2)
+md5sums=('e4884e71667c7ab817755cdef9888f7d')
+
+build() {
+ cd $srcdir/MediaInfoLib/Project/GNU/Library
+ chmod +x autogen
+ ./autogen
+ ./configure --prefix=/usr --enable-shared --disable-static --with-libcurl --with-libmms
+ make clean
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+
+ for i in MediaInfo MediaInfoDLL; do
+ install -dm 755 $pkgdir/usr/include/$i
+ install -m 644 $srcdir/MediaInfoLib/Source/$i/*.h $pkgdir/usr/include/$i
+ done
+
+ install -dm 755 $pkgdir/usr/lib/pkgconfig
+ install -m 644 $srcdir/MediaInfoLib/Project/GNU/Library/libmediainfo.pc $pkgdir/usr/lib/pkgconfig
+ sed -i -e 's|Version: |Version: '$pkgver'|g' $pkgdir/usr/lib/pkgconfig/libmediainfo.pc
+
+}