aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmediainfo/APKBUILD
blob: 9133d9eabe4be6187dcce885b3f9082f54e8c598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Corey Oliver <corey.jon.oliver@gmail.com>
pkgname=libmediainfo
pkgver=0.7.78
pkgrel=1
pkgdesc="Shared library for mediainfo"
url="http://mediainfo.sourceforge.net"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="curl-dev libmms-dev libzen"
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

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-shared \
		--disable-static \
		--enable-visibility \
		--with-libcurl=/usr \
		--with-libmms \
		--without-libmd5 \
		|| 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"