GrafX2: bump version.

This commit is contained in:
Adrien Destugues
2019-01-14 18:38:28 +01:00
parent f910b01699
commit 8622db627d

View File

@@ -0,0 +1,71 @@
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-2019 GrafX2 project team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://gitlab.com/GrafX2/grafX2/-/archive/v$portVersion/grafX2-v$portVersion.tar.bz2"
SOURCE_DIR="grafX2-v$portVersion"
CHECKSUM_SHA256="a672d381df55a8180febb005cbafbbfc87b8f7eeec9743acdc33214cc59a2e00"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
grafx2
cmd:grafx2
"
REQUIRES="
haiku
lib:libfreetype
lib:libiconv
lib:libjpeg
lib:liblua
lib:libpng
lib:libsdl
lib:libsdl_image
lib:libsdl_ttf
lib:libtiff
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libfreetype
devel:libiconv
devel:libjpeg
devel:liblua
devel:libpng
devel:libsdl
devel:libsdl_image
devel:libsdl_ttf
devel:libtiff
devel:libz
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:git
cmd:make
cmd:pkg_config
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
}