blob: bde816d1aec462f451e1f494cbdf6b7dd34ce78b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# Contributor: Simo Huhtiranta <simo_huhtirantaATpp_inet_fi>
# Contributor: Tilmann Becker <tilmann.becker@web.de>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Miguel Revilla RodrÃguez <yo at miguelrevilla.com>
pkgname=scribus-svn
pkgver=26453
pkgrel=1
pkgdesc="A desktop publishing program - Version from SVN"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
url="http://www.scribus.net"
depends=( boost-libs
cairo
fontconfig
freetype2
graphicsmagick
harfbuzz-icu
hicolor-icon-theme
hunspell
icu
lcms2
libcdr
libcups
libfreehand
libjpeg
libjxl
libmspub
libpagemaker
libpng
librevenge
libtiff
libvisio
libqxp
libxml2
libzmf
openscenegraph
openssl
podofo
poppler
python
qt6-5compat
qt6-base
qt6-declarative
qt6-imageformats
qt6-svg
zlib
)
makedepends=(cmake subversion qt6-tools boost)
optdepends=()
conflicts=('scribus')
provides=('scribus')
source=('scribus::svn://scribus.net/trunk')
sha256sums=('SKIP')
_svnmod='scribus'
pkgver() {
LANG=C
cd ${_svnmod}
local ver="$(svnversion)"
printf "%s" "${ver//[[:alpha:]]}"
}
prepare() {
cd ${_svnmod}/Scribus
# Nothing done here. Keeping for future needs.
}
build() {
cd ${_svnmod}/Scribus
cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DWANT_GRAPHICSMAGICK:BOOL=YES \
-DCMAKE_LIBRARY_PATH:PATH=/usr/lib/qt6 \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=FALSE \
-DQT_PREFIX:PATH="/usr" \
-DWANT_SVNVERSION:BOOL=YES \
-DWANT_CPP20:BOOL=YES \
-DWANT_CPP20=ON \
-DWITH_PODOFO=ON
make
}
package() {
cd ${_svnmod}/Scribus
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
install -Dm644 scribus.desktop "${pkgdir}"/usr/share/applications/scribus.desktop
install -d "${pkgdir}"/usr/share/pixmaps
ln -s /usr/share/scribus/icons/1_7_0/scribus-icon.svg "${pkgdir}"/usr/share/pixmaps/scribus.svg
}
|