mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
handbrake: bump revision, miscellaneous minor changes.
* Revision bump required after the update of libass. * Drop unneeded SOURCE_FILENAME. * Fix version info in rdef file and use patterns. * Add missing $secondaryArchSuffix to cmd:libtoolize.
This commit is contained in:
@@ -4,19 +4,15 @@ resource app_signature "application/x-vnd.titer-handbrake";
|
||||
resource file_types message;
|
||||
|
||||
resource app_version {
|
||||
major = 0,
|
||||
middle = 0,
|
||||
minor = 0,
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
|
||||
variety = B_APPV_DEVELOPMENT,
|
||||
internal = 0,
|
||||
|
||||
short_info = #'CSTR' array {
|
||||
|
||||
},
|
||||
long_info = #'CSTR' array {
|
||||
|
||||
}
|
||||
short_info = "HandBrake",
|
||||
long_info = "The open source video transcoder"
|
||||
};
|
||||
|
||||
resource large_icon array {
|
||||
|
||||
@@ -3,19 +3,18 @@ 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"
|
||||
HOMEPAGE="http://handbrake.fr/"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2003-2015 HandBrake Team"
|
||||
REVISION="1"
|
||||
COPYRIGHT="2003-2016 HandBrake Team"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.handbrake.fr/releases/$portVersion/HandBrake-$portVersion.tar.bz2"
|
||||
SOURCE_FILENAME="HandBrake-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="fb9230dd121b456f6829d1d25ac8bbf76e503b51c4efc70f0a7fd2bb8607e2f0"
|
||||
SOURCE_DIR="HandBrake-$portVersion"
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
PATCHES="handbrake-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="HandBrake.rdef"
|
||||
|
||||
PATCHES="handbrake-$portVersion.patchset"
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
handbrake$secondaryArchSuffix = $portVersion
|
||||
@@ -48,6 +47,7 @@ REQUIRES="
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:liba52$secondaryArchSuffix
|
||||
@@ -77,12 +77,13 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:patch
|
||||
cmd:python
|
||||
cmd:m4
|
||||
cmd:sed
|
||||
cmd:tar
|
||||
"
|
||||
|
||||
@@ -111,6 +112,16 @@ INSTALL()
|
||||
# cd ../haiku
|
||||
# cp haiku/HandBrake $appsDir
|
||||
|
||||
# addResourcesToBinaries handbrake.rdef $appsDir/HandBrake
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/HandBrake.rdef > HandBrake.rdef
|
||||
|
||||
addResourcesToBinaries HandBrake.rdef $prefix/bin/HandBrakeCLI
|
||||
# addResourcesToBinaries handBrake.rdef $appsDir/HandBrake
|
||||
# addAppDeskbarSymlink $appsDir/HandBrake
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user