diff options
author | root <root@rshg054.dnsready.net> | 2013-09-07 02:08:54 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-07 02:08:54 -0700 |
commit | b764a223c0b6b4a0001839d8b0fd83b604fbb219 (patch) | |
tree | 92e9945b5910d1b8a83fbde05f301b4471de2c97 /community/mtpaint | |
parent | 670cfaf55e53f7380ca8ee7b4acb2bf0248685c4 (diff) |
Sat Sep 7 02:08:44 PDT 2013
Diffstat (limited to 'community/mtpaint')
-rw-r--r-- | community/mtpaint/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/mtpaint/PKGBUILD b/community/mtpaint/PKGBUILD index cee1881d0..c8e766304 100644 --- a/community/mtpaint/PKGBUILD +++ b/community/mtpaint/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 96739 2013-09-03 19:46:20Z arodseth $ +# $Id: PKGBUILD 96840 2013-09-06 11:15:47Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Roman Kyrylych <roman@archlinux.org> # Contributor: yosh64 <yosh64.at.gmail.dot.com> pkgname=mtpaint pkgver=3.40 -pkgrel=12 +pkgrel=13 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' 'libjpeg' 'openjpeg' 'desktop-file-utils' 'lcms2' - 'jasper' 'libtiff' 'libpng' 'freetype2') -makedepends=('gtk2' 'giflib' 'libjpeg' 'openjpeg' 'lcms2' 'jasper' 'libtiff' - 'libpng' 'freetype2') + 'libtiff' 'libpng' 'freetype2') +makedepends=('gtk2' 'giflib' 'libjpeg' 'openjpeg' 'lcms2' 'libtiff' 'libpng' + 'freetype2') install='mtpaint.install' source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") sha256sums=('ef321d2b404839c7b909bdf5283eb22a37fbdd35b4cc9e380ddc400573d7c890') @@ -21,6 +21,10 @@ sha256sums=('ef321d2b404839c7b909bdf5283eb22a37fbdd35b4cc9e380ddc400573d7c890') prepare() { cd "$pkgname-$pkgver" + # Recommended by Mark Tyler himself + sed -i 's:$LIBS $LDFLAGS:$LDFLAGS $LIBS:' configure + + # Needed for giflib 5. Not needed for mtpaint>3.40. 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 sed -i 's:MakeMapObject(:GifMakeMapObject(:g' src/png.c |