qemacs: Add a recipe for current CVS

The Haiku port has been upstreamed, so no need for a patch.
This commit is contained in:
François Revol
2013-12-23 00:33:00 +01:00
parent 94b731a939
commit 1b39f2f4a1

View File

@@ -0,0 +1,65 @@
SUMMARY="QEmacs 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="http://bellard.org/qemacs/"
SRC_URI="cvs://:pserver:anonymous@cvs.savannah.nongnu.org:/sources/qemacs/qemacs"
#CHECKSUM_MD5=""
REVISION="1"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2000-2003 Fabrice Bellard"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
qemacs$secondaryArchSuffix = $portVersion
app:qemacs$secondaryArchSuffix = $portVersion
cmd:qemacs$secondaryArchSuffix = $portVersion
cmd:qe$secondaryArchSuffix = $portVersion
cmd:html2png$secondaryArchSuffix = $portVersion
cmd:qemacs_pe2qe$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
# lib:libavcodec$secondaryArchSuffix
# lib:libavformat$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libpng$secondaryArchSuffix
# devel:libavcodec$secondaryArchSuffix
# devel:libavformat$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:which
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:texi2html
"
BUILD()
{
./configure --prefix=$prefix --datadir=$dataDir --mandir=$manDir
make
}
INSTALL()
{
make install
install -m 755 haiku-pe2qe.sh $binDir/qemacs-pe2qe
addAppDeskbarSymlink $binDir/qe QEmacs
}