|
|
@ -5,6 +5,12 @@ |
|
|
|
# The difference between this PKGBUILD and the one from `emacs-git` is that: |
|
|
|
# - this one builds emacs from `feature/native-comp` branch. |
|
|
|
# - built-in packages are native compiled by default. |
|
|
|
# - this one builds emacs from flatwhatson's `pgtk-nativecomp` branch, which |
|
|
|
# contains an up-to-date merge of masm11 and fejfighter's pgtk work with |
|
|
|
# the feature/native-comp branch from the official emacs repo |
|
|
|
# - the pure-GTK3 rendering backend is enabled |
|
|
|
# - the xwidgets webkit2gtk support is enabled |
|
|
|
# - the native Elisp compiler is enabled |
|
|
|
# - link-time optimization is disabled by default. |
|
|
|
# |
|
|
|
# Pre-compiling all built-in elisp modules takes *hours* on fast systems. You |
|
|
@ -56,7 +62,7 @@ CAIRO="YES" # GOOD NEWS! No longer experimental and fully supported. |
|
|
|
# This is now, along with harfbuzz, the prefered font |
|
|
|
# and text shaping engine. |
|
|
|
# If using GTK+, you'll get printing for free. |
|
|
|
XWIDGETS= # Use GTK+ widgets pulled from webkit2gtk. Usable. |
|
|
|
XWIDGETS="YES" # Use GTK+ widgets pulled from webkit2gtk. Usable. |
|
|
|
DOCS_HTML= # Generate and install html documentation. |
|
|
|
DOCS_PDF= # Generate and install pdf documentation. |
|
|
|
MAGICK= # ImageMagick 7 support. Deprecated (read the logs). |
|
|
@ -71,10 +77,10 @@ PROFILING= # Enable gprof profiling support. |
|
|
|
################################################################################ |
|
|
|
|
|
|
|
################################################################################ |
|
|
|
pkgname="emacs-native-comp-git" |
|
|
|
pkgver=28 |
|
|
|
pkgrel=3 |
|
|
|
pkgdesc="GNU Emacs. Development native-comp branch." |
|
|
|
pkgname="emacs-pgtk-native-comp-git" |
|
|
|
pkgver=28.0.50.143840 |
|
|
|
pkgrel=1 |
|
|
|
pkgdesc="GNU Emacs. Unofficial pgtk-nativecomp branch." |
|
|
|
arch=('x86_64' ) |
|
|
|
url="http://www.gnu.org/software/emacs/" |
|
|
|
license=('GPL3' ) |
|
|
@ -83,7 +89,7 @@ makedepends=('git') |
|
|
|
provides=('emacs' 'emacs-seq') |
|
|
|
conflicts=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-git' 'emacs-seq') |
|
|
|
replaces=('emacs26-git' 'emacs27-git' 'emacs-git' 'emacs-seq') |
|
|
|
source=("emacs-git::git://git.savannah.gnu.org/emacs.git#commit=3e3843512bfae0b7a532f633e45d4c140807ec9b") |
|
|
|
source=("emacs-git::git://github.com/flatwhatson/emacs.git#commit=eeb94f39ded1a282f16a661a9e4576fa4b6510e7") |
|
|
|
# If Savannah access is blocked for reasons, use Github instead. |
|
|
|
# Edit the config file of your local repo copy as well. |
|
|
|
#source=("emacs-git::git://github.com/emacs-mirror/emacs.git") |
|
|
@ -218,6 +224,7 @@ build() { |
|
|
|
--without-gconf |
|
|
|
--without-gsettings |
|
|
|
--with-nativecomp |
|
|
|
--with-pgtk |
|
|
|
) |
|
|
|
|
|
|
|
################################################################################ |
|
|
|