mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
flameshot: version bump (#4111)
This commit is contained in:
64
media-gfx/flameshot/flameshot-0.6.0.recipe
Normal file
64
media-gfx/flameshot/flameshot-0.6.0.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user