From d8718c9734f92e7a9272950e1d004833e2a067d2 Mon Sep 17 00:00:00 2001 From: Wesley Hill Date: Sat, 6 Apr 2019 18:10:04 +0100 Subject: [PATCH] drawpile, bump to 2.1.6 (#3745) --- media-gfx/drawpile/drawpile-2.1.6.recipe | 79 ++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 media-gfx/drawpile/drawpile-2.1.6.recipe diff --git a/media-gfx/drawpile/drawpile-2.1.6.recipe b/media-gfx/drawpile/drawpile-2.1.6.recipe new file mode 100644 index 000000000..814171682 --- /dev/null +++ b/media-gfx/drawpile/drawpile-2.1.6.recipe @@ -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 +}