vcdimager, disable static library, cleanup (#8273)

This commit is contained in:
Schrijvers Luc
2023-04-04 13:01:47 +02:00
committed by GitHub
parent bfd44ddcff
commit 9894408a1d
2 changed files with 8 additions and 125 deletions

View File

@@ -1,117 +0,0 @@
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="4"
SOURCE_URI="http://ftpmirror.gnu.org/vcdimager/vcdimager-$portVersion.tar.gz"
CHECKSUM_SHA256="075d7a67353ff3004745da781435698b6bc4a053838d0d4a3ce0516d7d974694"
ARCHITECTURES="all"
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
}

View File

@@ -21,7 +21,7 @@ COPYRIGHT="2000-2004 Herbert Valerio Riedel
2001 Arnd Bergmann
2004-2011 Rocky Bernstein"
LICENSE="GNU GPL v2"
REVISION="4"
REVISION="5"
SOURCE_URI="https://ftpmirror.gnu.org/vcdimager/vcdimager-$portVersion.tar.gz"
CHECKSUM_SHA256="67515fefb9829d054beae40f3e840309be60cda7d68753cafdd526727758f67a"
PATCHES="vcdimager-$portVersion.patchset"
@@ -50,9 +50,9 @@ fi
REQUIRES="
haiku$secondaryArchSuffix
lib:libcdio$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
@@ -67,18 +67,18 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcdio$secondaryArchSuffix >= 19
devel:libxml2$secondaryArchSuffix
devel:libpopt$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libpopt$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:libtool
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtool$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
@@ -98,7 +98,7 @@ BUILD()
aclocal
autoreconf -vfi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -113,7 +113,7 @@ INSTALL()
rm "$libDir"/*.la
# prepare develop/lib
prepareInstalledDevelLibs libvcdinfo
prepareInstalledDevelLib libvcdinfo
fixPkgconfig
packageEntries devel \