mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* Add lib versioning to lib:libvcdinfo and also use the same versioning (instead of $portVersion) for devel:libvcdinfo. This is safe because there are currently no packages depending on that lib. Also add version info for all runtimes. * Mark all architectures as tested. * Do not ship documentation and runtimes for secondary arch builds. * Use a mirror redirector for SOURCE_URI rather than a fixed mirror. * Update COPYRIGHT. * Add TEST() with "make check" since the Makefile has this target.
118 lines
2.8 KiB
Bash
118 lines
2.8 KiB
Bash
SUMMARY="Author, disassemble and analyze Video CDs"
|
|
DESCRIPTION="GNU VCDImager is a full-featured mastering suite for authoring, \
|
|
disassembling and analyzing Video CDs and Super Video CDs.
|
|
|
|
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/"
|
|
COPYRIGHT="2000-2004 Herbert Valerio Riedel
|
|
2001 Arnd Bergmann
|
|
2004-2011 Rocky Bernstein"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://ftpmirror.gnu.org/vcdimager/vcdimager-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="075d7a67353ff3004745da781435698b6bc4a053838d0d4a3ce0516d7d974694"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
vcdimager${secondaryArchSuffix} = $portVersion
|
|
lib:libvcdinfo$secondaryArchSuffix = 0.2.0
|
|
"
|
|
if [ -z "$secondaryArchSuffix" ]; then
|
|
PROVIDES="$PROVIDES
|
|
cmd:cdxa2mpeg = $portVersion
|
|
cmd:vcd_info = $portVersion
|
|
cmd:vcdimager = $portVersion
|
|
cmd:vcdxbuild = $portVersion
|
|
cmd:vcdxgen = $portVersion
|
|
cmd:vcdxminfo = $portVersion
|
|
cmd:vcdxrip = $portVersion
|
|
"
|
|
fi
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcdio$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libpopt$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
vcdimager${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libvcdinfo$secondaryArchSuffix = 0.2.0
|
|
"
|
|
REQUIRES_devel="
|
|
vcdimager$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcdio$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libpopt$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
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
|
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
rm -rf $documentationDir $binDir
|
|
fi
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libvcdinfo
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|