[arch-commits] Commit in mkvtoolnix/repos (6 files)

Giovanni Scafora giovanni at archlinux.org
Sat Oct 22 12:30:06 EDT 2011


    Date: Saturday, October 22, 2011 @ 12:30:06
  Author: giovanni
Revision: 141053

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  mkvtoolnix/repos/extra-i686/PKGBUILD
    (from rev 141052, mkvtoolnix/trunk/PKGBUILD)
  mkvtoolnix/repos/extra-i686/mkvtoolnix.install
    (from rev 141052, mkvtoolnix/trunk/mkvtoolnix.install)
  mkvtoolnix/repos/extra-x86_64/PKGBUILD
    (from rev 141052, mkvtoolnix/trunk/PKGBUILD)
  mkvtoolnix/repos/extra-x86_64/mkvtoolnix.install
    (from rev 141052, mkvtoolnix/trunk/mkvtoolnix.install)
Deleted:
  mkvtoolnix/repos/extra-i686/PKGBUILD
  mkvtoolnix/repos/extra-x86_64/PKGBUILD

---------------------------------+
 extra-i686/PKGBUILD             |   76 +++++++++++++++++++-------------------
 extra-i686/mkvtoolnix.install   |   14 +++++++
 extra-x86_64/PKGBUILD           |   76 +++++++++++++++++++-------------------
 extra-x86_64/mkvtoolnix.install |   14 +++++++
 4 files changed, 104 insertions(+), 76 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2011-10-22 16:29:23 UTC (rev 141052)
+++ extra-i686/PKGBUILD	2011-10-22 16:30:06 UTC (rev 141053)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=mkvtoolnix
-pkgver=5.0.1
-pkgrel=1
-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=('file' 'boost-libs' 'libmatroska' 'lzo2' 'expat' 'flac' 'libvorbis')
-makedepends=('boost' 'ruby')
-source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('93fbbe946de6013eca699c0c2a93a4e9')
-
-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 \
-              --disable-gui
-  rake
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  rake DESTDIR="${pkgdir}" install
-}

Copied: mkvtoolnix/repos/extra-i686/PKGBUILD (from rev 141052, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-10-22 16:30:06 UTC (rev 141053)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=mkvtoolnix
+pkgver=5.0.1
+pkgrel=2
+pkgdesc="Set of tools to create, edit and inspect Matroska files"
+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')
+makedepends=('boost' 'ruby')
+install=mkvtoolnix.install
+source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('93fbbe946de6013eca699c0c2a93a4e9')
+
+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
+  rake
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  rake DESTDIR="${pkgdir}" install
+}

Copied: mkvtoolnix/repos/extra-i686/mkvtoolnix.install (from rev 141052, mkvtoolnix/trunk/mkvtoolnix.install)
===================================================================
--- extra-i686/mkvtoolnix.install	                        (rev 0)
+++ extra-i686/mkvtoolnix.install	2011-10-22 16:30:06 UTC (rev 141053)
@@ -0,0 +1,14 @@
+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
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-10-22 16:29:23 UTC (rev 141052)
+++ extra-x86_64/PKGBUILD	2011-10-22 16:30:06 UTC (rev 141053)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=mkvtoolnix
-pkgver=5.0.1
-pkgrel=1
-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=('file' 'boost-libs' 'libmatroska' 'lzo2' 'expat' 'flac' 'libvorbis')
-makedepends=('boost' 'ruby')
-source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('93fbbe946de6013eca699c0c2a93a4e9')
-
-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 \
-              --disable-gui
-  rake
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  rake DESTDIR="${pkgdir}" install
-}

Copied: mkvtoolnix/repos/extra-x86_64/PKGBUILD (from rev 141052, mkvtoolnix/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-10-22 16:30:06 UTC (rev 141053)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=mkvtoolnix
+pkgver=5.0.1
+pkgrel=2
+pkgdesc="Set of tools to create, edit and inspect Matroska files"
+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')
+makedepends=('boost' 'ruby')
+install=mkvtoolnix.install
+source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('93fbbe946de6013eca699c0c2a93a4e9')
+
+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
+  rake
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  rake DESTDIR="${pkgdir}" install
+}

Copied: mkvtoolnix/repos/extra-x86_64/mkvtoolnix.install (from rev 141052, mkvtoolnix/trunk/mkvtoolnix.install)
===================================================================
--- extra-x86_64/mkvtoolnix.install	                        (rev 0)
+++ extra-x86_64/mkvtoolnix.install	2011-10-22 16:30:06 UTC (rev 141053)
@@ -0,0 +1,14 @@
+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