ccextractor: update to 0.85

Closes: #9128 [via git-merge-pr]
This commit is contained in:
Styrsven 2017-11-12 18:11:01 +01:00 committed by Jürgen Buchmüller
parent 7d4dd3f9d1
commit daeeff7aa8
2 changed files with 13 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'ccextractor' # Template file for 'ccextractor'
pkgname=ccextractor pkgname=ccextractor
version=0.84 version=0.85
revision=1 revision=1
wrksrc=${pkgname} wrksrc=${pkgname}
hostmakedepends="unzip" hostmakedepends="unzip"
@ -9,19 +9,23 @@ short_desc="Extract subtitles from video"
maintainer="Styrsven <sven.a.jonsson@bahnhof.se>" maintainer="Styrsven <sven.a.jonsson@bahnhof.se>"
license="GPL-2" license="GPL-2"
homepage="http://www.ccextractor.org/doku.php" homepage="http://www.ccextractor.org/doku.php"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}.src.${version}.zip" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-full.${version}.zip"
checksum=8825849021fd8bfaa99ea63fc3c7e3f442b54450a1e50e93bf8b51627ebe60a7 checksum=557f6dcae751598fb2f9c5e98b5407ddd3f6eaca61b5769df881b8155149bae8
case "$XBPS_TARGET_MACHINE" in
aarch64*) broken="libpng missing png_init_filter_functions_neon" ;;
esac
do_build() {
cd ${wrksrc}/linux
make ${makejobs} CC=$CC LDFLAGS="$LDFLAGS"
}
post_extract() { post_extract() {
sed -i -e 's/\(^LDFLAGS \)=\(.*$\)/\1+=\2/' \ sed -i -e 's/\(^LDFLAGS \)=\(.*$\)/\1+=\2/' \
-e 's/\(^CFLAGS \)=\(.*$\)/\1+=\2/' linux/Makefile -e 's/\(^CFLAGS \)=\(.*$\)/\1+=\2/' linux/Makefile
} }
do_build() {
pushd linux
make CC=${CC}
popd
}
do_install() { do_install() {
vbin linux/ccextractor vbin linux/ccextractor
for i in docs/*; do for i in docs/*; do

View File

@ -1 +1 @@
pattern='\.src\.\K[\d.]+(?=.zip)' pattern='(?(?=\-)\-src\-full|\.src)\.\K[\d.]+(?=.zip)'