mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Scribus: add recipe for 1.5.2 version.
* don't bump this version! i'ts last worked version for now!
This commit is contained in:
61
app-office/scribus/additional-files/scribus.rdef.in
Normal file
61
app-office/scribus/additional-files/scribus.rdef.in
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
|
||||
short_info = "Scribus",
|
||||
long_info = "@LONG_INFO@"
|
||||
};
|
||||
|
||||
resource app_signature "@APP_SIGNATURE@";
|
||||
|
||||
resource file_types message {
|
||||
"types" = "application/x-scribus",
|
||||
"types" = "application/illustrator",
|
||||
"types" = "application/postscript",
|
||||
"types" = "application/pdf",
|
||||
"types" = "image/svg+xml",
|
||||
"types" = "image/wmf",
|
||||
"types" = "image/x-xfig",
|
||||
"types" = "application/x-coreldraw",
|
||||
"types" = "application/vnd.adobe.indesign-idml-package",
|
||||
"types" = "application/vnd.ms-xpsdocument",
|
||||
"types" = "application/x-mspublisher",
|
||||
"types" = "application/ms-visio"
|
||||
};
|
||||
|
||||
resource vector_icon {
|
||||
$"6E6369660D0400660500056E02001602BBF2CEB8AE15BC922B3FC9AE491ECB40"
|
||||
$"189F00A7FF7D0200160238C6EA33DEF4BABF173FF0CD4785994317EC00E2FFC1"
|
||||
$"0200160235C3F9B61B943EFBAF3EAA2CC844BB49FEFF00FFFFDC02001602BD4D"
|
||||
$"003B2E06BD78BCBF9A8E4AD8C24C08E500E0FFB0050002000602BC0428BD063D"
|
||||
$"3D063DBC042849E11E4A0A8F00095986FF56A8EB020006023D4C66398FFFB98F"
|
||||
$"FF3D4C6649A9D74A3B8F0084C5F5FFFFFFFF0366512302000602B8B3D7B77A3D"
|
||||
$"377A3DB8B3D74B877A4486B80083560BFFFFF2BC03C8BA96090204BF75B389C6"
|
||||
$"35B389B8B8B389B340BFBEB340B900B340C67ABF75CBEFB8B8CBEFC635CBEFCB"
|
||||
$"ACBFBECBACC67BCBACB9000205C7D1B855C7D1B855C5F7B6D5C653B4A4C5F4B5"
|
||||
$"40C69FB425CAB5B531C828B30CCC69B6A2CBC6B8F3CC66B861CB6DB946C7D1B8"
|
||||
$"58CA9BBA33C7D1B8580204B5D3C641B24FC0FAB959CB87C5DBC949C087CCE3CB"
|
||||
$"33C5AFC927B934CCADBE7DC5A3B3F0B92028BE75B295B3C8B9C80605FE02B465"
|
||||
$"BC6BBD8FB453B5FDB586BEC1B683BD29BF27C003B96EBA2DC519BE0356BE0356"
|
||||
$"B6A6C442B465BC6C0605EF02C74FB4DEC74FB4DEC640B755BEA7C8A7BFE8BE99"
|
||||
$"C26AC244C7D5C1DDCB3EB81BC7CABB93CA57B3FDC74FB4DE0604EF53B550C74B"
|
||||
$"B52AC67FB74EBF0DC7DBC0BFBE01C347C1AEC7A9C1F0CB01B853C78FBBC35AB4"
|
||||
$"3E0606BF0FC3683AC328BD4FC3CEBD6CC327BE6BC357BDFCC318BE92C274BF33"
|
||||
$"47BF00C15CC1B8BF40C6F6C257BEDEC175C0E2C283BE77C283BE12C242BE81C2"
|
||||
$"BBBDB40605EE02CA08B69CC455C1D6C441C09CC587C05FC6D8C012CA92B715C6"
|
||||
$"E2BC5DCA92B715CA08B69C02044030C34530BC3A30304030BC3A30C3454050BC"
|
||||
$"3A50C34550504050C34550BC3A090A000108024180000000000000003FE000C8"
|
||||
$"80004760000A070100023FD9000000000000003FE0EA3589CDB916650A070101"
|
||||
$"023FB8250000000000003FC006400FF33FB8BD0A080102023FB8250000000000"
|
||||
$"003FC006400FF33FB8BD0A090103023FB8250000000000003FC006400FF33FB8"
|
||||
$"BD0A0A0104023FB8250000000000003FC006400FF33FB8BD0A0B0105023FB825"
|
||||
$"0000000000003FC006400FF33FB8BD0A0A0106023FB8250000000000003FC006"
|
||||
$"400FF33FB8BD0A0C0107023FB8250000000000003FC006400FF33FB8BD"
|
||||
};
|
||||
1018
app-office/scribus/patches/scribus-1.5.2.patchset
Normal file
1018
app-office/scribus/patches/scribus-1.5.2.patchset
Normal file
File diff suppressed because it is too large
Load Diff
@@ -9,21 +9,21 @@ versatile PDF creation."
|
||||
HOMEPAGE="http://www.scribus.net"
|
||||
COPYRIGHT="2014-2017 Scribus Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/scribus/scribus-devel/$portVersion/scribus-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="73a30b4727e19f5d301a936d23a84275cc4f5613a92416cbd843f5167721d74f"
|
||||
CHECKSUM_SHA256="ec5eec23aeda655d3a761cffb85853dcd2ede3973b9e62a1b3c28bd1093c74f5"
|
||||
PATCHES="scribus-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="scribus.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
scribus$secondaryArchSuffix = $portVersion
|
||||
app:Scribus
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:hunspell$secondaryArchSuffix
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libcdr_0.1$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
@@ -32,6 +32,7 @@ REQUIRES="
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreehand_0.1$secondaryArchSuffix
|
||||
lib:libharfbuzz_icu$secondaryArchSuffix
|
||||
lib:libhunspell_1.6$secondaryArchSuffix
|
||||
lib:libhyphen$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
lib:libicudata$secondaryArchSuffix
|
||||
@@ -61,16 +62,8 @@ REQUIRES="
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
scribus${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:scribus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
hunspell${secondaryArchSuffix}_devel
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_system${secondaryArchSuffix}
|
||||
devel:libcairo$secondaryArchSuffix >= 2.11400
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
@@ -80,6 +73,7 @@ BUILD_REQUIRES="
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libfreehand_0.1$secondaryArchSuffix
|
||||
devel:libharfbuzz_icu$secondaryArchSuffix
|
||||
devel:libhunspell_1.6$secondaryArchSuffix
|
||||
devel:libhyphen$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:liblcms2$secondaryArchSuffix
|
||||
@@ -118,8 +112,9 @@ PATCH()
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DEXECUTABLE_OUTPUT_PATH=$appsDir \
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$appsDir/Scribus \
|
||||
-DEXECUTABLE_OUTPUT_PATH=$appsDir/Scribus \
|
||||
-DPLUGINDIR=$appsDir/Scribus/plugins \
|
||||
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
|
||||
-DSHAREDIR=$dataDir \
|
||||
-DAPPLICATION_DATA_DIR=$dataDir \
|
||||
@@ -133,8 +128,23 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
mkdir -p $appsDir
|
||||
mv $appsDir/scribus $appsDir/Scribus
|
||||
rm -rf $prefix/bin
|
||||
addAppDeskbarSymlink $appsDir/Scribus Scribus
|
||||
mv $appsDir/Scribus/scribus $appsDir/Scribus/Scribus
|
||||
mv $appsDir/Scribus/pluginsgettext $appsDir/Scribus/plugins/gettext
|
||||
rm -rf $appsDir/Scribus/bin
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.scribus"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/scribus.rdef.in > $sourceDir/scribus.rdef
|
||||
|
||||
addResourcesToBinaries $sourceDir/scribus.rdef $appsDir/Scribus/Scribus
|
||||
addAppDeskbarSymlink $appsDir/Scribus/Scribus Scribus
|
||||
}
|
||||
Reference in New Issue
Block a user