aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mkvtoolnix/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-01-16 13:55:59 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-01-16 13:56:39 +0000
commitf1e18b1a4fffc673f0b08b86b347028ae50bac9a (patch)
tree84726f3a901fdc298f62a04df5f25341cc24f188 /testing/mkvtoolnix/APKBUILD
parentc8846a14adb4097b4479e4d5b5ee682eecb676a7 (diff)
downloadaports-f1e18b1a4fffc673f0b08b86b347028ae50bac9a.tar.bz2
aports-f1e18b1a4fffc673f0b08b86b347028ae50bac9a.tar.xz
testing/mkvtoolnix: new aport
Diffstat (limited to 'testing/mkvtoolnix/APKBUILD')
-rw-r--r--testing/mkvtoolnix/APKBUILD62
1 files changed, 62 insertions, 0 deletions
diff --git a/testing/mkvtoolnix/APKBUILD b/testing/mkvtoolnix/APKBUILD
new file mode 100644
index 0000000000..2296d29cad
--- /dev/null
+++ b/testing/mkvtoolnix/APKBUILD
@@ -0,0 +1,62 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=mkvtoolnix
+pkgver=6.7.0
+pkgrel=0
+pkgdesc="Set of tools to create, edit and inspect Matroska files"
+url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libmatroska-dev flac-dev libvorbis-dev boost-dev libiconv-dev
+ zlib-dev file-dev libogg-dev"
+makedepends="$depends_dev autoconf automake ruby"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-$pkgver.tar.xz
+ mkvtoolnix-5.8.0-boost-configure.patch
+ 0001-uclibc-already-defines-bswap.patch"
+
+_builddir="$srcdir"/mkvtoolnix-$pkgver
+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"
+ ./autogen.sh || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-gui \
+ --without-curl \
+ || return 1
+ ./drake V=1 -j${JOBS} || return
+}
+
+package() {
+ cd "$_builddir"
+ ./drake DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="27bb6b0a10b3bb2fcf1c3e520c300207 mkvtoolnix-6.7.0.tar.xz
+f8a4913b5f2ddee76143736aa1dcd4bb mkvtoolnix-5.8.0-boost-configure.patch
+ebb3aab6efa29de8cd176963971956d6 0001-uclibc-already-defines-bswap.patch"
+sha256sums="82207c6ece01e76d51edcf6a330c9f0dc75e3bf4201fead3023c98bd7f323785 mkvtoolnix-6.7.0.tar.xz
+060ef650d7cdfe0f6de0c614750a90105665b1321be3a59ef3e1fbec7a46bfa5 mkvtoolnix-5.8.0-boost-configure.patch
+8e263aeb87a17dcd2809a5b7a5ed784766da1bff2b7c23ac3a8294588513f55a 0001-uclibc-already-defines-bswap.patch"
+sha512sums="e45621b2d68e8938731b89e2ac35d3811523896736d15c73acda283c61ae3414b459b881bcfe6764b3839a61e0d2f83ce23ea2ad94d329378d1904b0b97ac949 mkvtoolnix-6.7.0.tar.xz
+8965f2e4116fa340753a1414a1bd285ea26a0f38f48cb80b1a57608426d9f24958afff35756135051098edaebfcf0fe07521b59bad4f5193fe6833b0d6e1cd5b mkvtoolnix-5.8.0-boost-configure.patch
+f297b1b8715f06388b96b41c094843376c561599d8087a8c0375ce3985bd9e96f553bef6645e9811a2c589c58d5baf4b22cf9fda4df4a52739a090d8cb323a87 0001-uclibc-already-defines-bswap.patch"