From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/evilwm/
Date: Thu, 28 Dec 2017 10:10:12 +0000 (UTC) [thread overview]
Message-ID: <1514455799.0342a180ba6e0e85ddd5461928438e946adda114.soap@gentoo> (raw)
commit: 0342a180ba6e0e85ddd5461928438e946adda114
Author: charIes17 <charles17 <AT> arcor <DOT> de>
AuthorDate: Tue Dec 19 13:00:51 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 10:09:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0342a180
x11-wm/evilwm: Bump to EAPI=6
Bug: https://bugs.gentoo.org/615312
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5691
x11-wm/evilwm/evilwm-1.0.1-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++++
x11-wm/evilwm/evilwm-1.1.1.ebuild | 36 +++++++++++++--------------
2 files changed, 65 insertions(+), 18 deletions(-)
diff --git a/x11-wm/evilwm/evilwm-1.0.1-r1.ebuild b/x11-wm/evilwm/evilwm-1.0.1-r1.ebuild
new file mode 100644
index 00000000000..a23d0ebd5ef
--- /dev/null
+++ b/x11-wm/evilwm/evilwm-1.0.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop toolchain-funcs
+
+DESCRIPTION="A minimalist, no frills window manager for X"
+HOMEPAGE="http://www.6809.org.uk/evilwm/"
+SRC_URI="http://www.6809.org.uk/evilwm/${P}.tar.gz"
+
+LICENSE="MIT 9wm"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc64-solaris"
+IUSE=""
+
+RDEPEND="x11-libs/libXext
+ x11-libs/libXrandr"
+
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+src_prepare() {
+ default
+ sed -e 's/^#define DEF_FONT.*/#define DEF_FONT "fixed"/' \
+ -i evilwm.h || die "sed font failed"
+ sed -i -e '/^CFLAGS/s/ -Os/ /' \
+ -e 's/install -s /install /' Makefile || die "sed opt failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" prefix="\$(DESTDIR)/${EPREFIX}/usr" XROOT="${EPREFIX}/usr" LDPATH="-L${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="\$(DESTDIR)/${EPREFIX}/usr" install
+
+ einstalldocs
+
+ echo -e "#!${EPREFIX}/bin/sh\nexec \"${EPREFIX}/usr/bin/${PN}\"" > "${T}/${PN}" || die
+ exeinto /etc/X11/Sessions
+ doexe "${T}/${PN}"
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}/${PN}.desktop"
+ domenu "${FILESDIR}"/evilwm.desktop
+}
diff --git a/x11-wm/evilwm/evilwm-1.1.1.ebuild b/x11-wm/evilwm/evilwm-1.1.1.ebuild
index f7bf3c01701..e1ae05372ef 100644
--- a/x11-wm/evilwm/evilwm-1.1.1.ebuild
+++ b/x11-wm/evilwm/evilwm-1.1.1.ebuild
@@ -1,45 +1,45 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit toolchain-funcs
-
-MY_P=${P/_}
+EAPI=6
+inherit desktop toolchain-funcs
DESCRIPTION="A minimalist, no frills window manager for X"
HOMEPAGE="http://www.6809.org.uk/evilwm/"
-SRC_URI="http://www.6809.org.uk/${PN}/${MY_P}.tar.gz"
+SRC_URI="http://www.6809.org.uk/evilwm/${P}.tar.gz"
LICENSE="MIT 9wm"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc64-solaris"
IUSE=""
-RDEPEND="x11-libs/libX11
+RDEPEND="x11-libs/libXext
x11-libs/libXrandr
- x11-libs/libXext"
+ x11-libs/libX11"
DEPEND="${RDEPEND}
x11-proto/xproto"
-S=${WORKDIR}/${MY_P}
-
src_prepare() {
+ default
sed -e 's/^#define DEF_FONT.*/#define DEF_FONT "fixed"/' \
- -i evilwm.h || die
-
- sed -e '/Encoding/d' \
- -i ${PN}.desktop || die
+ -i evilwm.h || die "sed font failed"
+ sed -e '/Encoding/d' -i ${PN}.desktop || die
}
src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
- emake DESTDIR="${D}" prefix="${EPREFIX}/usr" INSTALL_STRIP="" install || die
- dodoc ChangeLog README TODO || die
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" INSTALL_STRIP="" install
- echo -e "#!${EPREFIX}/bin/sh\nexec \"${EPREFIX}/usr/bin/${PN}\"" > "${T}"/${PN}
+ einstalldocs
+
+ echo -e "#!${EPREFIX}/bin/sh\nexec \"${EPREFIX}/usr/bin/${PN}\"" > "${T}/${PN}" || die
exeinto /etc/X11/Sessions
- doexe "${T}"/${PN} || die
+ doexe "${T}/${PN}"
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}/${PN}.desktop"
+ domenu "${FILESDIR}"/evilwm.desktop
}
next reply other threads:[~2017-12-28 10:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-28 10:10 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-13 6:16 [gentoo-commits] repo/gentoo:master commit in: x11-wm/evilwm/ Joonas Niilola
2024-12-09 20:17 Sam James
2024-12-09 19:29 Arthur Zamarin
2024-10-04 8:13 Sam James
2024-08-01 16:51 Andreas Sturmlechner
2024-08-01 16:51 Andreas Sturmlechner
2023-12-19 17:01 Arthur Zamarin
2023-12-18 7:10 Joonas Niilola
2023-12-18 1:09 Sam James
2023-05-27 7:49 Joonas Niilola
2023-05-27 7:49 Joonas Niilola
2022-08-29 8:06 Andreas Sturmlechner
2021-09-26 17:52 Sam James
2021-09-26 17:52 Sam James
2021-09-26 7:28 Agostino Sarubbo
2021-09-03 5:33 Joonas Niilola
2018-02-11 11:36 Michał Górny
2018-01-04 11:47 Mikle Kolyada
2018-01-04 11:45 Mikle Kolyada
2017-12-26 18:56 Amy Liffey
2017-01-15 11:37 Manuel Rüger
2015-09-04 13:36 Tony Vroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1514455799.0342a180ba6e0e85ddd5461928438e946adda114.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox