flameshot: version bump (#4111)

This commit is contained in:
kikadf
2019-08-20 23:32:46 +02:00
committed by Sergei Reznikov
parent 71b3750e6f
commit a4b9edd1ba
2 changed files with 65 additions and 6 deletions

View File

@@ -0,0 +1,64 @@
SUMMARY="Powerful yet simple to use screenshot software"
DESCRIPTION="Features
* Customizable appearance.
* Easy to use.
* In-app screenshot edition.
* DBus interface.
* Upload to Imgur."
HOMEPAGE="https://github.com/lupoDharkael/flameshot/"
COPYRIGHT="2019 lupoDharkael"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/lupoDharkael/flameshot/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589"
#ADDITIONAL_FILES="flameshot.rdef"
ARCHITECTURES="x86_64"
PROVIDES="
flameshot = $portVersion
app:Flameshot = $portVersion
"
REQUIRES="
haiku
lib:libGL
lib:libQt5Core
lib:libQt5DBus
lib:libQt5Gui
lib:libQt5Network
lib:libQt5Svg
lib:libQt5Widgets
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:lrelease >= 5
cmd:make
cmd:qmake >= 5
"
BUILD()
{
qmake PREFIX=$appsDir/Flameshot
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/Flameshot/bin/flameshot \
$appsDir/Flameshot/Flameshot
mv $appsDir/Flameshot/share/flameshot/translations \
$appsDir/Flameshot
rm -rf $appsDir/Flameshot/bin
rm -rf $appsDir/Flameshot/share
addAppDeskbarSymlink $appsDir/Flameshot/Flameshot
}