mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
tuxpaint, checkout rc (#8060)
This commit is contained in:
@@ -8,9 +8,9 @@ HOMEPAGE="http://www.tuxpaint.org/"
|
||||
COPYRIGHT="2002-2020 Bill Kendrick and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="842065576fae554358e00e51d71a492616a6490b12b592228067477c287a0bf8"
|
||||
SOURCE_DIR="tuxpaint-stamps-$portVersion"
|
||||
SOURCE_URI="https://sourceforge.net/projects/tuxpaint/files/tuxpaint-stamps/2023-03-XX-beta/tuxpaint-stamps-${portVersion//_/-}.tar.gz"
|
||||
CHECKSUM_SHA256="da9d01c447bba78e4cbe317ba90556106c49f07d8203d1e8c700933c23debe04"
|
||||
SOURCE_DIR="tuxpaint-stamps-${portVersion//_/-}"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
@@ -1,22 +0,0 @@
|
||||
From c1a1b144eb2b3bf1356d529f569c0789fe3e7aae Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Mon, 6 Jun 2022 13:48:55 +0200
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/BeOS_print.cpp b/src/BeOS_print.cpp
|
||||
index 6bfed5c..f019c11 100644
|
||||
--- a/src/BeOS_print.cpp
|
||||
+++ b/src/BeOS_print.cpp
|
||||
@@ -82,8 +82,6 @@ BBitmap *SurfaceToBBitmap(SDL_Surface * surf)
|
||||
pixfmt.Gloss = 0;
|
||||
pixfmt.Bloss = 0;
|
||||
pixfmt.Aloss = 0;
|
||||
- pixfmt.colorkey = 0;
|
||||
- pixfmt.alpha = 0;
|
||||
|
||||
surf32 = SDL_ConvertSurface(surf, &pixfmt, SDL_SWSURFACE);
|
||||
|
||||
--
|
||||
2.36.1
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
SUMMARY="Drawing program designed for young children"
|
||||
DESCRIPTION="Tux Paint is a free, award-winning drawing program for children \
|
||||
ages 3 to 12 (for example, preschool and K-6). Tux Paint is used \
|
||||
in schools and around the world as a computer literacy drawing activity. \
|
||||
It combines an easy-to-use interface, fun sound effects, and an \
|
||||
encouraging cartoon mascot who guides children as they use the program."
|
||||
HOMEPAGE="http://www.tuxpaint.org/"
|
||||
COPYRIGHT="2002-2020 Bill Kendrick and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/tuxpaint/tuxpaint-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c1185b7ba97701ae48639ade3e55488bd695a919a7b5b38f5b2ab0df93b6e19d"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/TuxPaint directory
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
tuxpaint$secondaryArchSuffix = $portVersion
|
||||
app:TuxPaint
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libimagequant$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpaper$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:librsvg_2$secondaryArchSuffix
|
||||
lib:libSDL_1.2$secondaryArchSuffix
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix
|
||||
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
lib:libSDL_ttf_2.0$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
devel:libfribidi$secondaryArchSuffix
|
||||
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libimagequant$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpaper$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:librsvg_2$secondaryArchSuffix
|
||||
devel:libSDL_1.2$secondaryArchSuffix
|
||||
devel:libSDL_image_1.2$secondaryArchSuffix
|
||||
devel:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
devel:libSDL_ttf_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:convert$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$appsDir/TuxPaint
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/TuxPaint
|
||||
|
||||
make install PREFIX=$appsDir/TuxPaint
|
||||
ln -s $appsDir/TuxPaint/bin/tuxpaint $appsDir/TuxPaint/TuxPaint
|
||||
|
||||
addAppDeskbarSymlink $appsDir/TuxPaint/bin/tuxpaint TuxPaint
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
SUMMARY="Drawing program designed for young children"
|
||||
DESCRIPTION="Tux Paint is a free, award-winning drawing program for children \
|
||||
ages 3 to 12 (for example, preschool and K-6). Tux Paint is used \
|
||||
in schools and around the world as a computer literacy drawing activity. \
|
||||
It combines an easy-to-use interface, fun sound effects, and an \
|
||||
encouraging cartoon mascot who guides children as they use the program."
|
||||
HOMEPAGE="http://www.tuxpaint.org/"
|
||||
COPYRIGHT="2002-2021 Bill Kendrick and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/tuxpaint/tuxpaint-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4aa83eb2e67bfc7e3493366d0ea231da46b9e6a9c552bf267ec868241fffa8f1"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/TuxPaint directory
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
tuxpaint$secondaryArchSuffix = $portVersion
|
||||
app:TuxPaint
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libimagequant$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpaper$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:librsvg_2$secondaryArchSuffix
|
||||
lib:libSDL_1.2$secondaryArchSuffix
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix
|
||||
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
lib:libSDL_pango$secondaryArchSuffix
|
||||
lib:libSDL_ttf_2.0$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
devel:libfribidi$secondaryArchSuffix
|
||||
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libimagequant$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpaper$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:librsvg_2$secondaryArchSuffix
|
||||
devel:libSDL_1.2$secondaryArchSuffix
|
||||
devel:libSDL_image_1.2$secondaryArchSuffix
|
||||
devel:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
devel:libSDL_pango$secondaryArchSuffix
|
||||
devel:libSDL_ttf_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:convert$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$appsDir/TuxPaint
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/TuxPaint
|
||||
|
||||
make install PREFIX=$appsDir/TuxPaint
|
||||
ln -s $appsDir/TuxPaint/bin/tuxpaint $appsDir/TuxPaint/TuxPaint
|
||||
|
||||
addAppDeskbarSymlink $appsDir/TuxPaint/bin/tuxpaint TuxPaint
|
||||
}
|
||||
@@ -5,15 +5,14 @@ in schools and around the world as a computer literacy drawing activity. \
|
||||
It combines an easy-to-use interface, fun sound effects, and an \
|
||||
encouraging cartoon mascot who guides children as they use the program."
|
||||
HOMEPAGE="http://www.tuxpaint.org/"
|
||||
COPYRIGHT="2002-2022 Bill Kendrick and others"
|
||||
COPYRIGHT="2002-2023 Bill Kendrick and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/tuxpaint/tuxpaint-$portVersion-sdl2.tar.gz"
|
||||
CHECKSUM_SHA256="4f1ed9330feab324070b93630d79ced50ccc4816ab76750119f012b5d904709d"
|
||||
SOURCE_DIR="tuxpaint-$portVersion-sdl2"
|
||||
PATCHES="tuxpaint_sdl2-$portVersion.patchset"
|
||||
SOURCE_URI="https://sourceforge.net/projects/tuxpaint/files/tuxpaint/0.9.29-beta/tuxpaint-${portVersion//_/-}.tar.gz"
|
||||
CHECKSUM_SHA256="b6b1ae9cfc143cbc9d296b4b6d40d8ed263ff438ee8e65c67ef87ef9f3aa78f9"
|
||||
SOURCE_DIR="tuxpaint-${portVersion//_/-}"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2 x86_64"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
@@ -21,7 +20,7 @@ USER_SETTINGS_FILES="
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
tuxpaint_sdl2$secondaryArchSuffix = $portVersion
|
||||
tuxpaint$secondaryArchSuffix = $portVersion
|
||||
app:TuxPaint
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -32,15 +31,17 @@ REQUIRES="
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libharfbuzz$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libimagequant$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpangoft2_1.0$secondaryArchSuffix
|
||||
lib:libpaper$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:librsvg_2$secondaryArchSuffix
|
||||
lib:libSDL2_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_gfx$secondaryArchSuffix
|
||||
lib:libSDL2_image_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_gfx$secondaryArchSuffix
|
||||
lib:libSDL2_mixer_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_pango$secondaryArchSuffix
|
||||
lib:libSDL2_ttf_2.0$secondaryArchSuffix
|
||||
@@ -56,11 +57,12 @@ BUILD_REQUIRES="
|
||||
devel:libimagequant$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpaper$secondaryArchSuffix
|
||||
devel:libpangoft2_1.0$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:librsvg_2$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_gfx$secondaryArchSuffix
|
||||
devel:libSDL2_image_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_gfx$secondaryArchSuffix
|
||||
devel:libSDL2_mixer_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_pango$secondaryArchSuffix
|
||||
devel:libSDL2_ttf_2.0$secondaryArchSuffix
|
||||
Reference in New Issue
Block a user