mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Merged in waddlesplash/haikuports/bpm (pull request #490)
Adding BePhotoMagic and LibImageManip.
This commit is contained in:
49
haiku-apps/bephotomagic/bephotomagic-0.62_git.recipe
Normal file
49
haiku-apps/bephotomagic/bephotomagic-0.62_git.recipe
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
SUMMARY="Paint & image manipuator for Haiku"
|
||||||
|
DESCRIPTION="BePhotoMagic is a resurrection of the abandoned Photon \
|
||||||
|
project and is intended to be a Photoshop-quality paint and image \
|
||||||
|
processor for BeOS."
|
||||||
|
HOMEPAGE="https://github.com/HaikuArchives/BePhotoMagic"
|
||||||
|
SRC_URI="https://github.com/HaikuArchives/BePhotoMagic/archive/3f4444736db5cc21856867b73c3bb1b6098caf88.tar.gz"
|
||||||
|
CHECKSUM_SHA256="4b1d566f00aef68edb728d73a5810ceb2efce1db257f4532a3b23951779c301c"
|
||||||
|
SOURCE_DIR="BePhotoMagic-3f4444736db5cc21856867b73c3bb1b6098caf88"
|
||||||
|
LICENSE="GNU GPL v2"
|
||||||
|
COPYRIGHT="2000 Santiago Lema
|
||||||
|
2001 Jon Yoder (DarkWyrm)"
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
bephotomagic = $portVersion
|
||||||
|
app:BePhotoMagic = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku
|
||||||
|
lib:libbz2
|
||||||
|
lib:libimagemanip
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel
|
||||||
|
devel:libbz2
|
||||||
|
devel:libimagemanip
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
makefile_engine
|
||||||
|
cmd:make
|
||||||
|
cmd:g++
|
||||||
|
cmd:mkdepend
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
cd src
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mkdir -p $appsDir
|
||||||
|
cp -R bin $appsDir
|
||||||
|
mv $appsDir/bin $appsDir/BePhotoMagic
|
||||||
|
addAppDeskbarSymlink $appsDir/BePhotoMagic/BePhotoMagic
|
||||||
|
}
|
||||||
67
haiku-libs/libimagemanip/libimagemanip-1.1.0.recipe
Normal file
67
haiku-libs/libimagemanip/libimagemanip-1.1.0.recipe
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
SUMMARY="Shared library for image manipulation"
|
||||||
|
DESCRIPTION="LibImageManip provides an easy way to create add-ons that \
|
||||||
|
transform images. Some basic add-ons are included."
|
||||||
|
HOMEPAGE="https://github.com/HaikuArchives/LibImageManip"
|
||||||
|
COPYRIGHT="2000 Edmund Vermeulen"
|
||||||
|
LICENSE="Public Domain"
|
||||||
|
SRC_URI="https://github.com/HaikuArchives/LibImageManip/archive/v$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="f9aed23036fa2138c7902a9120fe01d96f6d97c02f0e67d6fa2e978a2437f9ec"
|
||||||
|
SOURCE_DIR="LibImageManip-$portVersion"
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
libimagemanip$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libimagemanip$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
makefile_engine
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
cmd:mkdepend
|
||||||
|
"
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
libimagemanip${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libimagemanip$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
libimagemanip$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
cd Source
|
||||||
|
make OBJ_DIR=objects $jobArgs
|
||||||
|
mkdir -p ../Addons
|
||||||
|
for i in DitherFloydSteinberg GammaCorrect MakeGray; do
|
||||||
|
cd $i
|
||||||
|
make $jobArgs
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mkdir -p $developDocDir $includeDir $libDir $addOnsDir/ImageManip/
|
||||||
|
|
||||||
|
cp LibImageManip.html $developDocDir
|
||||||
|
cp -R Include/. $includeDir/
|
||||||
|
cp -R Addons/. $addOnsDir/ImageManip/
|
||||||
|
|
||||||
|
cp Source/objects/libimagemanip.so $libDir
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs \
|
||||||
|
libimagemanip
|
||||||
|
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user