mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
78 lines
2.0 KiB
Bash
78 lines
2.0 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-2024 GrafX2 project team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://pulkomandy.tk/projects/GrafX2/downloads/74"
|
|
SOURCE_FILENAME="grafx2-v2.9.tar.gz"
|
|
SOURCE_DIR="grafx2-v2.9"
|
|
CHECKSUM_SHA256="06ef4e22eb6020bcdc42b189c689642de668af6b4c7c286c4db9dc54f45b6950"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
grafx2$secondaryArchSuffix
|
|
cmd:grafx2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:liblua$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libSDL_1.2$secondaryArchSuffix
|
|
lib:libSDL_image_1.2$secondaryArchSuffix
|
|
lib:libSDL_ttf_2.0$secondaryArchSuffix
|
|
lib:libtiff$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:liblua$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libSDL_1.2$secondaryArchSuffix
|
|
devel:libSDL_image_1.2$secondaryArchSuffix
|
|
devel:libSDL_ttf_2.0$secondaryArchSuffix
|
|
devel:libtiff$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:git
|
|
cmd:make
|
|
cmd:patch
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:tar
|
|
cmd:which
|
|
cmd:xz
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd src
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd src
|
|
mkdir -p $dataDir
|
|
make install DESTDIR=$prefix PREFIX=/ datarootdir=/$relativeDataRootDir
|
|
|
|
rm -rf $dataDir/{applications,icons,metainfo}
|
|
|
|
addAppDeskbarSymlink $prefix/bin/grafx2 GrafX2
|
|
}
|