mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
* Hacked-in Haiku support without changing the automake scripts as they can't be processed with current automake versions * Hacked ffmpeg code to build with ffmpeg 0.10. I hope I didn't break anything here... We really should consider getting a more recent version running on Haiku instead, but this will do for now.
87 lines
1.8 KiB
Plaintext
87 lines
1.8 KiB
Plaintext
SUMMARY="VLC Media Player"
|
|
DESCRIPTION="VLC is a free and open source cross-platform multimedia player \
|
|
and framework that plays most multimedia files as well as DVDs, Audio CDs, \
|
|
VCDs, and various streaming protocols."
|
|
HOMEPAGE="http://www.videolan.org/vlc/"
|
|
REVISION="1"
|
|
|
|
SRC_URI="http://download.videolan.org/pub/vlc/0.8.6i/vlc-0.8.6i.tar.gz"
|
|
CHECKSUM_SHA256="e99b3b49efd8cae8cf210ca69a5c81ceeac3b2e7d2b1e79df84c9abee4aa8426"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
vlc$secondaryArchSuffix = $portVersion
|
|
cmd:vlc
|
|
cmd:vlc_config
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
lib:libintl
|
|
lib:libiconv
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
vlc_devel = $portVersion
|
|
devel:libvlc
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
vlc == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libavcodec$secondaryArchSuffix == 53.61.100
|
|
devel:libcddb$secondaryArchSuffix
|
|
devel:libdvdread$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libmad$secondaryArchSuffix
|
|
devel:libmodplug$secondaryArchSuffix
|
|
devel:libmpeg2$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libpostproc$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:autoconf
|
|
cmd:bison
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ar$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xargs
|
|
cmd:sed
|
|
"
|
|
|
|
DEPEND="
|
|
libcdio,
|
|
libebml,
|
|
"
|
|
|
|
PATCHES="vlc-$portVersion.patchset"
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
runConfigure ./configure CFLAGS="-Davcodec_init=avcodec_register_all" \
|
|
--disable-wxwidgets --disable-skins2 --enable-shared
|
|
make # Multi-job build is not working
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLib libvlc
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1998-2008 VideoLan organization"
|