diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-05-31 09:41:13 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-05-31 09:41:13 +0000 |
commit | b3eb04ef635daf400e10e118e0c19d872f438a39 (patch) | |
tree | 666abdd0b0d8d29b5354856f88580067bda426f1 /testing | |
parent | 943d8ac4af0e22189ddf3cf400492ee79804d837 (diff) | |
download | aports-b3eb04ef635daf400e10e118e0c19d872f438a39.tar.bz2 aports-b3eb04ef635daf400e10e118e0c19d872f438a39.tar.xz |
testing/mkvtoolnix: fix boost linkage
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mkvtoolnix/APKBUILD | 6 | ||||
-rw-r--r-- | testing/mkvtoolnix/mkvtoolnix-5.8.0-boost-configure.patch | 63 |
2 files changed, 1 insertions, 68 deletions
diff --git a/testing/mkvtoolnix/APKBUILD b/testing/mkvtoolnix/APKBUILD index f613c5beeb..87cc53bae0 100644 --- a/testing/mkvtoolnix/APKBUILD +++ b/testing/mkvtoolnix/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=mkvtoolnix pkgver=6.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="Set of tools to create, edit and inspect Matroska files" url="http://www.bunkus.org/videotools/mkvtoolnix/index.html" arch="all" @@ -14,7 +14,6 @@ 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 @@ -52,11 +51,8 @@ package() { } 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" diff --git a/testing/mkvtoolnix/mkvtoolnix-5.8.0-boost-configure.patch b/testing/mkvtoolnix/mkvtoolnix-5.8.0-boost-configure.patch deleted file mode 100644 index 72b94b9688..0000000000 --- a/testing/mkvtoolnix/mkvtoolnix-5.8.0-boost-configure.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff --git a/ac/ax_boost_filesystem.m4 b/ac/ax_boost_filesystem.m4 -index 97c4ad0..87b94a8 100644 ---- a/ac/ax_boost_filesystem.m4 -+++ b/ac/ax_boost_filesystem.m4 -@@ -81,14 +81,14 @@ AC_DEFUN([AX_BOOST_FILESYSTEM], - AC_DEFINE(HAVE_BOOST_FILESYSTEM,,[define if the Boost::Filesystem library is available]) - BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` - if test "x$ax_boost_user_filesystem_lib" = "x"; then -- for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.{so,dylib,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's,^lib\(boost_filesystem.*\)\.so.*$,\1,' -e 's,^lib\(boost_filesystem.*\)\.dylib.*$,\1,' -e 's,^lib\(boost_filesystem.*\)\.a.*$,\1,'`; do -+ for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.so* $BOOSTLIBDIR/libboost_filesystem*.dylib* $BOOSTLIBDIR/libboost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_filesystem.*\)\.\(dylib\|a\|so\).*$;\1;'` ; do - ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_FILESYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_FILESYSTEM_LIB) link_filesystem="yes"; break], - [link_filesystem="no"],[$BOOST_SYSTEM_LIB]) - done - if test "x$link_filesystem" != "xyes"; then -- for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.dll.*$;\1;' -e 's;^\(boost_filesystem.*\)\.a*$;\1;'` ; do -+ for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.dll* $BOOSTLIBDIR/boost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.\(dll\|a\).*$;\1;'` ; do - ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_FILESYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_FILESYSTEM_LIB) link_filesystem="yes"; break], -diff --git a/ac/ax_boost_regex.m4 b/ac/ax_boost_regex.m4 -index ffd537f..2cef64f 100644 ---- a/ac/ax_boost_regex.m4 -+++ b/ac/ax_boost_regex.m4 -@@ -75,14 +75,14 @@ AC_DEFUN([AX_BOOST_REGEX], - AC_DEFINE(HAVE_BOOST_REGEX,,[define if the Boost::Regex library is available]) - BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` - if test "x$ax_boost_user_regex_lib" = "x"; then -- for libextension in `ls $BOOSTLIBDIR/libboost_regex*.{so,dylib,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's,^lib\(boost_regex.*\)\.so.*$,\1,' -e 's,^lib\(boost_regex.*\)\.dylib.*$,\1,' -e 's,^lib\(boost_regex.*\)\.a.*$,\1,'`; do -+ for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.dylib* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.dylib.*;\1;' -e 's;^lib\(boost_regex.*\)\.a.*$;\1;'` ; do - ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break], - [link_regex="no"]) - done - if test "x$link_regex" != "xyes"; then -- for libextension in `ls $BOOSTLIBDIR/boost_regex*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do -+ for libextension in `ls $BOOSTLIBDIR/boost_regex*.dll* $BOOSTLIBDIR/boost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a.*$;\1;'` ; do - ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break], -diff --git a/ac/ax_boost_system.m4 b/ac/ax_boost_system.m4 -index b0685b9..a71907b 100644 ---- a/ac/ax_boost_system.m4 -+++ b/ac/ax_boost_system.m4 -@@ -83,14 +83,14 @@ AC_DEFUN([AX_BOOST_SYSTEM], - - LDFLAGS_SAVE=$LDFLAGS - if test "x$ax_boost_user_system_lib" = "x"; then -- for libextension in `ls $BOOSTLIBDIR/libboost_system*.{so,dylib,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's,^lib\(boost_system.*\)\.so.*$,\1,' -e 's,^lib\(boost_system.*\)\.dylib.*$,\1,' -e 's,^lib\(boost_system.*\)\.a.*$,\1,'`; do -+ for libextension in `ls $BOOSTLIBDIR/libboost_system*.a* $BOOSTLIBDIR/libboost_system*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.\(so\|a\).*$;\1;'` ; do - ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break], - [link_system="no"]) - done - if test "x$link_system" != "xyes"; then -- for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do -+ for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.\(dll\|a\).*$;\1;'` ; do - ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break], |