2011-11-09 19:18:13 +11:00
|
|
|
# Description: An open source SVG editor.
|
2017-02-11 16:29:26 +11:00
|
|
|
# URL: https://www.inkscape.org/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-11-01 23:35:12 +11:00
|
|
|
# Depends on: boehm-gc boost gsl gtkmm poppler-glib popt
|
2018-04-28 16:56:53 +10:00
|
|
|
# Optional: rtmpdump openldap libexif openjade gtk-doc gtkspell brotli
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
name=inkscape
|
2018-04-28 16:56:53 +10:00
|
|
|
version=0.92.3
|
|
|
|
release=1
|
2017-09-26 08:47:31 +10:00
|
|
|
source=(https://media.inkscape.org/dl/resources/file/$name-$version.tar.bz2
|
2018-09-03 22:58:47 +10:00
|
|
|
noconst.patch
|
|
|
|
poppler-0.65.0.patch)
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2018-04-28 16:56:53 +10:00
|
|
|
patch -p1 -i $SRC/noconst.patch
|
2018-09-03 22:58:47 +10:00
|
|
|
patch -p1 -i $SRC/poppler-0.65.0.patch
|
2018-04-28 16:56:53 +10:00
|
|
|
sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp
|
2017-09-26 08:47:31 +10:00
|
|
|
|
2015-12-07 11:21:19 +11:00
|
|
|
CXXFLAGS+=' -std=c++11'
|
2012-06-15 00:48:46 +10:00
|
|
|
|
2017-02-11 16:29:26 +11:00
|
|
|
./autogen.sh
|
|
|
|
|
2011-11-09 19:18:13 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2016-05-18 22:27:08 +10:00
|
|
|
--disable-nls \
|
|
|
|
--enable-lcms \
|
|
|
|
--enable-poppler-cairo \
|
|
|
|
--disable-strict-build \
|
|
|
|
--disable-dependency-tracking
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2012-03-02 23:29:46 +11:00
|
|
|
rm \
|
2016-05-18 22:27:08 +10:00
|
|
|
$PKG/usr/share/man/man1/inkscape.??.1 \
|
|
|
|
$PKG/usr/share/man/man1/inkscape.zh_TW.1
|
2012-03-02 23:29:46 +11:00
|
|
|
|
2011-11-09 19:18:13 +11:00
|
|
|
rm -r \
|
2016-05-18 22:27:08 +10:00
|
|
|
$PKG/usr/share/man/?? \
|
|
|
|
$PKG/usr/share/man/zh_TW
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
find $PKG/usr/share/inkscape -name README -exec rm -f {} +
|
2014-01-27 18:41:06 +11:00
|
|
|
/usr/bin/python -mcompileall $PKG
|
2011-11-09 19:18:13 +11:00
|
|
|
}
|