forked from ports/contrib
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# Description: An open source SVG editor.
|
|
# URL: http://www.inkscape.org
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Huynh Ngoc Chau Tran, tran dot huynh at laposte dot net
|
|
# Depends on: boehm-gc boost gsl gtkmm intltool lcms libart_lgpl popt
|
|
|
|
name=inkscape
|
|
version=0.48.4
|
|
release=2
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2
|
|
$name-0.48.0-spell.patch
|
|
$name-0.48.3.1-desktop.patch
|
|
$name-0.48.4-fix-member-decl.patch
|
|
$name-0.48.4-automake-1.13.patch
|
|
$name-$version-gc74-configure.patch
|
|
$name-$version-gc74.patch
|
|
$name-$version-freetype251.patch
|
|
$name-$version-poppler26.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/$name-0.48.0-spell.patch
|
|
patch -p1 -i $SRC/$name-0.48.3.1-desktop.patch
|
|
patch -p1 -i $SRC/$name-0.48.4-fix-member-decl.patch
|
|
patch -p1 -i $SRC/$name-0.48.4-automake-1.13.patch
|
|
patch -p1 -i $SRC/$name-$version-gc74-configure.patch
|
|
patch -p1 -i $SRC/$name-$version-gc74.patch
|
|
patch -p0 -i $SRC/$name-$version-freetype251.patch
|
|
patch -p1 -i $SRC/$name-$version-poppler26.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-nls
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm \
|
|
$PKG/usr/man/man1/inkscape.??.1 \
|
|
$PKG/usr/man/man1/inkscape.zh_TW.1
|
|
|
|
rm -r \
|
|
$PKG/usr/share/locale \
|
|
$PKG/usr/man/?? \
|
|
$PKG/usr/man/zh_TW
|
|
|
|
find $PKG/usr/share/inkscape -name README -exec rm -f {} +
|
|
/usr/bin/python -mcompileall $PKG
|
|
}
|