diff options
author | haawda | 2018-04-01 07:55:15 +0200 |
---|---|---|
committer | haawda | 2018-04-01 07:55:15 +0200 |
commit | e4a040ae67be8220f774fab6221cf8f80e310a0c (patch) | |
tree | be9c77cc05551ec8954f5a95f73dd7d925a95e1e | |
parent | 8ecfd3128d72a537202063ff74adf37cff946da3 (diff) | |
download | aur-e4a040ae67be8220f774fab6221cf8f80e310a0c.tar.gz |
add fix for new icu
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | icu_fix.patch | 9 |
3 files changed, 30 insertions, 17 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Tue Dec 19 00:04:52 UTC 2017 +# Sun Apr 1 05:54:58 UTC 2018 pkgbase = scribus-svn pkgdesc = A desktop publishing program - Version from SVN - pkgver = 22262 + pkgver = 22461 pkgrel = 1 url = http://www.scribus.net arch = i686 @@ -30,11 +30,12 @@ pkgbase = scribus-svn optdepends = lib2geom: for mesh distortion provides = scribus conflicts = scribus - options = !makeflags source = scribus::svn://scribus.net/trunk source = python2.patch + source = icu_fix.patch md5sums = SKIP md5sums = 98b93cecd7b87a3b1425d2e483cd0a05 + md5sums = 90b5e597dc5723a659048b288a6680b0 pkgname = scribus-svn @@ -3,7 +3,7 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=scribus-svn -pkgver=22262 +pkgver=22461 pkgrel=1 pkgdesc="A desktop publishing program - Version from SVN" arch=('i686' 'x86_64') @@ -17,33 +17,36 @@ makedepends=('subversion' 'cmake' 'qt5-tools') optdepends=('lib2geom: for mesh distortion') conflicts=('scribus') provides=('scribus') -source=('scribus::svn://scribus.net/trunk' python2.patch) +source=('scribus::svn://scribus.net/trunk' python2.patch icu_fix.patch) md5sums=('SKIP' - '98b93cecd7b87a3b1425d2e483cd0a05') -options=('!makeflags') + '98b93cecd7b87a3b1425d2e483cd0a05' + '90b5e597dc5723a659048b288a6680b0') _svnmod='scribus' pkgver() { - cd "$srcdir"/${_svnmod} + cd ${_svnmod} local ver="$(svnversion)" printf "%s" "${ver//[[:alpha:]]}" } prepare() { - cd "$srcdir"/$_svnmod/ - patch -Np1 < $srcdir/python2.patch || true + cd $_svnmod + patch -Np1 < "$srcdir"/python2.patch || true + cd Scribus + patch -Np0 < "$srcdir"/icu_fix.patch || true } build() { - cd "$srcdir"/$_svnmod/Scribus + cd $_svnmod/Scribus cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_SKIP_RPATH:BOOL=YES \ - -DWANT_GRAPHICSMAGICK=1 \ - -DCMAKE_LIBRARY_PATH=/usr/lib \ - -DCMAKE_INCLUDE_PATH=/usr/include/python2.7 \ - -DCMAKE_EXE_LINKER_FLAGS="-lQt5Quick -lQt5PrintSupport" \ - -DCMAKE_APPDATA_DIR=/usr/share/appdata \ - -DQT_PREFIX="/usr" -DWANT_SVNVERSION=1 + -DWANT_GRAPHICSMAGICK:BOOL=YES \ + -DCMAKE_LIBRARY_PATH:PATH=/usr/lib \ + -DCMAKE_INCLUDE_PATH:PATH=/usr/include/python2.7 \ + -DCMAKE_EXE_LINKER_FLAGS:STRING="-lQt5Quick -lQt5PrintSupport" \ + -DCMAKE_APPDATA_DIR:PATH=/usr/share/appdata \ + -DQT_PREFIX:PATH="/usr" -DWANT_SVNVERSION:BOOL=YES \ + make } diff --git a/icu_fix.patch b/icu_fix.patch new file mode 100644 index 000000000000..4a44385223ef --- /dev/null +++ b/icu_fix.patch @@ -0,0 +1,9 @@ +--- CMakeLists.txt (revision 22461) ++++ CMakeLists.txt (working copy) +@@ -926,5 +926,6 @@ + # CTL support + pkg_check_modules(HARFBUZZ REQUIRED harfbuzz>=0.9.42 harfbuzz-icu) + pkg_check_modules(ICU REQUIRED icu-uc) ++add_definitions(-DU_USING_ICU_NAMESPACE=1) + + |