Files
haikuports/app-editors/qemacs/qemacs-0.4.1~pre20170225.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

69 lines
1.9 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="A nimbler version of the famous Emacs editor"
DESCRIPTION="QEmacs (for Quick Emacs), a very small but powerful UNIX editor.
It has features that even big editors lack:
- Full screen editor with an Emacs look and feel with all Emacs common features.
- Full UTF8 support.
- WYSIWYG HTML/XML/CSS2 mode graphical editing.
- WYSIWYG DocBook.
- C mode: coloring with immediate update. Emacs like auto-indent.
- Shell mode, Hexadecimal editing...
The provided qemacs-pe2qe script converts your Pe color settings to the Qemacs \
syntax."
HOMEPAGE="https://bellard.org/qemacs/"
COPYRIGHT="2000-2003 Fabrice Bellard"
LICENSE="GNU LGPL v2.1"
REVISION="5"
SOURCE_URI="https://dev.gentoo.org/~ulm/distfiles/qemacs-0.4.1_pre20170225.tar.xz"
CHECKSUM_SHA256="9a3f754effbd9253b7aec9909fea801fc233cf69f98f6c807e5334ae1c8a08a6"
SOURCE_DIR="qemacs"
PATCHES="qemacs-0.4.0dev.patchset"
ARCHITECTURES="?all x86_gcc2"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
qemacs$secondaryArchSuffix = $portVersion
app:qemacs$secondaryArchSuffix = $portVersion
cmd:html2png$secondaryArchSuffix = $portVersion
cmd:qe$secondaryArchSuffix = $portVersion
cmd:qemacs$secondaryArchSuffix = $portVersion
cmd:qemacs_pe2qe$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
# lib:libavcodec$secondaryArchSuffix
# lib:libavformat$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
# devel:libavcodec$secondaryArchSuffix
# devel:libavformat$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:texi2html
cmd:which
"
BUILD()
{
./configure --prefix=$prefix --datadir=$dataDir --mandir=$manDir
make
}
INSTALL()
{
make install
install -m 755 haiku-pe2qe.sh $binDir/qemacs-pe2qe
addResourcesToBinaries qemacs.rdef $binDir/qemacs
addAppDeskbarSymlink $binDir/qe QEmacs
}