aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-gtk2/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-01 13:33:45 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-01 13:33:45 +0200
commit731b62af4750d93321f74d66ba291ca1dd6301e8 (patch)
treed4ef07d3e9c5fb5ac8df32fad8fd2b2d18bf33a6 /emacs-gtk2/PKGBUILD
parentupdate emacs-d-mode (diff)
downloadaur-packages-731b62af4750d93321f74d66ba291ca1dd6301e8.tar.gz
aur-packages-731b62af4750d93321f74d66ba291ca1dd6301e8.tar.bz2
aur-packages-731b62af4750d93321f74d66ba291ca1dd6301e8.tar.xz
update emacs with patch for giflib5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'emacs-gtk2/PKGBUILD')
-rw-r--r--emacs-gtk2/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/emacs-gtk2/PKGBUILD b/emacs-gtk2/PKGBUILD
index 0a9a185..4182d3b 100644
--- a/emacs-gtk2/PKGBUILD
+++ b/emacs-gtk2/PKGBUILD
@@ -5,23 +5,27 @@
_pkgname=emacs
pkgname=$_pkgname-gtk2
pkgver=24.3
-pkgrel=4
+pkgrel=6
pkgdesc="The extensible, customizable, self-documenting real-time display editor. GTK2 version"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL3')
depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk2' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick>=6.8.4.7')
install=emacs-gtk2.install
-source=(ftp://ftp.gnu.org/gnu/emacs/$_pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('70aa2942e9ae689ed17eddedfca5027c364ffbcc8b59968b1645e935f4c7058d' '6c258b159c921006eee4b1a1aeb1be75a79ad8ed92b36b1b08b262d41a091093')
+source=(ftp://ftp.gnu.org/gnu/emacs/$_pkgname-$pkgver.tar.xz{,.sig} emacs-24.3-giflib5.patch)
+sha256sums=('70aa2942e9ae689ed17eddedfca5027c364ffbcc8b59968b1645e935f4c7058d'
+ '6c258b159c921006eee4b1a1aeb1be75a79ad8ed92b36b1b08b262d41a091093'
+ '3a13fa178711b652366d13b4b9996d7db4355261615f38d1e8ab2c8d7725d1a9')
provides=('emacs')
conflicts=('emacs')
build() {
cd "$srcdir"/emacs-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
- --localstatedir=/var --with-x-toolkit=gtk2 --with-xft
+ patch -Np0 -i ../emacs-24.3-giflib5.patch
+ ac_cv_lib_gif_EGifPutExtensionLast=yes ./configure \
+ --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
+ --localstatedir=/var --with-x-toolkit=gtk2 --with-xft
make
}