mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-editors/qemacs: Remove old.
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST qemacs-0.4.1_pre20150916.tar.xz 1136592 BLAKE2B aff8875b81bd51f77bebcb4dfe60ed0d4396a05af1f42e6b8765e15f9e04e00162924c3514a9ea1e8cb8c0b9ecd2a4112b9d7a46b7d156c032d37d381f2ae0f0 SHA512 e9775ff3dfef6d6b6b263029a620e6575f9f4718b94c0acfcddc8e5da8cd835e57dfbd5fbd948778135b609ae0588924fc9a727b2e763a25148aa27886a9f467
|
||||
DIST qemacs-0.4.1_pre20170225.tar.xz 1147408 BLAKE2B 369f3c5ff1b1f7b22bbd1f70f0c150e425a5b68828e62db427e4b41c58c8ee9ae0449a83693e9354d88fc482691d7a5f3661360ef602aeaba963776c4725b894 SHA512 a17c8901c917f91401e16b4f857735957ab0d3533d9dcc7a0decf768f453b68023f45e1241225a84d35ba793beb69754e0f2caa857165f8223882d5041d56c99
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="QEmacs is a very small but powerful UNIX editor"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/qemacs"
|
||||
# snapshot of http://cvs.savannah.gnu.org/viewvc/?root=qemacs
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~ppc x86"
|
||||
IUSE="X png unicode xv"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
xv? ( x11-libs/libXv ) )
|
||||
png? ( >=media-libs/libpng-1.2:0= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-text/texi2html-5"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-Makefile.patch"
|
||||
epatch "${FILESDIR}/${P}-nostrip.patch"
|
||||
|
||||
# Change the manpage to reference a /real/ file instead of just an
|
||||
# approximation. Purely cosmetic!
|
||||
sed -i -e "s,^/usr/share/doc/qemacs,&-${PVR}," qe.1 || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# when using any other CFLAGS than -O0, qemacs will segfault on startup,
|
||||
# see bug 92011
|
||||
replace-flags "-O?" -O0
|
||||
|
||||
# Home-grown configure script, doesn't support most standard options
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--cc="$(tc-getCC)" \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable png) \
|
||||
$(use_enable xv) || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Does not support parallel building.
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc Changelog README TODO.org config.eg
|
||||
docinto html
|
||||
dodoc qe-doc.html
|
||||
|
||||
# Install headers so users can build their own plugins.
|
||||
insinto /usr/include/qe
|
||||
doins *.h
|
||||
insinto /usr/include/qe/libqhtml
|
||||
doins libqhtml/*.h
|
||||
}
|
||||
Reference in New Issue
Block a user