mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
mkvtoolnix: update to 9.8.0
This commit is contained in:
parent
5144773dc5
commit
9d429bf670
@ -1,6 +1,6 @@
|
|||||||
pkgbase=mkvtoolnix
|
pkgbase=mkvtoolnix
|
||||||
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
|
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
|
||||||
pkgver=9.7.0
|
pkgver=9.8.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Set of tools to create, edit and inspect Matroska files."
|
pkgdesc="Set of tools to create, edit and inspect Matroska files."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -15,7 +15,7 @@ makedepends=('flac' 'libmatroska' 'libogg' 'libvorbis' 'qt5-base' 'xdg-utils' 'l
|
|||||||
'zlib' 'boost-libs' 'expat' 'boost' 'ruby')
|
'zlib' 'boost-libs' 'expat' 'boost' 'ruby')
|
||||||
categories=('multimedia')
|
categories=('multimedia')
|
||||||
source=("http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.xz")
|
source=("http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.xz")
|
||||||
sha256sums=('8a10d93f512ff84a42bf8244759bc65257a527604a4be0a696e9853a7403043a')
|
sha256sums=('494b2fb9ff83a858d8849baecdd3320456717923bb7a854d31a02a49640228db')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
@ -27,9 +27,6 @@ prepare() {
|
|||||||
export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=3"
|
export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=3"
|
||||||
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=3"
|
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=3"
|
||||||
|
|
||||||
# Sets number of threads for a parallel build
|
|
||||||
export DRAKETHREADS=4
|
|
||||||
|
|
||||||
autoreconf -vfi
|
autoreconf -vfi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,12 +36,12 @@ build() {
|
|||||||
./configure --prefix='/usr' \
|
./configure --prefix='/usr' \
|
||||||
--without-curl \
|
--without-curl \
|
||||||
--disable-qt
|
--disable-qt
|
||||||
./drake apps:mkvinfo $MAKEFLAGS
|
rake apps:mkvinfo $MAKEFLAGS
|
||||||
mv src/mkvinfo{,-cli}
|
mv src/mkvinfo{,-cli}
|
||||||
|
|
||||||
./configure --prefix='/usr' \
|
./configure --prefix='/usr' \
|
||||||
--without-curl
|
--without-curl
|
||||||
./drake $MAKEFLAGS
|
rake $MAKEFLAGS
|
||||||
}
|
}
|
||||||
|
|
||||||
package_mkvtoolnix-cli() {
|
package_mkvtoolnix-cli() {
|
||||||
@ -56,7 +53,7 @@ package_mkvtoolnix-cli() {
|
|||||||
|
|
||||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
|
|
||||||
./drake DESTDIR="${pkgdir}" install
|
rake DESTDIR="${pkgdir}" install
|
||||||
install -m 755 src/mkvinfo-cli "${pkgdir}"/usr/bin/mkvinfo
|
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}
|
||||||
find "${pkgdir}" -name mkvtoolnix-gui* -delete
|
find "${pkgdir}" -name mkvtoolnix-gui* -delete
|
||||||
@ -69,7 +66,7 @@ package_mkvtoolnix-gui() {
|
|||||||
|
|
||||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||||
|
|
||||||
./drake DESTDIR="${pkgdir}" install
|
rake DESTDIR="${pkgdir}" install
|
||||||
rm -rf "${pkgdir}"/usr/share/locale
|
rm -rf "${pkgdir}"/usr/share/locale
|
||||||
for t in mkv{extract,info,merge,propedit}; do
|
for t in mkv{extract,info,merge,propedit}; do
|
||||||
find "${pkgdir}" -name $t* -delete
|
find "${pkgdir}" -name $t* -delete
|
||||||
|
Loading…
Reference in New Issue
Block a user