emacs: enabled new features (#2754)

* emacs: enabled new features

* Cleanup
This commit is contained in:
miqlas
2018-06-30 18:13:28 +02:00
committed by waddlesplash
parent 574a2e2d5a
commit 279286d4c9

View File

@@ -13,7 +13,7 @@ project planner, mail and news reader, debugger interface, calendar, and more.
HOMEPAGE="https://gnu.org/s/emacs/"
COPYRIGHT="2001-2018 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="http://www.artfiles.org/gnu.org/emacs/emacs-$portVersion.tar.xz"
CHECKSUM_SHA256="1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c"
PATCHES="emacs-$portVersion.patchset"
@@ -41,8 +41,11 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexecinfo$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgnutls$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
@@ -50,8 +53,11 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libexecinfo$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libgnutls$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -99,23 +105,15 @@ BUILD()
INSTALL()
{
# Install fix, emacs is stupid, required only in recipe-development
for f in emacs bootstrap-emacs; do
rm -rf src/$f
done
make install
# ctags fix
mv $binDir/ctags $binDir/ctags.emacs
mv $commandBinDir/ctags $commandBinDir/ctags.emacs
# Cleanup
find $dataDir -type f -name "*.el.gz" -delete
for f in appdata applications icons; do
rm -rf $dataDir/$f
done
rm -rf $libDir/systemd
# Icon