Merged in diversys/haikuports/vcdimager (pull request #231)

Add recipe for vcdimager/libvcdinfo.
This commit is contained in:
diversys
2014-09-15 10:22:20 +04:00

View File

@@ -0,0 +1,107 @@
SUMMARY="A full-featured mastering suite for authoring, disassembling and \
analyzing Video CDs and Super Video CDs."
DESCRIPTION="
The following features are available so far (some features are only available \
in the latest alpha snapshots):
* Free software available under the GNU Public License
* Support for Video CD 1.1 and 2.0 disc formats
* Support for the Super Video CD 1.0 disc format
* Full PBC (playback control) support (play lists, selection lists and end lists)
* Support for segment play items
* Automatic padding of MPEG streams on the fly
* Support for 99-minute (out-of-specification) CD-R media
* Extraction of Video CDs into files (incl. the PBC information)
* Runs on all major UNIX flavors and on Win32
* Use of XML for the description of Video CDs
"
HOMEPAGE="http://www.vcdimager.org/"
SRC_URI="ftp://ftp.mirror.nl/pub/mirror/gnu/vcdimager/vcdimager-0.7.24.tar.gz"
CHECKSUM_SHA256="075d7a67353ff3004745da781435698b6bc4a053838d0d4a3ce0516d7d974694"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2002 Herbert Valerio Riedel"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
vcdimager${secondaryArchSuffix} = $portVersion
cmd:vcdimager$secondaryArchSuffix
cmd:cdxa2mpeg$secondaryArchSuffix
cmd:vcd_info$secondaryArchSuffix
cmd:vcdxbuild$secondaryArchSuffix
cmd:vcdxgen$secondaryArchSuffix
cmd:vcdxminfo$secondaryArchSuffix
cmd:vcdxrip$secondaryArchSuffix
lib:libvcdinfo$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libcdio$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libcdio$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libpopt$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:libtool
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
PATCH()
{
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
sed -i 's/AM_PROG_CC_STDC//g' configure.ac
}
BUILD()
{
libtoolize --force --copy --install
aclocal
autoreconf -if
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# prepare develop/lib
prepareInstalledDevelLibs libvcdinfo
fixPkgconfig
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
vcdimager${secondaryArchSuffix}_devel = $portVersion
devel:libvcdinfo$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
vcdimager$secondaryArchSuffix == $portVersion base
"