Commit eaec04fa authored by satmandu's avatar satmandu Committed by GitHub

gemacs rebuild for new imagemagick7 (#5427)

parent 46ccd708
...@@ -3,20 +3,23 @@ require 'package' ...@@ -3,20 +3,23 @@ require 'package'
class Gemacs < Package class Gemacs < Package
description 'An extensible, customizable, free/libre text editor - and more.' description 'An extensible, customizable, free/libre text editor - and more.'
homepage 'https://www.gnu.org/software/emacs/' homepage 'https://www.gnu.org/software/emacs/'
version '27.1-1' @_ver = '27.1'
version "#{@_ver}-2"
compatibility 'all' compatibility 'all'
source_url 'https://ftpmirror.gnu.org/emacs/emacs-27.1.tar.xz' source_url "https://ftpmirror.gnu.org/emacs/emacs-#{@_ver}.tar.xz"
source_sha256 '4a4c128f915fc937d61edfc273c98106711b540c9be3cd5d2e2b9b5b2f172e41' source_sha256 '4a4c128f915fc937d61edfc273c98106711b540c9be3cd5d2e2b9b5b2f172e41'
binary_url ({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-2-chromeos-armv7l.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-1-chromeos-x86_64.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gemacs-27.1-2-chromeos-x86_64.tar.xz'
}) })
binary_sha256 ({ binary_sha256({
aarch64: '5d238f878cd80fa41dc83a3abc4a956466c08b336c2e01025a1bc2eb5532be72', aarch64: '270c65753da8ff73172aaecf8696eef4645204904d2345620ea54d24a880a814',
armv7l: '5d238f878cd80fa41dc83a3abc4a956466c08b336c2e01025a1bc2eb5532be72', armv7l: '270c65753da8ff73172aaecf8696eef4645204904d2345620ea54d24a880a814',
x86_64: '427c6f1c7143c449f7d2e53d82c82d191e87fed49d2e921916fc7aef2584ac0d', i686: '2b94b8c5016dbf1e39cdaf4d78e8678a9414232bac93701e0ba2e10e7864b428',
x86_64: '5055031715b416892f0da3c5d3faf0ff535e1ca74d57be96e8d2c0956de79794'
}) })
depends_on 'giflib' depends_on 'giflib'
...@@ -27,18 +30,20 @@ class Gemacs < Package ...@@ -27,18 +30,20 @@ class Gemacs < Package
depends_on 'sommelier' depends_on 'sommelier'
def self.build def self.build
system "./configure \ system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
--prefix=#{CREW_PREFIX} \ LDFLAGS='-flto=auto' \
--localstatedir=#{CREW_PREFIX}/share \ ./configure \
--without-selinux \ --prefix=#{CREW_PREFIX} \
--with-modules \ --localstatedir=#{CREW_PREFIX}/share \
--with-imagemagick \ --without-selinux \
--with-x=yes \ --with-modules \
--with-x-toolkit=gtk3 \ --with-imagemagick \
--with-gif=yes \ --with-x=yes \
--with-jpeg=yes \ --with-x-toolkit=gtk3 \
--with-png=yes \ --with-gif=yes \
--with-rsvg=yes" --with-jpeg=yes \
--with-png=yes \
--with-rsvg=yes"
system 'make' system 'make'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment