mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
FotoWall: add recipe for version 1.0
This commit is contained in:
44
media-gfx/fotowall/additional-files/fotowall.rdef.in
Normal file
44
media-gfx/fotowall/additional-files/fotowall.rdef.in
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
|
||||||
|
resource app_flags B_MULTIPLE_LAUNCH;
|
||||||
|
|
||||||
|
resource app_version {
|
||||||
|
major = @MAJOR@,
|
||||||
|
middle = @MIDDLE@,
|
||||||
|
minor = 0,
|
||||||
|
variety = B_APPV_FINAL,
|
||||||
|
internal = 0,
|
||||||
|
short_info = "FotoWall",
|
||||||
|
long_info = "Qt5 tool for creating wallpapers"
|
||||||
|
};
|
||||||
|
|
||||||
|
resource app_signature "application/x-vnd.fotowall";
|
||||||
|
|
||||||
|
resource vector_icon {
|
||||||
|
$"6E6369660702000603399E0F3D9C0ABF866F3B88684B8C0D486EE900A5B1FFBC"
|
||||||
|
$"EAF1FFFFB3B8FF0501020106023E49240000000000003CAAAA4940004A30001A"
|
||||||
|
$"00FFAAFF007F7F0401920200060235A2F5BB95C53FF7DD3A033A432AA54A4CB2"
|
||||||
|
$"00C70585F5EE31050200060235A2F5BB95C53FF7DD3A033A432AA54A4CB200C7"
|
||||||
|
$"0585F5187F0003FFAA00090606AE0BB40BBF4D33C3AEB75CC172BDEFC606C13E"
|
||||||
|
$"C804CA27BD82C117B920C51BBB40BF06B8073AB6BC0605AE02B57D3EB9B9C3EF"
|
||||||
|
$"B7BB44BBB751BD75C936CA8DC1B0402F060AAAAE0A3B593D5BBFCDC93D455B4E"
|
||||||
|
$"53C644C6A4C537C78E534F66465B435D4544510A045A425E3F5A3D5740020ABB"
|
||||||
|
$"1EBB84BB1EBB84BB1EBB84B887BD35B983BC31B77BBE48B807C04BB6C4C023B9"
|
||||||
|
$"39C072BDB542BAB8C130C014C00845BF73C0DFBFC6C2C8BF0DC455BEB4C4E0BF"
|
||||||
|
$"99C41FBE5BC52CBDDBC3C7BE1BC691BD9B4ABBDDC673BC29C0FDBB91BD823BBF"
|
||||||
|
$"6639BB9D3DB9D2BE4EBA62BE702EBE0102024841C3C7C018C216C031C323C130"
|
||||||
|
$"45C0FD4CC1630202C65EBE74C6D2BE67C5EDBE81C653BF0DC5C5BEDAC6DEBF40"
|
||||||
|
$"02044030C34530BC3A30304030BC3A30C3454050BC3A50C34550504050C34550"
|
||||||
|
$"BC3A0A044454585C5F4E5244100A03020203023E7D780000000000003EB51EC1"
|
||||||
|
$"AF1748E2100A030108024012F60000000000003FD555C255554280000A010101"
|
||||||
|
$"123E7D780000000000003EB51EC1AF1748E21001178400040A020101023E7D78"
|
||||||
|
$"0000000000003EB51EC1AF1748E2100A010100123D8E0E3C910FBC4E903E4A88"
|
||||||
|
$"47222AC69DC901178400040A000100023D8E0E3C910FBC4E903E4A8847222AC6"
|
||||||
|
$"9DC90A0503040506023D8E0E3C910FBC4E903E4A8847222AC69DC90A01010012"
|
||||||
|
$"3F28E5BA460F3D40DA3F94B9441A2447133D01178400040A000100023F28E5BA"
|
||||||
|
$"460F3D40DA3F94B9441A2447133D0A0403040506023F28E5BA460F3D40DA3F94"
|
||||||
|
$"B9441A2447133D0A010107123BF83C0000000000003BF83D4A40F847C3E10115"
|
||||||
|
$"8100040A060107023AAC680000000000003AAC684A63514826A30A010107123B"
|
||||||
|
$"00000000000000003B00004600003FFFFF01158100040A060107023A053A0000"
|
||||||
|
$"000000003A053A4667D5429F570A010107123B7C1E0000000000003B7C1E44C3"
|
||||||
|
$"E149D0F801158100040A060107023A58D10000000000003A58D145B51D4A06A3"
|
||||||
|
};
|
||||||
71
media-gfx/fotowall/fotowall-1.0.recipe
Normal file
71
media-gfx/fotowall/fotowall-1.0.recipe
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
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="!x86_gcc2 x86 x86_64"
|
||||||
|
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
|
||||||
|
}
|
||||||
39
media-gfx/fotowall/patches/fotowall-1.0.patchset
Normal file
39
media-gfx/fotowall/patches/fotowall-1.0.patchset
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
From e1d4264e381fbf40d1a47e5dcc947e47bb980d68 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||||
|
Date: Tue, 15 May 2018 05:32:45 +0000
|
||||||
|
Subject: Fix build for Haiku
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/3rdparty/enricomath.h b/3rdparty/enricomath.h
|
||||||
|
index 7bceda8..a6ee45f 100644
|
||||||
|
--- a/3rdparty/enricomath.h
|
||||||
|
+++ b/3rdparty/enricomath.h
|
||||||
|
@@ -286,7 +286,7 @@ class Matrix3
|
||||||
|
#define M_PI 3.141592653589793238462643
|
||||||
|
#endif // !M_PI
|
||||||
|
|
||||||
|
-#if !defined(Q_CC_GNU) || defined(Q_OS_WIN32) || defined(Q_OS_OS2) || defined(Q_OS_ANDROID) || defined(Q_OS_OPENBSD)
|
||||||
|
+#if !defined(Q_CC_GNU) || defined(Q_OS_WIN32) || defined(Q_OS_OS2) || defined(Q_OS_ANDROID) || defined(Q_OS_OPENBSD) || defined(Q_OS_HAIKU)
|
||||||
|
#if !defined(__MINGW32__)
|
||||||
|
//sincos is not defined in win32, MAC, OS/2, Android and OpenBSD
|
||||||
|
static inline void sincos(double th, double *s, double *c)
|
||||||
|
diff --git a/fotowall.pro b/fotowall.pro
|
||||||
|
index 0b8fb7e..14d5485 100644
|
||||||
|
--- a/fotowall.pro
|
||||||
|
+++ b/fotowall.pro
|
||||||
|
@@ -43,6 +43,12 @@ symbian|simulator: {
|
||||||
|
# disable the Webcam source (only stable on linux and experimental on win32)
|
||||||
|
macx: CONFIG += no-webcam
|
||||||
|
|
||||||
|
+# disable the Webcam and OpenGL for Haiku
|
||||||
|
+haiku {
|
||||||
|
+ QT -= opengl
|
||||||
|
+ CONFIG += no-webcam
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
# Fotowall input files
|
||||||
|
include(fotowall.pri)
|
||||||
|
# Posterazor input files (included here for separating translations)
|
||||||
|
--
|
||||||
|
2.16.2
|
||||||
|
|
||||||
Reference in New Issue
Block a user