44 lines
971 B
Plaintext
44 lines
971 B
Plaintext
# Description: An open source SVG editor.
|
|
# URL: https://www.inkscape.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: boehm-gc boost gsl gtkmm intltool poppler-glib popt
|
|
|
|
name=inkscape
|
|
version=0.92.2
|
|
release=2
|
|
source=(https://media.inkscape.org/dl/resources/file/$name-$version.tar.bz2
|
|
poppler-0.58.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# https://gitlab.com/inkscape/inkscape/commit/93ccf03162cd2e46d962822d5507865f3451168c
|
|
patch -p1 -i $SRC/poppler-0.58.patch
|
|
|
|
CXXFLAGS+=' -std=c++11'
|
|
|
|
./autogen.sh
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--enable-lcms \
|
|
--enable-poppler-cairo \
|
|
--disable-strict-build \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm \
|
|
$PKG/usr/share/man/man1/inkscape.??.1 \
|
|
$PKG/usr/share/man/man1/inkscape.zh_TW.1
|
|
|
|
rm -r \
|
|
$PKG/usr/share/man/?? \
|
|
$PKG/usr/share/man/zh_TW
|
|
|
|
find $PKG/usr/share/inkscape -name README -exec rm -f {} +
|
|
/usr/bin/python -mcompileall $PKG
|
|
}
|