From a9d479f138e002f24be0600918bbbdfcdbb025e0 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Thu, 16 Apr 2015 09:32:54 +0300 Subject: [PATCH] HandBrake: bump version --- media-video/handbrake/handbrake-0.10.1.recipe | 111 ++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 media-video/handbrake/handbrake-0.10.1.recipe diff --git a/media-video/handbrake/handbrake-0.10.1.recipe b/media-video/handbrake/handbrake-0.10.1.recipe new file mode 100644 index 000000000..ec7b94712 --- /dev/null +++ b/media-video/handbrake/handbrake-0.10.1.recipe @@ -0,0 +1,111 @@ +SUMMARY="A tool to convert video from nearly any format to modern codecs." +DESCRIPTION="Handbrake is an open-source, GPL-licensed, multiplatform, \ +multithreaded video transcoder. +Convert from many common multimedia file formats, including unprotected \ +DVD or BluRay sources to a handful of modern output file formats. +" +HOMEPAGE="http://www.handbrake.fr" +LICENSE="GNU GPL v2" +COPYRIGHT="2003-2015 HandBrake Team" +REVISION="1" +SRC_URI="https://handbrake.fr/rotation.php?file=HandBrake-$portVersion.tar.bz2" +SRC_FILENAME="HandBrake-$portVersion.tar.bz2" +CHECKSUM_SHA256="7ea42031fd4d5efd04903a9aae79c952c50fd43b6f7bf08fd1a93f6b358a23f5" +SOURCE_DIR="HandBrake-$portVersion" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PATCHES="handbrake-0.10.0.patchset" + +PROVIDES=" + handbrake$secondaryArchSuffix = $portVersion + cmd:HandBrakeCLI + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:liba52$secondaryArchSuffix + lib:libavcodec$secondaryArchSuffix + lib:libmpeg2$secondaryArchSuffix + lib:libmp4v2$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + lib:libtheora$secondaryArchSuffix + lib:libbluray$secondaryArchSuffix + lib:libdvdnav$secondaryArchSuffix + lib:libdvdread$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libsamplerate$secondaryArchSuffix + lib:libmkv$secondaryArchSuffix + lib:libmp3lame$secondaryArchSuffix + lib:libass$secondaryArchSuffix + lib:libx264$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + lib:libvpx$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libfontconfig$secondaryArchSuffix + lib:libfribidi$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libz$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libstdc++$secondaryArchSuffix + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:liba52$secondaryArchSuffix + devel:libavcodec$secondaryArchSuffix + devel:libmpeg2$secondaryArchSuffix + devel:libmp4v2$secondaryArchSuffix + devel:libogg$secondaryArchSuffix + devel:libtheora$secondaryArchSuffix + devel:libbluray$secondaryArchSuffix + devel:libdvdnav$secondaryArchSuffix + devel:libdvdread$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libsamplerate$secondaryArchSuffix + devel:libmkv$secondaryArchSuffix + devel:libmp3lame$secondaryArchSuffix + devel:libass$secondaryArchSuffix + devel:libx264$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix + devel:libvpx$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libfontconfig$secondaryArchSuffix + devel:libfribidi$secondaryArchSuffix + devel:libbz2$secondaryArchSuffix + devel:libz$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:libtoolize + cmd:autoconf + cmd:automake + #cmd:yasm + cmd:patch + cmd:python + cmd:m4 + cmd:tar +" + +PATCH() +{ + sed -i 's/MODULES += contrib\/.*//g' make/include/main.defs +} + +BUILD() +{ + cp make/variant/linux.defs make/variant/haiku.defs + + ./configure --prefix=$prefix --force --disable-x265 + cd build + make +} + +INSTALL() +{ + cd build + make install + + #addResourcesToBinaries handbrake.rdef $binDir/HandBrake + #addAppDeskbarSymlink $binDir/HandBrake "HandBrake" +}