summaryrefslogtreecommitdiff
path: root/x11-wm/wmii
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-06 03:21:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-06 03:21:28 +0100
commit681aad60df032a891dbbfc38f3ea4b404d6a8579 (patch)
treeda5eff2b4d9c8cca5f6df280543b43707f372f69 /x11-wm/wmii
parent2092ebe8b45cc45ad3357e2ccb2c37d5c1eaba2a (diff)
gentoo auto-resync : 06:08:2023 - 03:21:27
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r--x11-wm/wmii/Manifest1
-rw-r--r--x11-wm/wmii/wmii-3.9.2-r8.ebuild86
2 files changed, 87 insertions, 0 deletions
diff --git a/x11-wm/wmii/Manifest b/x11-wm/wmii/Manifest
index 02ce354b70cf..72cb3e0ad9e9 100644
--- a/x11-wm/wmii/Manifest
+++ b/x11-wm/wmii/Manifest
@@ -3,4 +3,5 @@ AUX wmii.desktop 106 BLAKE2B b92235ce6a4f21648baf326952bf7dd0cc9f76670b97a41316d
DIST wmii+ixp-3.9.2.tbz 432032 BLAKE2B 176b0cee20de3bac6eb23584650fc9beed793cfce1b2af9d47fc7be675da094d90670e8566b1dce264a8715711aa0d3cd207d9b8ef243bd48343fd5fe3c645f7 SHA512 c75d6d3f80e2b263c8d7b9eb6d0e700a1ad642209fc0984908e9399d22372c6c0572f47ab61881d5d56c4cc4eeb2914a545f6af1bbb936b65848764577d75761
EBUILD wmii-3.9.2-r6.ebuild 1644 BLAKE2B 8d1aadc39751bc8e85d6745e57dc8c2342d7dea5b897357ef62fbd86c3669b5c0e1cac912f90865e0339cbc2b882828a6ce83ddc2478318496788ad4fcc722e4 SHA512 ad857a5e68236dc3d8669b21d9aac5d03ca52a442044a2a1a40c16fcb4f0d03d80a15cb1e3d9596c339990e4e28190da35f3c65d1320838194f87ba0c78ee00d
EBUILD wmii-3.9.2-r7.ebuild 1702 BLAKE2B 38225c543b840fc99c41254f279cb75710e7242e4189efe169b29d17cfb93897045ac74d4fea00f59e89cec245986afa1ac98278a86f2e8d2681f1b2b0553ac2 SHA512 72b6264ddc4257e5e188c0b4409f2589325d69a8b0d528aae016370496cc65d369264c597279814a045bb3a2309feac60ffc7a2d46664ebaa2ad037298cea9e4
+EBUILD wmii-3.9.2-r8.ebuild 1694 BLAKE2B 77b592bbb85c40bcc8c54a0f75970801b02e3b06f3e8eff5ab1547a03cae33f1a14ea6d0bfe44149378bfd77ac84dd60bfbc173e88de59393105b38795d055d4 SHA512 a5d88358f615cc22fb8e07b432bcd2980332c4915dcbc9a1aeb39b1399aaafdb71387906df9c087374fbf7479a6a9cf787e87198acf2c174ae64b9add86dc395
MISC metadata.xml 679 BLAKE2B f10995eaa362f8bc6d6a5a3a8f071c70f0dab13cb5ea3a757a32344e3a3368d73bfb14005ed0c6aafb72e3025734ab0cadc57424a960e92e57b994fe71933e83 SHA512 4bc28ee099e43d8f7a5d4efdf55b8b09b23c12cd03bb53f112dbfca94e480cd501fe13cf8a71cf0056f6e2b6ed13f89c06e992a950794463be1b2a72a3b56856
diff --git a/x11-wm/wmii/wmii-3.9.2-r8.ebuild b/x11-wm/wmii/wmii-3.9.2-r8.ebuild
new file mode 100644
index 000000000000..f800a69592fe
--- /dev/null
+++ b/x11-wm/wmii/wmii-3.9.2-r8.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P="wmii+ixp-${PV}"
+
+DESCRIPTION="A dynamic window manager for X11"
+HOMEPAGE="https://github.com/0intro/wmii"
+SRC_URI="https://dl.suckless.org/wmii/${MY_P}.tbz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+DEPEND="
+ media-libs/freetype
+ >=sys-libs/libixp-0.5_p20110208-r3
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libX11"
+RDEPEND="${DEPEND}
+ media-fonts/font-misc-misc
+ x11-apps/xmessage
+ x11-apps/xsetroot"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( NEWS NOTES README TODO )
+
+# Force dynamic linking, bug #273332
+MAKEOPTS="${MAKEOPTS} STATIC= -j1"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.9.2-libdir.patch
+)
+
+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"
+ LIBIXP="${ESYSROOT}/usr/$(get_libdir)/libixp.so"
+ )
+
+ # Punt internal copy of sys-libs/libixp, bug #323037
+ rm include/ixp{,_srvutil}.h || die
+ sed -i -e '/libixp/d' Makefile || die
+
+ # bug #335083
+ sed -i -e "/BINSH \!=/d" mk/hdr.mk || die
+ # bug #369115
+ sed -i -e 's/-lXext/& -lXrender -lX11/' cmd/Makefile || die
+}
+
+src_compile() {
+ append-flags -I"${ESYSROOT}"/usr/include/freetype2
+ append-flags -fcommon
+
+ emake "${mywmiiconf[@]}"
+}
+
+src_install() {
+ emake "${mywmiiconf[@]}" DESTDIR="${D}" install
+
+ exeinto /etc/X11/Sessions
+ newexe - ${PN} <<-EOF
+ #!/bin/sh
+ ${PN}
+ EOF
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}"/${PN}.desktop
+}