[arch-commits] Commit in mkvtoolnix/trunk (PKGBUILD mkvtoolnix.install)
Giovanni Scafora
giovanni at archlinux.org
Sat Jun 18 10:17:11 UTC 2011
Date: Saturday, June 18, 2011 @ 06:17:11
Author: giovanni
Revision: 127778
upgpkg: mkvtoolnix 4.8.0-3
All of the GUIs are now disabled - This is just a CLI version
Modified:
mkvtoolnix/trunk/PKGBUILD
Deleted:
mkvtoolnix/trunk/mkvtoolnix.install
--------------------+
PKGBUILD | 21 +++++++++++++--------
mkvtoolnix.install | 14 --------------
2 files changed, 13 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-06-18 10:08:18 UTC (rev 127777)
+++ PKGBUILD 2011-06-18 10:17:11 UTC (rev 127778)
@@ -1,33 +1,38 @@
# $Id$
# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: 03/08/04 <lefungus at 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')
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
}
Deleted: mkvtoolnix.install
===================================================================
--- mkvtoolnix.install 2011-06-18 10:08:18 UTC (rev 127777)
+++ mkvtoolnix.install 2011-06-18 10:17:11 UTC (rev 127778)
@@ -1,14 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- if [ -f usr/bin/update-mime-database ]; then
- update-mime-database usr/share/mime &> /dev/null
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- post_install $1
-}
More information about the arch-commits
mailing list