handbrake: update to 1.6.1
This commit is contained in:
parent
79940718d6
commit
4c2319921b
|
@ -1,14 +1,15 @@
|
|||
--- a/gtk/configure.ac
|
||||
+++ b/gtk/configure.ac
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
|
||||
AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])
|
||||
|
||||
-HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg"
|
||||
+HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg -ldl"
|
||||
|
||||
-HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg -lSvtAv1Enc"
|
||||
+HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg -lSvtAv1Enc -ldl"
|
||||
HB_CPPFLAGS="$HB_CPPFLAGS $HBINC"
|
||||
|
||||
|
||||
PKG_CHECK_MODULES([x264], [x264], sys_x264=yes, sys_x264=no)
|
||||
|
||||
--- a/test/module.defs
|
||||
+++ b/test/module.defs
|
||||
@@ -69,6 +69,9 @@
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
--- a/libhb/module.defs 2023-01-22 11:36:49.000000000 -0500
|
||||
+++ b/libhb/module.defs 2023-04-03 22:37:52.395467010 -0400
|
||||
@@ -46,11 +46,7 @@
|
||||
LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB.build/)include
|
||||
|
||||
ifeq (1,$(FEATURE.qsv))
|
||||
- ifeq ($(HOST.system),freebsd))
|
||||
- LIBHB.GCC.I += $(LOCALBASE)/include/vpl
|
||||
- else
|
||||
- LIBHB.GCC.I += $(CONTRIB.build/)include/vpl
|
||||
- endif
|
||||
+ LIBHB.GCC.I += /usr/include/vpl
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(HOST.system),freebsd netbsd openbsd))
|
|
@ -1,19 +1,20 @@
|
|||
# Template file for 'handbrake'
|
||||
pkgname=handbrake
|
||||
version=1.5.1
|
||||
version=1.6.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--force --disable-gtk-update-checks --disable-df-fetch --harden
|
||||
$(vopt_enable fdk_aac fdk-aac) $(vopt_enable nvenc)"
|
||||
$(vopt_enable fdk_aac fdk-aac) $(vopt_enable nvenc) $(vopt_enable qsv)"
|
||||
make_build_args="-C ${XBPS_TRIPLET}"
|
||||
make_install_args="-C ${XBPS_TRIPLET}"
|
||||
hostmakedepends="automake cmake gettext-devel glib-devel intltool libtool m4 meson nasm pkg-config python3"
|
||||
makedepends="bzip2-devel ffmpeg-devel gst-plugins-base1-devel gtk+3-devel
|
||||
makedepends="bzip2-devel ffmpeg6-devel gst-plugins-base1-devel gtk+3-devel
|
||||
jansson-devel lame-devel libass-devel libbluray-devel libdav1d-devel
|
||||
libdvdnav-devel libdvdread-devel libgudev-devel libnuma-devel
|
||||
libsamplerate-devel libtheora-devel libvorbis-devel libvpx-devel libxml2-devel
|
||||
opus-devel speex-devel x264-devel x265-devel zimg-devel
|
||||
opus-devel speex-devel x264-devel x265-devel zimg-devel libsvt-av1-devel
|
||||
$(vopt_if fdk_aac fdk-aac-devel)
|
||||
$(vopt_if qsv 'libva-devel libdrm-devel oneVPL-devel')
|
||||
$(vopt_if nvenc nv-codec-headers)"
|
||||
depends="desktop-file-utils gst-plugins-good1 hicolor-icon-theme"
|
||||
short_desc="Multithreaded video transcoder"
|
||||
|
@ -21,15 +22,15 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
|||
license="GPL-2.0-only"
|
||||
homepage="https://handbrake.fr/"
|
||||
distfiles="https://github.com/HandBrake/HandBrake/releases/download/${version}/HandBrake-${version}-source.tar.bz2"
|
||||
checksum=3999fe06d5309c819799a73a968a8ec3840e7840c2b64af8f5cdb7fd8c9430f0
|
||||
checksum=94ccfe03db917a91650000c510f7fd53f844da19f19ad4b4be1b8f6bc31a8d4c
|
||||
nocross=yes
|
||||
|
||||
build_options="fdk_aac nvenc"
|
||||
build_options="fdk_aac nvenc qsv"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|i686*)
|
||||
CFLAGS="-msse"
|
||||
build_options_default="nvenc"
|
||||
build_options_default="nvenc qsv"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -37,7 +38,7 @@ pre_configure() {
|
|||
# use system libraries, don't download them
|
||||
rm -rf contrib/
|
||||
for module in fdk-aac ffmpeg libbluray libdav1d libdvdnav libdvdread nvenc \
|
||||
x265 zimg; do
|
||||
x265 zimg svt-av1 libvpl; do
|
||||
vsed -i "/MODULES += contrib\/${module}/d" make/include/main.defs
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue