mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
97 lines
2.7 KiB
Plaintext
97 lines
2.7 KiB
Plaintext
SUMMARY="Allegro game programming library"
|
|
DESCRIPTION="
|
|
Allegro 4 and Allegro 5 are cross-platform, libraries mainly aimed at video
|
|
game and multimedia programming. They handle common, low-level tasks such as
|
|
creating windows, accepting user input, loading data, drawing images, playing
|
|
sounds, etc. and generally abstracting away the underlying platform. However,
|
|
Allegro is not a game engine: you are free to design and structure your program
|
|
as you like.
|
|
|
|
According to the Oxford Companion to Music, Allegro is the Italian for «quick,
|
|
lively, bright». It is also a recursive acronym which stands for «Allegro Low
|
|
LEvel Game ROutines». Allegro was started by Shawn Hargreaves in the mid-90's
|
|
but has since received contributions from hundreds of people over the net.
|
|
"
|
|
|
|
HOMEPAGE="http://alleg.sourceforge.net/"
|
|
SRC_URI="http://sourceforge.net/projects/alleg/files/allegro/4.4.2/allegro-4.4.2.tar.gz/download"
|
|
CHECKSUM_MD5="4db71b0460fc99926ae91d223199c2e6"
|
|
LICENSE="Allegro"
|
|
COPYRIGHT="1998-2010 Shawn Hargreaves et al."
|
|
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
allegro$secondaryArchSuffix = $portVersion
|
|
lib:liballeg$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libpng
|
|
lib:libz
|
|
lib:libogg
|
|
lib:libvorbis
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libz
|
|
devel:libogg
|
|
devel:libvorbis
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:pkg_config
|
|
"
|
|
|
|
PATCHES="Haiku.patch"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DDOCDIR=$docDir -DMANDIR=$manDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs liballeg libjpgalleg libloadpng liblogg
|
|
|
|
packageEntries devel $developDir $binDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
allegro${secondaryArchSuffix}_devel = $portVersion compat >= 4.4
|
|
devel:liballeg$secondaryArchSuffix = $portVersion compat >= 4.4
|
|
cmd:allegro_config = $portVersion compat >= 4.4
|
|
cmd:colormap = $portVersion compat >= 4.4
|
|
cmd:dat = $portVersion compat >= 4.4
|
|
cmd:dat2c = $portVersion compat >= 4.4
|
|
cmd:dat2s = $portVersion compat >= 4.4
|
|
cmd:exedat = $portVersion compat >= 4.4
|
|
cmd:grabber = $portVersion compat >= 4.4
|
|
cmd:pack = $portVersion compat >= 4.4
|
|
cmd:pat2dat = $portVersion compat >= 4.4
|
|
cmd:rgbmap = $portVersion compat >= 4.4
|
|
cmd:textconv = $portVersion compat >= 4.4
|
|
devel:libjpgalleg = $portVersion compat >= 4.4
|
|
devel:liblogg = $portVersion compat >= 4.4
|
|
devel:libloadpng = $portVersion compat >= 4.4
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
allegro$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|