scribus 1.3.5.1 from bugs.gentoo.org
This commit is contained in:
parent
26186c5c51
commit
7bae3bf349
3
app-office/scribus/Manifest
Normal file
3
app-office/scribus/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
AUX scribus-1.3.5-fpic.patch 564 RMD160 71c853ad74a72c5b7914373b60a52b9e679e15d9 SHA1 ed3dfb044be9c69343aedc5b6edeee43291cc894 SHA256 01ec36689647ddfdeade2f476fde0b3c54fed0bf33954d2e4c568f8277b2d4a1
|
||||||
|
DIST scribus-1.3.5.1.tar.bz2 23680739 RMD160 8b8a73909b3c482de2a77cd344e91a8aedbf2611 SHA1 d138e47e2177974d18c2f7c87a1db9e462bf6287 SHA256 2e40fdf19aec6e4cfa7923bcf1214a8ab76e298c2a8401553fe808ee1b29006c
|
||||||
|
EBUILD scribus-1.3.5.1-r3.ebuild 1954 RMD160 84e725fe1faca04fb64d5e53b8cddbc62a8ed6d0 SHA1 4201e70cd83a4912c06d604e671dab3cbcebc9e0 SHA256 4e45a185fbdc4db2992a6ab6416355ac7bd98ac935620e8caab71679f4184e55
|
11
app-office/scribus/files/scribus-1.3.5-fpic.patch
Normal file
11
app-office/scribus/files/scribus-1.3.5-fpic.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- scribus/plugins/tools/2geomtools/lib2geom/CMakeLists.txt.old 2009-04-23 02:29:46.920745916 -0700
|
||||||
|
+++ scribus/plugins/tools/2geomtools/lib2geom/CMakeLists.txt 2009-04-23 02:31:52.794615295 -0700
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
#CB SET(CMAKE_CXX_FLAGS "-Wall")
|
||||||
|
#CB SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}")
|
||||||
|
# We need to pass -fPIC only to lib2geom on amd64 - avoid it elsewhere see: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
|
||||||
|
+SET(CMAKE_CXX_FLAGS "-fPIC")
|
||||||
|
|
||||||
|
OPTION(2GEOM_BUILD_SHARED
|
||||||
|
"Build lib2geom and libtoy as shared libraries."
|
||||||
|
|
80
app-office/scribus/scribus-1.3.5.1-r3.ebuild
Normal file
80
app-office/scribus/scribus-1.3.5.1-r3.ebuild
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=2
|
||||||
|
inherit qt4 cmake-utils eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux."
|
||||||
|
HOMEPAGE="http://www.scribus.net"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
IUSE="cairo cups debug spell +fontconfig xml gs python +imaging debug +podofo "
|
||||||
|
|
||||||
|
DEPEND="dev-libs/boost
|
||||||
|
>=media-libs/freetype-2.3.7
|
||||||
|
media-libs/jpeg
|
||||||
|
>=media-libs/lcms-1.15
|
||||||
|
media-libs/libpng
|
||||||
|
>=media-libs/tiff-3.6
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/qt-core:4
|
||||||
|
x11-libs/qt-gui:4
|
||||||
|
x11-libs/qt-sql:4
|
||||||
|
x11-libs/qt-xmlpatterns:4
|
||||||
|
dev-util/pkgconfig
|
||||||
|
cairo? ( >=x11-libs/cairo-1.4.10[X,svg] )
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
spell? ( app-text/aspell )
|
||||||
|
fontconfig? ( >=media-libs/fontconfig-2.0 )
|
||||||
|
xml? ( >=dev-libs/libxml2-2.6.0 )
|
||||||
|
gs? ( virtual/ghostscript )
|
||||||
|
python? ( >=dev-lang/python-2.3 )
|
||||||
|
imaging? ( dev-python/imaging )
|
||||||
|
podofo? ( >=app-text/podofo-0.5.0 )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Fix lib2geom relocation errors on amd64
|
||||||
|
if use amd64 ; then
|
||||||
|
epatch "${FILESDIR}/${PN}-1.3.5-fpic.patch"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs="${mycmakeargs}
|
||||||
|
-DWANT_NORPATH=ON
|
||||||
|
-D2GEOM_BUILD_SHARED=ON
|
||||||
|
-DHAVE_CMS=ON
|
||||||
|
-DHAVE_FONTCONFIG=ON
|
||||||
|
-DHAVE_LIBZ=ON
|
||||||
|
-DHAVE_TIFF=ON
|
||||||
|
-DWANT_NORPATH=ON
|
||||||
|
-DWANT_QTARTHUR=OFF
|
||||||
|
-DWANT_QT3SUPPORT=OFF
|
||||||
|
$(cmake-utils_use_has debug DEBUG )
|
||||||
|
$(cmake-utils_use_has python PYTHON )
|
||||||
|
$(cmake-utils_use_has spell ASPELL )
|
||||||
|
$(cmake-utils_use_want cairo CAIRO )
|
||||||
|
$(cmake-utils_use_want fontconfig FONTCONFIG )
|
||||||
|
$(cmake-utils_use_want xml XML )
|
||||||
|
$(cmake-utils_use_has podofo PODOFO ) "
|
||||||
|
|
||||||
|
if use amd64 ; then
|
||||||
|
mycmakeargs="${mycmakeargs} -DWANT_LIB64=ON"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake-utils_src_compile || die "compile failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
domenu scribus.desktop
|
||||||
|
doicon scribus/icons/scribus.png || die "doicon failed"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user