2011-11-09 19:18:13 +11:00
|
|
|
# Description: An open source SVG editor.
|
|
|
|
# URL: http://www.inkscape.org
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2011-11-09 19:18:13 +11:00
|
|
|
# Packager: Huynh Ngoc Chau Tran, tran dot huynh at laposte dot net
|
2015-03-10 18:48:19 +11:00
|
|
|
# Depends on: boehm-gc boost gsl gtkmm intltool libart_lgpl poppler-glib popt
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
name=inkscape
|
2014-08-22 18:48:39 +10:00
|
|
|
version=0.48.5
|
2015-03-10 18:48:19 +11:00
|
|
|
release=2
|
2012-06-15 00:48:46 +10:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2
|
2015-03-10 18:48:19 +11:00
|
|
|
ime-placement.patch
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/inkscape/inkscape-0.48.5-gc-1.patch
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/inkscape/inkscape-0.48.5-poppler-1.patch)
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2014-08-22 18:48:39 +10:00
|
|
|
patch -p1 -i $SRC/ime-placement.patch
|
2015-03-10 18:48:19 +11:00
|
|
|
patch -p1 -i $SRC/inkscape-0.48.5-gc-1.patch
|
|
|
|
patch -p1 -i $SRC/inkscape-0.48.5-poppler-1.patch
|
|
|
|
|
|
|
|
aclocal
|
|
|
|
automake
|
2012-06-15 00:48:46 +10:00
|
|
|
|
2011-11-09 19:18:13 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2012-03-02 23:29:46 +11:00
|
|
|
rm \
|
|
|
|
$PKG/usr/man/man1/inkscape.??.1 \
|
|
|
|
$PKG/usr/man/man1/inkscape.zh_TW.1
|
|
|
|
|
2011-11-09 19:18:13 +11:00
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/locale \
|
2012-03-02 23:29:46 +11:00
|
|
|
$PKG/usr/man/?? \
|
|
|
|
$PKG/usr/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
|
|
|
}
|