mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
drawpile, bump to 2.1.6 (#3745)
This commit is contained in:
committed by
waddlesplash
parent
f89811278f
commit
d8718c9734
79
media-gfx/drawpile/drawpile-2.1.6.recipe
Normal file
79
media-gfx/drawpile/drawpile-2.1.6.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
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-2019 Calle Laakkonen"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/drawpile/Drawpile/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ad7f6885236f292753bb56fda311d6e6152f45ac551631c55b1431843bb55323"
|
||||
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
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
qt5_tools$secondaryArchSuffix
|
||||
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 \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
|
||||
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