mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
81 lines
2.3 KiB
Bash
81 lines
2.3 KiB
Bash
SUMMARY="A powerful desktop publishing application"
|
|
DESCRIPTION="Scribus is an Open Source program that brings professional page \
|
|
layout to Linux, BSD UNIX, Solaris, OpenIndiana, GNU/Hurd, Mac OS X, OS/2 \
|
|
Warp 4, eComStation, Haiku and Windows desktops with a combination of \
|
|
press-ready output and new approaches to page design. Underneath a modern and \
|
|
user-friendly interface, Scribus supports professional publishing features, \
|
|
such as color separations, CMYK and spot colors, ICC color management, and \
|
|
versatile PDF creation."
|
|
HOMEPAGE="http://www.scribus.net"
|
|
COPYRIGHT="2014 Scribus Team"
|
|
LICENSE="GNU GPL v2"
|
|
SOURCE_URI="http://downloadsurceforge.net/project/scribus/scribus/1.4.4/scribus-1.4.4.tar.xz"
|
|
SOURCE_DIR="scribus-1.4.4"
|
|
CKECKSUM_MD5=""
|
|
REVISION="1"
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
PATCHES="
|
|
scribus-1.4.4.patchset
|
|
"
|
|
PROVIDES="
|
|
scribus$secondaryArchSuffix = $portVersion
|
|
app:Scribus
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
libqt4$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libfontconfig$secondaryArchSuffix
|
|
lib:libtiff$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:liblcms2$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libqt4${secondaryArchSuffix}_devel
|
|
devel:libz$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libtiff$secondaryArchSuffix
|
|
devel:libpython2.7
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:liblcms2$secondaryArchSuffix
|
|
devel:libfontconfig$secondaryArchSuffix
|
|
boost${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
BUILD()
|
|
{
|
|
cmake . -DCMAKE_INSTALL_PREFIX=$prefix \
|
|
-DEXECUTABLE_OUTPUT_PATH=$appsDir \
|
|
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
|
|
-DSHAREDIR=$dataDir \
|
|
-DDATA_DIR=$relativeDataDir \
|
|
-DAPPLICATION_DATA_DIR=$dataDir \
|
|
-DWANT_CAIRO=false
|
|
make $jobArgs
|
|
}
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm -f $binDir/scribus
|
|
rm -f $prefix/scribus
|
|
rm -f $prefix/bin/scribus
|
|
mv $appsDir/scribus $appsDir/Scribus
|
|
addAppDeskbarSymlink $appsDir/Scribus Scribus
|
|
mkdir -p $includeDir
|
|
mv $prefix/include/* $includeDir
|
|
rm -rf $prefix/include
|
|
rm -rf $prefix/lib
|
|
}
|