diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-12-14 23:53:08 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-12-15 00:00:08 +0100 |
commit | 45066d8180f75290340ddbee3bfdc0e008f411d1 (patch) | |
tree | bc247b114cae3ee24535edf8569f999e85014d36 /x11-wm/wmii | |
parent | kernel-2.eclass: Add required @USAGE documentation to functions. (diff) | |
download | gentoo-45066d8180f75290340ddbee3bfdc0e008f411d1.tar.gz gentoo-45066d8180f75290340ddbee3bfdc0e008f411d1.tar.bz2 gentoo-45066d8180f75290340ddbee3bfdc0e008f411d1.zip |
x11-wm/wmii: EAPI 6 bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r-- | x11-wm/wmii/wmii-3.9.2-r5.ebuild | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/x11-wm/wmii/wmii-3.9.2-r5.ebuild b/x11-wm/wmii/wmii-3.9.2-r5.ebuild new file mode 100644 index 000000000000..ebae29c6e73f --- /dev/null +++ b/x11-wm/wmii/wmii-3.9.2-r5.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit flag-o-matic multilib toolchain-funcs + +MY_P="wmii+ixp-${PV}" + +DESCRIPTION="A dynamic window manager for X11" +HOMEPAGE="http://wmii.suckless.org/" +SRC_URI="http://dl.suckless.org/wmii/${MY_P}.tbz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +CDEPEND=" + >=sys-libs/libixp-0.5_p20110208-r3 + x11-libs/libXft + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXinerama + >=media-libs/freetype-2 +" + +RDEPEND=" + ${CDEPEND} + x11-apps/xmessage + x11-apps/xsetroot + media-fonts/font-misc-misc +" + +DEPEND=" + ${CDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/${MY_P}" + +DOCS=( NEWS NOTES README TODO ) + +# Force dynamic linking, bug #273332 +MAKEOPTS="${MAKEOPTS} STATIC= -j1" + +src_prepare() { + default + mywmiiconf=( + PREFIX=/usr + DOC=/usr/share/doc/${PF} + ETC=/etc + LIBDIR=/usr/$(get_libdir) + CC="$(tc-getCC) -c" + LD="$(tc-getCC)" + AR="$(tc-getAR) crs" + DESTDIR="${D}" + LIBIXP=/usr/$(get_libdir)/libixp.so + ) + + # punt internal copy of sys-libs/libixp #323037 + rm -f 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_compile() { + append-flags -I/usr/include/freetype2 + emake "${mywmiiconf[@]}" +} + +src_install() { + emake "${mywmiiconf[@]}" install + + echo "${PN}" > "${T}/${PN}" || die + exeinto /etc/X11/Sessions + doexe "${T}/${PN}" + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" +} |