summaryrefslogtreecommitdiff
path: root/extra/mkvtoolnix
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mkvtoolnix')
-rw-r--r--extra/mkvtoolnix/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/extra/mkvtoolnix/PKGBUILD b/extra/mkvtoolnix/PKGBUILD
index 5b83cd885..79b1e0abf 100644
--- a/extra/mkvtoolnix/PKGBUILD
+++ b/extra/mkvtoolnix/PKGBUILD
@@ -1,33 +1,38 @@
-# $Id: PKGBUILD 124985 2011-05-25 16:04:09Z ibiru $
+# $Id: PKGBUILD 127788 2011-06-18 10:58:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: 03/08/04 <lefungus@altern.org>
pkgname=mkvtoolnix
pkgver=4.8.0
-pkgrel=2
-pkgdesc="Set of tools to create, edit and inspect Matroska files"
+pkgrel=3
+pkgdesc="Set of tools to create, edit and inspect Matroska files - CLI version"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
-depends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk' 'boost-libs' 'lzo2' 'xdg-utils')
+depends=('file' 'boost-libs' 'libmatroska' 'lzo2' 'expat' 'flac' 'libvorbis')
makedepends=('boost' 'ruby')
-install=mkvtoolnix.install
source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2")
md5sums=('47a730706f3da2bcf4ba62bba3a8f260')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Disable automagic curl dep used for online update checking
+ sed -i -e '/curl/d' configure.in
+ export CURL_CFLAGS="" CURL_LIBS=""
+
export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
+ autoreconf
+
./configure --prefix=/usr \
- --with-boost-libdir=/usr/lib
- ./drake
+ --with-boost-libdir=/usr/lib \
+ --disable-gui
+ rake
}
package () {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./drake DESTDIR="${pkgdir}" install
+ rake DESTDIR="${pkgdir}" install
}