summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-11 20:14:25 +0100
committerBen Kohler <bkohler@gentoo.org>2021-02-12 07:44:42 -0600
commit22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0 (patch)
tree3b6db41250b159577c92d23a324108e3be809387 /x11-wm
parentsys-fs/lessfs: Apply gcc-10 workaround (diff)
downloadgentoo-22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0.tar.gz
gentoo-22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0.tar.bz2
gentoo-22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0.zip
x11-wm/wmii: Port to EAPI 7
* Apply gcc-10 workaround (dead upstream) Closes: https://bugs.gentoo.org/706962 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmii/wmii-3.9.2-r5.ebuild42
1 files changed, 19 insertions, 23 deletions
diff --git a/x11-wm/wmii/wmii-3.9.2-r5.ebuild b/x11-wm/wmii/wmii-3.9.2-r5.ebuild
index ce878f3d1ccd..1199ba5c7cad 100644
--- a/x11-wm/wmii/wmii-3.9.2-r5.ebuild
+++ b/x11-wm/wmii/wmii-3.9.2-r5.ebuild
@@ -1,43 +1,34 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic multilib toolchain-funcs
MY_P="wmii+ixp-${PV}"
DESCRIPTION="A dynamic window manager for X11"
-HOMEPAGE="http://wmii.suckless.org/"
+HOMEPAGE="https://github.com/0intro/wmii"
SRC_URI="http://dl.suckless.org/wmii/${MY_P}.tbz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE=""
-CDEPEND="
+DEPEND="
+ media-libs/freetype
>=sys-libs/libixp-0.5_p20110208-r3
- x11-libs/libXft
x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
- x11-libs/libX11
- x11-libs/libXinerama
- >=media-libs/freetype-2
-"
-
-RDEPEND="
- ${CDEPEND}
- x11-apps/xmessage
- x11-apps/xsetroot
+ x11-libs/libX11"
+RDEPEND="${DEPEND}
media-fonts/font-misc-misc
-"
-
-DEPEND="
- ${CDEPEND}
- virtual/pkgconfig
-"
+ x11-apps/xmessage
+ x11-apps/xsetroot"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
@@ -61,13 +52,18 @@ src_prepare() {
)
# punt internal copy of sys-libs/libixp #323037
- rm -f include/ixp{,_srvutil}.h || die
+ rm include/ixp{,_srvutil}.h || die
sed -i -e '/libixp/d' Makefile || die
sed -i -e "/BINSH \!=/d" mk/hdr.mk || die #335083
sed -i -e 's/-lXext/& -lXrender -lX11/' cmd/Makefile || die #369115
}
+src_configure() {
+ append-flags -fcommon
+ default
+}
+
src_compile() {
append-flags -I/usr/include/freetype2
emake "${mywmiiconf[@]}"
@@ -81,5 +77,5 @@ src_install() {
doexe "${T}/${PN}"
insinto /usr/share/xsessions
- doins "${FILESDIR}/${PN}.desktop"
+ doins "${FILESDIR}"/${PN}.desktop
}