mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
72 lines
2.0 KiB
Bash
72 lines
2.0 KiB
Bash
SUMMARY="Qt5 tool for creating wallpapers"
|
|
DESCRIPTION="Fotowall is a desktop APP that lets you create graphical compositions by layering \
|
|
and manipulating photos and pictures, text, live video, wordclouds, and drag&drop content from the internet. \
|
|
All to create a fun graphical composition with the maximum ease of use!"
|
|
HOMEPAGE="https://www.enricoros.com/opensource/fotowall"
|
|
COPYRIGHT="The Fotowall Team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/enricoros/fotowall/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8dc42262dd5220a12e92181ff82bd363a6506a4c3ab1ea3841281f2971e1b289"
|
|
PATCHES="fotowall-$portVersion.patchset"
|
|
ADDITIONAL_FILES="fotowall.rdef.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
fotowall$secondaryArchSuffix = $portVersion
|
|
app:FotoWall$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
lib:libQt5Svg$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libGL$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
|
devel:libQt5Svg$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:qmake$secondaryArchSuffix >= 5.7
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
qmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp fotowall $appsDir/FotoWall
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
sed \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
$portDir/additional-files/fotowall.rdef.in > fotowall.rdef
|
|
|
|
addResourcesToBinaries fotowall.rdef $appsDir/FotoWall
|
|
|
|
addAppDeskbarSymlink $appsDir/FotoWall
|
|
}
|