From 8622db627d7e9bbc70929cb2c4e9b6dfc2187f76 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 14 Jan 2019 18:38:28 +0100 Subject: [PATCH] GrafX2: bump version. --- media-gfx/grafx2/grafx2-2.6.recipe | 71 ++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 media-gfx/grafx2/grafx2-2.6.recipe diff --git a/media-gfx/grafx2/grafx2-2.6.recipe b/media-gfx/grafx2/grafx2-2.6.recipe new file mode 100644 index 000000000..d72e74a59 --- /dev/null +++ b/media-gfx/grafx2/grafx2-2.6.recipe @@ -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 +}