summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-27 22:47:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-27 22:47:32 (GMT)
commitff25f261e03e920bb8401c9ee52b4ac8cbd02b12 (patch)
tree41d5058cf9f45bdae3300ed9db24445bec8ae468 /abs
parent137d9fdd88d93ae38ebdbd3f4bcbbceb865107dd (diff)
downloadlinhes_pkgbuild-ff25f261e03e920bb8401c9ee52b4ac8cbd02b12.zip
linhes_pkgbuild-ff25f261e03e920bb8401c9ee52b4ac8cbd02b12.tar.gz
linhes_pkgbuild-ff25f261e03e920bb8401c9ee52b4ac8cbd02b12.tar.bz2
mkvtoolnix: update to 21.0.0
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/mkvtoolnix/PKGBUILD40
-rw-r--r--abs/extra/mkvtoolnix/mkvtoolnix-gui.install15
2 files changed, 20 insertions, 35 deletions
diff --git a/abs/extra/mkvtoolnix/PKGBUILD b/abs/extra/mkvtoolnix/PKGBUILD
index 2a8ff55..2739c09 100644
--- a/abs/extra/mkvtoolnix/PKGBUILD
+++ b/abs/extra/mkvtoolnix/PKGBUILD
@@ -5,29 +5,31 @@
pkgbase=mkvtoolnix
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
-pkgver=9.1.0
-pkgrel=3
+pkgver=21.0.0
+pkgrel=1
pkgdesc='Set of tools to create, edit and inspect Matroska files'
-arch=('i686' 'x86_64')
+arch=('x86_64')
url='https://www.bunkus.org/videotools/mkvtoolnix/'
license=('GPL')
-makedepends=('boost' 'boost-libs' 'file' 'flac' 'libebml' 'libmatroska'
- 'libogg' 'libvorbis' 'qt5-base' 'ruby' 'zlib')
+makedepends=('boost' 'boost-libs' 'cmark' 'docbook-xsl' 'file' 'flac' 'libebml'
+ 'libmatroska' 'libogg' 'libvorbis' 'qt5-multimedia' 'ruby-rake'
+ 'zlib')
source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz")
-md5sums=('7eafd6f5a9affd35f9cbf607d8ccf9b3')
+sha256sums=('ad6d1d0ba40b153c155d5b26425e88531b24bb9969bac0341040e48cbb77c391')
build() {
cd mkvtoolnix-${pkgver}
- ./configure --prefix='/usr' \
- --without-curl \
- --disable-qt
- ./drake apps:mkvinfo $MAKEFLAGS
+ ./configure \
+ --prefix='/usr' \
+ --disable-qt
+ rake apps:mkvinfo $MAKEFLAGS
mv src/mkvinfo{,-cli}
- ./configure --prefix='/usr' \
- --without-curl
- ./drake $MAKEFLAGS
+ ./configure \
+ --prefix='/usr' \
+ --disable-update-check
+ rake $MAKEFLAGS
}
package_mkvtoolnix-cli() {
@@ -36,21 +38,19 @@ package_mkvtoolnix-cli() {
cd mkvtoolnix-${pkgver}
- ./drake DESTDIR="${pkgdir}" install
+ rake DESTDIR="${pkgdir}" install
install -m 755 src/mkvinfo-cli "${pkgdir}"/usr/bin/mkvinfo
- rm -rf "${pkgdir}"/usr/share/{applications,icons,mime}
+ rm -rf "${pkgdir}"/usr/share/{applications,icons,mime,mkvtoolnix}
find "${pkgdir}" -name mkvtoolnix-gui* -delete
}
package_mkvtoolnix-gui() {
- depends=('desktop-file-utils' 'hicolor-icon-theme' 'mkvtoolnix-cli'
- 'qt5-base' 'shared-mime-info' 'xdg-utils')
- replaces=('mkvtoolnix-gtk')
- install='mkvtoolnix-gui.install'
+ depends=('cmark' 'hicolor-icon-theme' 'mkvtoolnix-cli' 'qt5-base'
+ 'qt5-multimedia')
cd mkvtoolnix-${pkgver}
- ./drake DESTDIR="${pkgdir}" install
+ rake DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/share/locale
for t in mkv{extract,info,merge,propedit}; do
find "${pkgdir}" -name $t* -delete
diff --git a/abs/extra/mkvtoolnix/mkvtoolnix-gui.install b/abs/extra/mkvtoolnix/mkvtoolnix-gui.install
deleted file mode 100644
index ec2cf43..0000000
--- a/abs/extra/mkvtoolnix/mkvtoolnix-gui.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-mime-database /usr/share/mime &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- post_install
-}
-
-# vim: ts=2 sw=2 et: