Update to handbrake-1.3.2

Downloads moved to GitHub
Changelog: https://github.com/HandBrake/HandBrake/releases/tag/1.3.2
This commit is contained in:
bcallah 2020-05-20 14:57:18 +00:00
parent 37b1b45532
commit d0bd6056e7
4 changed files with 13 additions and 15 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.7 2020/02/01 01:03:50 bcallah Exp $
# $OpenBSD: Makefile,v 1.8 2020/05/20 14:57:18 bcallah Exp $
V = 1.3.1
V = 1.3.2
COMMENT = open source video transcoder
DISTNAME = HandBrake-${V}-source
PKGNAME = handbrake-${V}
@ -27,7 +27,7 @@ WANTLIB += png postproc speex ssl swresample swscale theoradec
WANTLIB += theoraenc vorbis vorbisenc vpx x264 x265 xcb xcb-render
WANTLIB += xcb-shm xml2 xvidcore z
MASTER_SITES = https://download.handbrake.fr/releases/${V}/
MASTER_SITES = https://github.com/HandBrake/HandBrake/releases/download/${V}/
COMPILER = base-clang ports-gcc

View File

@ -1,2 +1,2 @@
SHA256 (HandBrake-1.3.1-source.tar.bz2) = wAXemTr0Ejuru2D30S9v9G+37qJv8KNVYDRoOQHOLCc=
SIZE (HandBrake-1.3.1-source.tar.bz2) = 16815767
SHA256 (HandBrake-1.3.2-source.tar.bz2) = 7G/rqX9CbVRexWzxRy6uV5XXaLwa7FbCO7dvxrLs8nA=
SIZE (HandBrake-1.3.2-source.tar.bz2) = 16813741

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-gtk_configure_ac,v 1.3 2020/02/01 01:03:51 bcallah Exp $
$OpenBSD: patch-gtk_configure_ac,v 1.4 2020/05/20 14:57:18 bcallah Exp $
Get the proper library directory for -lhandbrake.
No -ldl on OpenBSD.
@ -16,7 +16,7 @@ Index: gtk/configure.ac
PKG_CHECK_MODULES([x264], [x264], sys_x264=yes, sys_x264=no)
@@ -236,6 +236,9 @@ case $host in
HB_LIBS="$HB_LIBS -lbcrypt -lregex -luuid"
HB_LIBS="$HB_LIBS -lbcrypt -lregex -luuid -lole32"
;;
*-*-freebsd*)
+ HB_LIBS="$HB_LIBS -lpthread"

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-make_configure_py,v 1.2 2019/12/16 17:23:58 bcallah Exp $
$OpenBSD: patch-make_configure_py,v 1.3 2020/05/20 14:57:18 bcallah Exp $
Add OpenBSD to the configure args we need.
Do not look for CMake; we don't need it.
@ -60,24 +60,22 @@ Index: make/configure.py
python = ToolProbe( 'PYTHON.exe', 'python', os.path.basename(sys.executable), abort=True )
gcc_tools = ['GCC.gcc',
@@ -1602,16 +1601,10 @@ try:
@@ -1602,14 +1601,9 @@ try:
else:
gmake = ToolProbe( 'GMAKE.exe', 'make', 'gmake', 'make', abort=True )
- autoconf = ToolProbe( 'AUTOCONF.exe', 'autoconf', 'autoconf', abort=True, minversion=[2,69,0] )
- automake = ToolProbe( 'AUTOMAKE.exe', 'automake', 'automake', abort=True, minversion=[1,15,0] )
- automake = ToolProbe( 'AUTOMAKE.exe', 'automake', 'automake', abort=True, minversion=[1,13,0] )
libtool = ToolProbe( 'LIBTOOL.exe', 'libtool', 'libtool', abort=True )
lipo = ToolProbe( 'LIPO.exe', 'lipo', 'lipo', abort=False )
pkgconfig = ToolProbe( 'PKGCONFIG.exe', 'pkgconfig', 'pkg-config', abort=True, minversion=[0,29,0] )
pkgconfig = ToolProbe( 'PKGCONFIG.exe', 'pkgconfig', 'pkg-config', abort=True, minversion=[0,27,0] )
- meson = ToolProbe( 'MESON.exe', 'meson', 'meson', abort=True, minversion=[0,47,0] )
- nasm = ToolProbe( 'NASM.exe', 'asm', 'nasm', abort=True, minversion=[2,13,0] )
- ninja = ToolProbe( 'NINJA.exe', 'ninja', 'ninja-build', 'ninja', abort=True )
-
xcodebuild = ToolProbe( 'XCODEBUILD.exe', 'xcodebuild', 'xcodebuild', abort=(True if (build_tuple.match('*-*-darwin*') and cross is None) else False), versionopt='-version', minversion=[10,3,0] )
## run tool probes
@@ -1696,12 +1689,6 @@ try:
@@ -1695,12 +1689,6 @@ try:
if options.flatpak or host_tuple.match('*-*-darwin*', '*-*-mingw'):
# Requires Jansson which requires CMake 3.1.0 or later
Tools.cmake = ToolProbe('CMAKE.exe', 'cmake', 'cmake', abort=True, minversion=[3,1,0])