aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmediainfo
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-06 15:01:16 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-06 15:01:16 +0200
commit5414dfe477b005e8607e15b9fa3125f3f9a81c81 (patch)
treedaa894b02a8f0587f9bb518ba8f45c3c7072f95f /testing/libmediainfo
parentab556c276f3fb2efdd55b2daad1982ee95bae080 (diff)
downloadaports-5414dfe477b005e8607e15b9fa3125f3f9a81c81.tar.bz2
aports-5414dfe477b005e8607e15b9fa3125f3f9a81c81.tar.xz
testing/libmediainfo: new aport
Diffstat (limited to 'testing/libmediainfo')
-rw-r--r--testing/libmediainfo/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/libmediainfo/APKBUILD b/testing/libmediainfo/APKBUILD
new file mode 100644
index 0000000000..d18faa1e4d
--- /dev/null
+++ b/testing/libmediainfo/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=libmediainfo
+pkgver=0.7.78
+pkgrel=0
+pkgdesc="shared library for mediainfo"
+url="http://mediainfo.sourceforge.net"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="curl-dev libmms-dev libzen"
+makedepends="$depends_dev libtool automake autoconf"
+install=""
+subpackages="$pkgname-dev"
+source="http://mediaarea.net/download/binary/libmediainfo0/${pkgver}/MediaInfo_DLL_${pkgver}_GNU_FromSource.tar.bz2"
+
+_builddir="$srcdir"/MediaInfo_DLL_GNU_FromSource/MediaInfoLib/Project/GNU/Library
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --enable-shared \
+ --disable-static \
+ --with-libcurl \
+ --with-libmms \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="11c5179e46ec687885ce82bf80bbf795 MediaInfo_DLL_0.7.78_GNU_FromSource.tar.bz2"
+sha256sums="02ef0e5695b6b24d8ed67b30c919c304c27bd7685c620141ac94f76af6b65be6 MediaInfo_DLL_0.7.78_GNU_FromSource.tar.bz2"
+sha512sums="d88458fecc5fe23a19982f8aa70075eeece8e9dd28bdba0d0909b8cfa6b7b25586cc8fb824d28d0b8e0085cbf3dde3cd831ede403de918270edcd2a9a0f39e3b MediaInfo_DLL_0.7.78_GNU_FromSource.tar.bz2"