parent
7d4dd3f9d1
commit
daeeff7aa8
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'ccextractor'
|
||||
pkgname=ccextractor
|
||||
version=0.84
|
||||
version=0.85
|
||||
revision=1
|
||||
wrksrc=${pkgname}
|
||||
hostmakedepends="unzip"
|
||||
|
@ -9,19 +9,23 @@ short_desc="Extract subtitles from video"
|
|||
maintainer="Styrsven <sven.a.jonsson@bahnhof.se>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.ccextractor.org/doku.php"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}.src.${version}.zip"
|
||||
checksum=8825849021fd8bfaa99ea63fc3c7e3f442b54450a1e50e93bf8b51627ebe60a7
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-full.${version}.zip"
|
||||
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() {
|
||||
sed -i -e 's/\(^LDFLAGS \)=\(.*$\)/\1+=\2/' \
|
||||
-e 's/\(^CFLAGS \)=\(.*$\)/\1+=\2/' linux/Makefile
|
||||
}
|
||||
|
||||
do_build() {
|
||||
pushd linux
|
||||
make CC=${CC}
|
||||
popd
|
||||
}
|
||||
do_install() {
|
||||
vbin linux/ccextractor
|
||||
for i in docs/*; do
|
||||
|
|
|
@ -1 +1 @@
|
|||
pattern='\.src\.\K[\d.]+(?=.zip)'
|
||||
pattern='(?(?=\-)\-src\-full|\.src)\.\K[\d.]+(?=.zip)'
|
||||
|
|
Loading…
Reference in New Issue