mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
drawpile: new recipe (#2752)
This commit is contained in:
75
media-gfx/drawpile/drawpile-2.0.10.recipe
Normal file
75
media-gfx/drawpile/drawpile-2.0.10.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="A collaborative drawing program"
|
||||
DESCRIPTION="Drawpile is a drawing program that lets you share \
|
||||
the canvas with other users in real time."
|
||||
HOMEPAGE="https://drawpile.net/"
|
||||
COPYRIGHT="2006-2018 Calle Laakkonen"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/drawpile/Drawpile/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0ff79e9f95ca02ff016eed3118a83ca62e80a1ca93fe11e3fb8ecd22c1fe37a9"
|
||||
SOURCE_FILENAME="Drawpile-$portVersion.tar.gz"
|
||||
SOURCE_DIR="Drawpile-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
drawpile$secondaryArchSuffix = $portVersion
|
||||
app:Drawpile = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgif$secondaryArchSuffix
|
||||
lib:libKF5Archive$secondaryArchSuffix
|
||||
lib:libminiupnpc$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Multimedia$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Sql$secondaryArchSuffix
|
||||
lib:libQt5Svg$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libsodium$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libarchive$secondaryArchSuffix
|
||||
devel:libgif$secondaryArchSuffix
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libminiupnpc$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5WebKit$secondaryArchSuffix
|
||||
devel:libsodium$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build && cd build
|
||||
cmake .. -DCMAKE_EXE_LINKER_FLAGS=-lnetwork -DTESTS=on
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# TODO Add a rdef icon for Drawpile
|
||||
mkdir -p $appsDir/Drawpile
|
||||
cp ./build/bin/drawpile $appsDir/Drawpile/Drawpile
|
||||
cp ./build/bin/drawpile-srv $appsDir/Drawpile/drawpile-srv
|
||||
addAppDeskbarSymlink $appsDir/Drawpile/Drawpile
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make -C build test
|
||||
}
|
||||
Reference in New Issue
Block a user