# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # handbrake # handbrake/Makefile # handbrake/pkg-descr # handbrake/distinfo # handbrake/files # handbrake/files/patch-scripts_manicure.rb # handbrake/files/patch-scripts_repo-info.sh # handbrake/files/patch-make_include_main.defs # handbrake/files/patch-libhb_nlmeans.c # handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch # handbrake/files/patch-libhb_nlmeans__x86.c # handbrake/files/patch-scripts_create__resources.py # handbrake/files/patch-scripts_quotestring.py # handbrake/files/patch-test_module.defs # handbrake/files/patch-libhb_module.defs # handbrake/files/patch-make_configure.py # handbrake/files/patch-libhb_fifo.c # handbrake/files/patch-gtk_src_callbacks.c # handbrake/files/patch-gtk_configure.ac # handbrake/files/patch-scripts_mingw-w64-build # handbrake/files/patch-scripts_build-presets.sh # handbrake/files/patch-version.txt # handbrake/files/patch-scripts_mac-toolchain-build # handbrake/files/patch-scripts_tag-release.sh # handbrake/pkg-message # handbrake/pkg-plist # echo c - handbrake mkdir -p handbrake > /dev/null 2>&1 echo x - handbrake/Makefile sed 's/^X//' >handbrake/Makefile << '93d2945fa8992ce641464755ef9d6e79' X# Created by: Andrew Thompson X# $FreeBSD$ X XPORTNAME= handbrake XPORTVERSION= 1.0.3 XCATEGORIES= multimedia XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Versatile DVD ripper and video transcoder X XLICENSE= GPLv2 XLICENSE_FILE= ${WRKSRC}/COPYING X XBUILD_DEPENDS= bash:shells/bash \ X yasm:devel/yasm \ X cmake:devel/cmake XLIB_DEPENDS= libdbus-1.so:devel/dbus \ X libharfbuzz.so:print/harfbuzz \ X libfontconfig.so:x11-fonts/fontconfig \ X libfreetype.so:print/freetype2 \ X libfribidi.so:converters/fribidi \ X libxml2.so:textproc/libxml2 \ X libass.so:multimedia/libass \ X libogg.so:audio/libogg \ X libvorbis.so:audio/libvorbis \ X libvorbisenc.so:audio/libvorbis \ X libtheoradec.so:multimedia/libtheora \ X libtheoraenc.so:multimedia/libtheora \ X libsamplerate.so:audio/libsamplerate \ X libx264.so:multimedia/libx264 \ X libmp3lame.so:audio/lame \ X libopus.so:audio/opus \ X libjansson.so:devel/jansson X XBROKEN_aarch64= Fails to build: invokes x86 asm XBROKEN_armv6= Fails to build: invokes x86 asm X XUSE_GITHUB= yes XXGH_ACCOUNT= HandBrake XXGH_PROJECT= HandBrake X XCONTRIB_FILES= libav-12.tar.gz \ X libbluray-0.9.3.tar.bz2 \ X libdvdnav-5.0.1.tar.bz2 \ X libdvdread-5.0.0-6-gcb1ae87.tar.gz \ X libvpx-1.5.0.tar.bz2 \ X x265_2.1-1.tar.gz XMASTER_SITES+= http://download.handbrake.fr/contrib/:contrib XDISTFILES+= ${CONTRIB_FILES:S/$/:contrib/} X X.if !defined(PACKAGE_BUILDING) X# DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed) XLIB_DEPENDS+= libdvdcss.so:multimedia/libdvdcss X.endif X XGNU_CONFIGURE= yes XUSE_GCC= yes XUSES= autoreconf:build compiler:features gmake iconv \ X libtool:build localbase:ldflags pkgconfig python:build XMAKE_ENV= V=1 X XWRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION} X XCONFIGURE_ARGS= --force XCONFIGURE_TARGET= build X XBUILD_WRKSRC= ${WRKSRC}/build XINSTALL_WRKSRC= ${WRKSRC}/build XMAKEFILE= GNUmakefile XALL_TARGET= # XMAKE_JOBS_UNSAFE= yes X XNOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 X X# Enforce linking to bundled libraries instead of system libraries XLDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib X X# Enforce linking to the system c++ standard lib XLDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//} X XOPTIONS_DEFINE= FDK_AAC X11 X265 XOPTIONS_DEFAULT= X11 X265 X XFDK_AAC_DESC= Enable non-free Fraunhofer FDK AAC codec XX11_DESC= Build GTK+3 based GUI program XX265_DESC= Enable X.265 encoder X XX265_CONFIGURE_ENABLE= x265 X XFDK_AAC_CONFIGURE_ENABLE= fdk-aac XFDK_AAC_VARS= LICENSE+=FDK_AAC LICENSE_COMB=multi XLICENSE_NAME_FDK_AAC= Software License for The Fraunhofer FDK AAC Codec Library for Android XLICENSE_FILE_FDK_AAC= ${BUILD_WRKSRC}/contrib/fdkaac/${DISTFILES:Mfdk*:R:R}/NOTICE XLICENSE_PERMS_FDK_AAC= dist-mirror pkg-mirror auto-accept X X.include X X# Recent GNU binutils are required to handle inline SSSE3 asm (in x264), and X# to support --exclude-libs option for ld(1) when building GUI program X.if ${PORT_OPTIONS:MX11} XBUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils XCONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin XMAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin XLIB_DEPENDS+= libvpx.so:multimedia/libvpx X.endif XMAKE_ENV+=ACLOCAL=${LOCALBASE}/bin/aclocal X X.if ${PORT_OPTIONS:MX11} XCONFIGURE_ARGS+= --disable-gtk-update-checks --disable-gst XLIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib \ X libnotify.so:devel/libnotify XUSES+= gettext XUSE_GNOME+= gtk30 intltool cairo gdkpixbuf2 X.else XCONFIGURE_ARGS+= --disable-gtk X.endif X X# HandBrake tries to fetch its dependencies during build phase, which is not X# considered good in FreeBSD. Instead, we will prepare download files. Xpost-extract: .SILENT X ${MKDIR} ${WRKSRC}/download X.for f in ${CONTRIB_FILES} X ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC}/download X.endfor X X.include 93d2945fa8992ce641464755ef9d6e79 echo x - handbrake/pkg-descr sed 's/^X//' >handbrake/pkg-descr << '73b7cfa33f83a10eb498bd35a1ce4674' XHandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video Xtranscoder with rich selection of features. Both GUI and command-line only Xversions are available. X XSupported sources: X X * Most common multimedia files that libavformat and libavcodec support X * Any DVD or Bluray-like source which is NOT copy-protected (removal of X copy protection is not supported) X XOutputs: X X * File (container) format: MP4 (M4V) and MKV X * Video: H.264 (x264), H.265 (x265), MPEG-2/MPEG-4 (ffmpeg), X or Theora (libtheora) X * Audio: AAC, CoreAudio AAC/HE-AAC (OS X only), MP3, FLAC, AC3, or Vorbis; X AC-3, DTS, DTS-HD, AAC, and MP3 pass-through X XHandBrake also includes support for chapters, subtitles, advanced video Xfilters, and more. It is also useful for making videos compatible with Xportable video devices such as the Apple iPod/iPhone. X XWWW: http://handbrake.fr/ 73b7cfa33f83a10eb498bd35a1ce4674 echo x - handbrake/distinfo sed 's/^X//' >handbrake/distinfo << 'e567e0eb7acc27ea960a0e2ba538e610' XTIMESTAMP = 1490948454 XSHA256 (handbrake/libav-12.tar.gz) = ca5cb22ba660f0bdc47817fdb9d99059a71f9eb0776c68cf8bef769a5ccc7534 XSIZE (handbrake/libav-12.tar.gz) = 7578674 XSHA256 (handbrake/libbluray-0.9.3.tar.bz2) = a6366614ec45484b51fe94fcd1975b3b8716f90f038a33b24d59978de3863ce0 XSIZE (handbrake/libbluray-0.9.3.tar.bz2) = 722686 XSHA256 (handbrake/libdvdnav-5.0.1.tar.bz2) = 72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9 XSIZE (handbrake/libdvdnav-5.0.1.tar.bz2) = 354568 XSHA256 (handbrake/libdvdread-5.0.0-6-gcb1ae87.tar.gz) = d2e4200c3c5d5f812892f9c14851c94e2f707d54e7328946c6397ac999f15f17 XSIZE (handbrake/libdvdread-5.0.0-6-gcb1ae87.tar.gz) = 124494 XSHA256 (handbrake/libvpx-1.5.0.tar.bz2) = 306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797 XSIZE (handbrake/libvpx-1.5.0.tar.bz2) = 1906571 XSHA256 (handbrake/x265_2.1-1.tar.gz) = 88fcb9af4ba52c0757ac9c0d8cd5ec79951a22905ae886897e06954353d6a643 XSIZE (handbrake/x265_2.1-1.tar.gz) = 1036921 XSHA256 (handbrake/handbrake-handbrake-1.0.3_GH0.tar.gz) = 83ae65cb84b0e9356d9fdc6e82cea65c0aef21d33a38f1e77731d66b501e6504 XSIZE (handbrake/handbrake-handbrake-1.0.3_GH0.tar.gz) = 13086610 e567e0eb7acc27ea960a0e2ba538e610 echo c - handbrake/files mkdir -p handbrake/files > /dev/null 2>&1 echo x - handbrake/files/patch-scripts_manicure.rb sed 's/^X//' >handbrake/files/patch-scripts_manicure.rb << '315d352fc3cf73ce740428e709d582e3' X--- scripts/manicure.rb.orig 2017-02-25 20:56:19 UTC X+++ scripts/manicure.rb X@@ -1,4 +1,4 @@ X-#! /usr/bin/ruby X+#! /usr/bin/env ruby X # manincure.rb version 0.66 X X # This file is part of the HandBrake source code. 315d352fc3cf73ce740428e709d582e3 echo x - handbrake/files/patch-scripts_repo-info.sh sed 's/^X//' >handbrake/files/patch-scripts_repo-info.sh << '58d574408ed737933ea865611d6aa247' X--- scripts/repo-info.sh.orig 2017-02-25 20:56:19 UTC X+++ scripts/repo-info.sh X@@ -1,4 +1,4 @@ X-#! /bin/bash X+#!/usr/bin/env bash X # X # Retrieves git repository info for directory ${1} using command ${2} X 58d574408ed737933ea865611d6aa247 echo x - handbrake/files/patch-make_include_main.defs sed 's/^X//' >handbrake/files/patch-make_include_main.defs << '9b89a0d2c446a658ae181d2ad70f112a' X--- make/include/main.defs.orig 2017-02-25 20:56:19 UTC X+++ make/include/main.defs X@@ -134,6 +134,11 @@ ifeq (1-linux,$(FEATURE.gtk)-$(BUILD.sys X MODULES += gtk X endif X X+ifeq (1-freebsd,$(FEATURE.gtk)-$(BUILD.system)) X+ ## build gtk when gtk+freebsd X+ MODULES += gtk X+endif X+ X ifeq (1-kfreebsd,$(FEATURE.gtk)-$(BUILD.system)) X ## build gtk when gtk+kfreebsd X MODULES += gtk 9b89a0d2c446a658ae181d2ad70f112a echo x - handbrake/files/patch-libhb_nlmeans.c sed 's/^X//' >handbrake/files/patch-libhb_nlmeans.c << 'bb1472cad2eaaf87e297d3f2a52dfaed' X--- libhb/nlmeans.c.orig 2017-02-25 20:56:19 UTC X+++ libhb/nlmeans.c X@@ -786,7 +786,7 @@ static int nlmeans_init(hb_filter_object X NLMeansFunctions *functions = &pv->functions; X X functions->build_integral = build_integral_scalar; X-#if defined(ARCH_X86) X+#if defined(ARCH_X86) && defined(__X86_64) X nlmeans_init_x86(functions); X #endif X bb1472cad2eaaf87e297d3f2a52dfaed echo x - handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch sed 's/^X//' >handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch << '6ef2d5562e3e64d57fab7836d9a7bcc8' X--- contrib/libbluray/A02-expose-clip_id.patch.orig 2017-02-25 20:56:19 UTC X+++ contrib/libbluray/A02-expose-clip_id.patch X@@ -35,3 +35,14 @@ index 3cd7118..177b3d4 100644 X -- X 2.5.5 X X+--- Makefile.in.orig 2017-03-25 19:30:14 UTC X++++ Makefile.in 2017-03-25 19:30:36 UTC X+@@ -772,7 +772,7 @@ X+ MOSTLYCLEANFILES = $(DX_CLEANFILES) X+ @ENABLE_UDF_FALSE@POSIX_C_SOURCE = 200112L X+ @ENABLE_UDF_TRUE@POSIX_C_SOURCE = 200809L X+-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT X++SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT -D_XOPEN_SOURCE=700 X+ SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS) X+ AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) \ X+ $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS) \ 6ef2d5562e3e64d57fab7836d9a7bcc8 echo x - handbrake/files/patch-libhb_nlmeans__x86.c sed 's/^X//' >handbrake/files/patch-libhb_nlmeans__x86.c << 'b9707c12b903a4f6b50622881aac84c0' X--- libhb/nlmeans_x86.c.orig 2017-02-25 20:56:19 UTC X+++ libhb/nlmeans_x86.c X@@ -10,7 +10,7 @@ X X #include "hb.h" // needed for ARCH_X86 X X-#if defined(ARCH_X86) X+#if defined(ARCH_X86) && defined(__X86_64) X X #include X b9707c12b903a4f6b50622881aac84c0 echo x - handbrake/files/patch-scripts_create__resources.py sed 's/^X//' >handbrake/files/patch-scripts_create__resources.py << 'f2ec642ac28c0ab92f32662dd1812aa3' X--- scripts/create_resources.py.orig 2017-02-25 20:56:19 UTC X+++ scripts/create_resources.py X@@ -1,4 +1,4 @@ X-#! /usr/bin/python X+#! /usr/bin/env python X # X X import types f2ec642ac28c0ab92f32662dd1812aa3 echo x - handbrake/files/patch-scripts_quotestring.py sed 's/^X//' >handbrake/files/patch-scripts_quotestring.py << 'a95bcbe4b11673b1f7c6cb9db97ef17a' X--- scripts/quotestring.py.orig 2017-02-25 20:56:19 UTC X+++ scripts/quotestring.py X@@ -1,4 +1,4 @@ X-#! /usr/bin/python X+#! /usr/bin/env python X X import re X import getopt a95bcbe4b11673b1f7c6cb9db97ef17a echo x - handbrake/files/patch-test_module.defs sed 's/^X//' >handbrake/files/patch-test_module.defs << 'c7a78ca1206d8e79d149dacffcb48fde' X--- test/module.defs.orig 2017-02-25 20:56:19 UTC X+++ test/module.defs X@@ -13,7 +13,7 @@ TEST.GCC.L = $(CONTRIB.build/)lib X X TEST.libs = $(LIBHB.a) X X-TEST.GCC.l = \ X+TEST.GCC.l = pthread \ X ass avresample avformat avcodec avfilter avutil mp3lame dvdnav \ X dvdread fontconfig fribidi \ X samplerate swscale vpx theoraenc theoradec vorbis vorbisenc ogg x264 \ c7a78ca1206d8e79d149dacffcb48fde echo x - handbrake/files/patch-libhb_module.defs sed 's/^X//' >handbrake/files/patch-libhb_module.defs << 'f7d54a9f41a3063d9c4e0cc686d4d9c0' X--- libhb/module.defs.orig 2017-02-25 20:56:19 UTC X+++ libhb/module.defs X@@ -47,7 +47,7 @@ LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB X ifneq (,$(filter $(BUILD.system),darwin cygwin mingw)) X LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2 X else X-LIBHB.GCC.I += /usr/include/libxml2 X+LIBHB.GCC.I += /usr/local/include/libxml2 X endif X X ifeq ($(BUILD.system),cygwin) X@@ -58,6 +58,8 @@ else ifeq ($(BUILD.system),darwin) X LIBHB.m += $(wildcard $(LIBHB.src/)platform/macosx/*.m) X else ifeq ($(BUILD.system),linux) X LIBHB.GCC.D += SYS_LINUX _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 X+else ifeq ($(BUILD.system),freebsd) X+ LIBHB.GCC.D += SYS_FREEBSD _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 X else ifeq ($(BUILD.system),mingw) X LIBHB.GCC.D += SYS_MINGW X ifneq ($(HAS.pthread),1) X@@ -188,4 +190,8 @@ endif X X ############################################################################### X X+ifeq ($(HAS.pthread),1) X+ LIBHB.GCC.l += pthread X+endif X+ X BUILD.out += $(LIBHB.out) f7d54a9f41a3063d9c4e0cc686d4d9c0 echo x - handbrake/files/patch-make_configure.py sed 's/^X//' >handbrake/files/patch-make_configure.py << '16b87595adc3efccfa9747fa96a09d95' X--- make/configure.py.orig 2017-02-25 20:56:19 UTC X+++ make/configure.py X@@ -590,6 +590,9 @@ class ArchAction( Action ): X pass X elif host.match( '*-*-solaris*' ): X pass X+ elif host.match( '*-*-freebsd.*' ): X+ self.mode['i386'] = 'i386-portsbuild-freebsd%s' % (host.release) X+ self.mode['amd64'] = 'amd64-portsbuild-freebsd%s' % (host.release) X else: X self.msg_pass = 'WARNING' X X@@ -1294,13 +1297,13 @@ def createCLI(): X h = IfHost( 'enable assembly code in non-contrib modules', 'NOMATCH*-*-darwin*', 'NOMATCH*-*-linux*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--enable-asm', default=False, action='store_true', help=h ) X X- h = IfHost( 'disable GTK GUI', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value X+ h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--disable-gtk', default=False, action='store_true', help=h ) X- h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value X+ h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--disable-gtk-update-checks', default=False, action='store_true', help=h ) X h = IfHost( 'enable GTK GUI (mingw)', '*-*-mingw*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--enable-gtk-mingw', default=False, action='store_true', help=h ) X- h = IfHost( 'disable gstreamer (live preview)', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value X+ h = IfHost( 'disable gstreamer (live preview)', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--disable-gst', default=False, action='store_true', help=h ) X h = IfHost( 'enable use of Intel Quick Sync Video hardware acceleration', '*-*-*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--enable-qsv', default=False, action='store_true', help=h ) X@@ -1352,7 +1355,7 @@ def createCLI(): X h = IfHost( 'Build and use local pkg-config', '*-*-darwin*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--enable-local-pkgconfig', default=False, action='store_true', help=h ) X X- h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value X+ h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value X grp.add_option( '--flatpak', default=False, action='store_true', help=h ) X cli.add_option_group( grp ) X X@@ -1924,10 +1927,15 @@ int main() X doc.add( 'GCC.sysroot', '' ) X doc.add( 'GCC.minver', '' ) X X+ if build.match( '*-*-freebsd*' ): X+ doc.add( 'HAS.pthread', 1 ) X+ X if build.match( 'i?86-*' ): X doc.add( 'LIBHB.GCC.D', 'ARCH_X86_32', append=True ) X elif build.match( 'x86_64-*' ): X doc.add( 'LIBHB.GCC.D', 'ARCH_X86_64', append=True ) X+ elif build.match( 'amd64-*' ): X+ doc.add( 'LIBHB.GCC.D', 'ARCH_X86_64', append=True ) X X if options.enable_asm and ( not Tools.yasm.fail or options.enable_local_yasm ): X asm = '' X@@ -1940,7 +1948,7 @@ int main() X else: X doc.add( 'LIBHB.YASM.f', 'elf32' ) X doc.add( 'LIBHB.YASM.m', 'x86' ) X- elif build.match( 'x86_64-*' ): X+ elif build.match( 'x86_64-*' ) or build.match( 'amd64-*' ): X asm = 'x86' X doc.add( 'LIBHB.GCC.D', 'HAVE_MMX ARCH_X86_64', append=True ) X if build.match( '*-*-darwin*' ): 16b87595adc3efccfa9747fa96a09d95 echo x - handbrake/files/patch-libhb_fifo.c sed 's/^X//' >handbrake/files/patch-libhb_fifo.c << 'bbdb4ec828ade7c47151a306d8c7dbc3' X--- libhb/fifo.c.orig 2017-02-25 20:56:19 UTC X+++ libhb/fifo.c X@@ -13,7 +13,7 @@ X #include "qsv_libav.h" X #endif X X-#ifndef SYS_DARWIN X+#if !defined(SYS_DARWIN) && !defined(SYS_FREEBSD) X #include X #endif X bbdb4ec828ade7c47151a306d8c7dbc3 echo x - handbrake/files/patch-gtk_src_callbacks.c sed 's/^X//' >handbrake/files/patch-gtk_src_callbacks.c << '8abcdbdf73a1bcff0dfa52da4ead44e8' X--- gtk/src/callbacks.c.orig 2017-02-25 20:56:19 UTC X+++ gtk/src/callbacks.c X@@ -46,6 +46,9 @@ X #include X #include X X+#if defined( __FreeBSD__ ) X+#include X+#endif X #include X #include X X@@ -5537,4 +5540,3 @@ void ghb_container_empty(GtkContainer *c X { X gtk_container_foreach(c, container_empty_cb, NULL); X } X- 8abcdbdf73a1bcff0dfa52da4ead44e8 echo x - handbrake/files/patch-gtk_configure.ac sed 's/^X//' >handbrake/files/patch-gtk_configure.ac << '83f1f74cf944e43133f1d869e70bd3d4' X--- gtk/configure.ac.orig 2017-02-25 20:56:19 UTC X+++ gtk/configure.ac X@@ -182,6 +182,9 @@ case $host in X fi X HB_LIBS="$HB_LIBS -lregex -luuid" X ;; X+ *-*-freebsd*) X+ HB_LIBS="$HB_LIBS -lpthread" X+ ;; X *) X HB_LIBS="$HB_LIBS -ldl -lpthread" X ;; 83f1f74cf944e43133f1d869e70bd3d4 echo x - handbrake/files/patch-scripts_mingw-w64-build sed 's/^X//' >handbrake/files/patch-scripts_mingw-w64-build << '673bd0222752d9b3b05b8c0613ec1080' X--- scripts/mingw-w64-build.orig 2017-02-25 20:56:19 UTC X+++ scripts/mingw-w64-build X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/usr/bin/env bash X # mingw-w64-build - download and build mingw-w64 toolchain X # X # Project: https://github.com/bradleysepos/mingw-w64-build 673bd0222752d9b3b05b8c0613ec1080 echo x - handbrake/files/patch-scripts_build-presets.sh sed 's/^X//' >handbrake/files/patch-scripts_build-presets.sh << '208ca3c7841699abcf5028cafaa489e7' X--- scripts/build-presets.sh.orig 2017-02-25 20:56:19 UTC X+++ scripts/build-presets.sh X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/usr/bin/env bash X # usage: build-presets X X SELF="${BASH_SOURCE[0]}" 208ca3c7841699abcf5028cafaa489e7 echo x - handbrake/files/patch-version.txt sed 's/^X//' >handbrake/files/patch-version.txt << '0d236c8c6e0f0219babaf98d257180d8' X--- version.txt.orig 2017-03-29 00:53:31 UTC X+++ version.txt X@@ -0,0 +1,9 @@ X+URL=https://github.com/HandBrake/HandBrake.git X+HASH=5ecc600a805c6dc2632f4ca6d3beb4fbb8cbefd0 X+SHORTHASH=5ecc600 X+TAG=1.0.3 X+TAG_HASH=5ecc600a805c6dc2632f4ca6d3beb4fbb8cbefd0 X+REV=0 X+BRANCH= X+REMOTE=https://github.com/HandBrake/HandBrake.git X+DATE=2017-02-25 15:56:19 -0500 0d236c8c6e0f0219babaf98d257180d8 echo x - handbrake/files/patch-scripts_mac-toolchain-build sed 's/^X//' >handbrake/files/patch-scripts_mac-toolchain-build << '5b32ca3a182dc231a0d9478681355739' X--- scripts/mac-toolchain-build.orig 2017-02-25 20:56:19 UTC X+++ scripts/mac-toolchain-build X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/usr/bin/env bash X X # mac only X if [[ "$(uname)" != "Darwin" ]]; then 5b32ca3a182dc231a0d9478681355739 echo x - handbrake/files/patch-scripts_tag-release.sh sed 's/^X//' >handbrake/files/patch-scripts_tag-release.sh << '1fc84f128a4bd25df5ca4d8541d1dc59' X--- scripts/tag-release.sh.orig 2017-02-25 20:56:19 UTC X+++ scripts/tag-release.sh X@@ -1,4 +1,4 @@ X-#! /bin/bash X+#!/usr/bin/env bash X # X # Usage: tag-release.sh [] X # 1fc84f128a4bd25df5ca4d8541d1dc59 echo x - handbrake/pkg-message sed 's/^X//' >handbrake/pkg-message << 'c53471ab5a84a0ba96ff60d0cca480de' X XGUI command name has changed to "ghb". X XBecause original Handbrake project uses this name Xfor command name, message filenames, icon images, and GUI launcher. XIn the past, "HandBrake" was renamed from "ghb" by FreeBSD port. X XCUI command name is "HandBrakeCLI". c53471ab5a84a0ba96ff60d0cca480de echo x - handbrake/pkg-plist sed 's/^X//' >handbrake/pkg-plist << '42f16c5967eed60f1bd2a244c6ee6c71' Xbin/HandBrakeCLI Xbin/ghb Xshare/applications/ghb.desktop Xshare/icons/hicolor/scalable/apps/hb-icon.svg Xshare/locale/cs/LC_MESSAGES/ghb.mo Xshare/locale/da/LC_MESSAGES/ghb.mo Xshare/locale/de/LC_MESSAGES/ghb.mo Xshare/locale/es/LC_MESSAGES/ghb.mo Xshare/locale/fr/LC_MESSAGES/ghb.mo Xshare/locale/it_IT/LC_MESSAGES/ghb.mo Xshare/locale/ja_JP/LC_MESSAGES/ghb.mo Xshare/locale/ko/LC_MESSAGES/ghb.mo Xshare/locale/no/LC_MESSAGES/ghb.mo Xshare/locale/pt_BR/LC_MESSAGES/ghb.mo Xshare/locale/ro_RO/LC_MESSAGES/ghb.mo Xshare/locale/ru/LC_MESSAGES/ghb.mo Xshare/locale/th/LC_MESSAGES/ghb.mo Xshare/locale/zh_CN/LC_MESSAGES/ghb.mo 42f16c5967eed60f1bd2a244c6ee6c71 exit