Files
haikuports/media-video/gnash/gnash-0.8.10.recipe
Humdinger 3ea69a805d De-lint recipes.
*	gnash
	Don't start SUMMARY with app name
	Re-ordered blocks

*	gophernicus
	Don't start SUMMARY with app name
	Re-ordered blocks

*	harfbuzz
	Don't start SUMMARY with app name
	Re-ordered blocks

*	inconsolata
	Don't start SUMMARY with app name
	Re-ordered blocks

*	indent
	Don't start SUMMARY with app name
	Re-ordered blocks
	Fixed (SECONDARY_)ARCHITECTURES and PROVIDES

*	inputproto
	Don't start SUMMARY with app name
	Improved SUMMARY and DESCRIPTION
	Re-ordered blocks

*	jamvm
	Don't start SUMMARY with app name
	Removed "DEPEND"
	Re-ordered blocks

*	jpeg
	Don't start SUMMARY with app name
	Re-ordered blocks

*	jgmod
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kbproto
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kdiff3
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdom
	Don't start SUMMARY with app name
	Re-ordered blocks
	Removed $secondaryArchSuffix as there are no 2nd archs declared

*	libdvdcss
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdwarf
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libevent
	Minor cosmetics
	Re-ordered blocks
2015-08-07 16:40:23 +02:00

126 lines
3.6 KiB
Bash

SUMMARY="A player for Adobe Flash"
DESCRIPTION="GNU Gnash is the GNU Flash movie player — Flash is an animation \
file format pioneered by Macromedia which continues to be supported by their \
successor company, Adobe. Flash has been extended to include audio and video \
content, and programs written in ActionScript, an ECMAScript-compatible language."
HOMEPAGE="http://www.gnu.org/software/gnash/"
COPYRIGHT="2005-2012 Free Software Foundation"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="ftp://ftp.gnu.org/pub/gnu/gnash/0.8.10/gnash-0.8.10.tar.bz2"
CHECKSUM_SHA256="9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224"
PATCHES="gnash-0.8.10.patchset"
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 !x86"
PROVIDES="
gnash$secondaryArchSuffix = $portVersion
app:Gnash = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libgif$secondaryArchSuffix
lib:libavcodec$secondaryArchSuffix
lib:libspeex$secondaryArchSuffix
lib:libexpat$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libboost_thread$secondaryArchSuffix
lib:libboost_program_options$secondaryArchSuffix
lib:libboost_iostreams$secondaryArchSuffix
lib:libboost_serialization$secondaryArchSuffix
lib:libboost_date_time$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libsdl_sound$secondaryArchSuffix
lib:libagg$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
#lib:libfontconfig$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libgif$secondaryArchSuffix
devel:libavcodec$secondaryArchSuffix
devel:libspeex$secondaryArchSuffix
devel:libexpat$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
boost${secondaryArchSuffix}_devel
devel:libboost_thread$secondaryArchSuffix
devel:libboost_program_options$secondaryArchSuffix
devel:libboost_iostreams$secondaryArchSuffix
devel:libboost_serialization$secondaryArchSuffix
devel:libboost_date_time$secondaryArchSuffix
devel:libboost_system$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libsdl_sound$secondaryArchSuffix
devel:libagg$secondaryArchSuffix
#devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:awk
cmd:sed
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:pkg_config$secondaryArchSuffix
cmd:sdl_config$secondaryArchSuffix
cmd:xargs
cmd:grep
"
GLOBAL_WRITABLE_FILES="
settings/gnashpluginrc auto-merge
settings/gnashrc auto-merge
"
BUILD()
{
INCLUDE_DIR=`finddir B_SYSTEM_DIRECTORY`/$relativeIncludeDir
LIB_DIR=`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir
libtoolize --force --copy --install
aclocal
autoconf
automake
runConfigure ./configure --enable-renderer=agg --enable-media=ffmpeg \
--enable-gui=sdl --enable-sound=sdl --without-gconf \
--disable-extensions \
--with-boost-incl=$INCLUDE_DIR/boost \
--with-boost-lib=$LIB_DIR \
--includedir=$includeDir \
--bindir=$appsDir \
--libdir=$libDir
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink $appsDir/Gnash Gnash
}
TEST()
{
make check
}