[arch-commits] Commit in mtpaint/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Fri Aug 30 11:19:21 UTC 2013
Date: Friday, August 30, 2013 @ 13:19:21
Author: arodseth
Revision: 96472
upgpkg: mtpaint 3.40-10, added more packages as make dependencies for fixing FS#36704
Modified:
mtpaint/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-30 10:03:50 UTC (rev 96471)
+++ PKGBUILD 2013-08-30 11:19:21 UTC (rev 96472)
@@ -5,13 +5,13 @@
pkgname=mtpaint
pkgver=3.40
-pkgrel=9
+pkgrel=10
pkgdesc='Simple paint program for creating icons and pixel based artwork'
arch=('x86_64' 'i686')
url='http://mtpaint.sourceforge.net/'
license=('GPL3')
-depends=('gtk2' 'giflib' 'openjpeg' 'desktop-file-utils' 'lcms2')
-makedepends=('setconf')
+depends=('gtk2' 'giflib' 'openjpeg' 'desktop-file-utils' 'lcms2' 'jasper')
+makedepends=('gtk2' 'giflib' 'openjpeg' 'lcms2' 'setconf' 'jasper')
install='mtpaint.install'
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
'libpng15.patch')
@@ -19,9 +19,9 @@
'be51d45d1146d6c61d1c2c12d1712134da5048dd7314e2741ff336cac6838de3')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i '../libpng15.patch'
+ patch -Np1 -i '../libpng15.patch'
sed -i 's:openjpeg.h:openjpeg-1.5/openjpeg.h:' src/png.c
sed -i 's:EGifOpenFileName(file_name, FALSE):EGifOpenFileName(file_name, FALSE, NULL):' src/png.c
sed -i 's:DGifOpenFileName(file_name):DGifOpenFileName(file_name, NULL):g' src/png.c
@@ -30,20 +30,20 @@
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
export CFLAGS="`pkg-config gtk+-2.0 --cflags` $CFLAGS"
- ./configure --prefix=/usr --mandir=/usr/share/man man intl gif jpeg tiff
+ ./configure --prefix=/usr --mandir=/usr/share/man man intl gif jpeg tiff
sed -i 's:-lpng:-lpng -lgif:' _conf.txt
sed -i 's:ungif:gif:g' _conf.txt
setconf _conf.txt CC 'gcc -w'
- make
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list