Files
haikuports/media-gfx/grafx2/grafx2-2.5.recipe
2018-06-03 20:46:57 -05:00

71 lines
1.4 KiB
Bash

SUMMARY="The ultimate 256-color painting program"
DESCRIPTION="GrafX2 is a bitmap paint program inspired by the Amiga programs \
Deluxe Paint and Brilliance. Specialized in 256-color drawing, it includes a \
very large number of tools and effects that make it particularly suitable for \
pixel art, game graphics, and generally any detailed graphics painted with a \
mouse."
HOMEPAGE="http://grafx2.tk"
COPYRIGHT="1995-2001 Sunset Design
2007-2018 GrafX2 project team"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://gitlab.com/GrafX2/grafX2/-/archive/v2.5/grafX2-v2.5.tar.bz2"
SOURCE_DIR="grafX2-v2.5"
PATCHES="grafx2-$portVersion.patchset"
CHECKSUM_SHA256="0a9742b660f3fb3e88c45f67f70c4b4626629fd178eb75451f3693b2e4746667"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
grafx2
cmd:grafx2
"
REQUIRES="
haiku
lib:libiconv
lib:libsdl
lib:libsdl_image
lib:libsdl_ttf
lib:liblua
lib:libpng
lib:libjpeg
lib:libz
lib:libfreetype
"
BUILD_REQUIRES="
haiku_devel
devel:libiconv
devel:libsdl
devel:libsdl_image
devel:libsdl_ttf
devel:liblua
devel:libpng
devel:libjpeg
devel:libz
devel:libfreetype
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:pkg_config
cmd:git
cmd:tar
cmd:which
"
BUILD()
{
cd src
make $jobArgs
}
INSTALL()
{
cd src
mkdir -p $dataDir
make install DESTDIR=$prefix prefix=/ datarootdir=/$relativeDataRootDir
addAppDeskbarSymlink $binDir/grafx2 GrafX2
}