summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Kitover <rkitover@gmail.com>2022-08-10 04:56:54 +0000
committerSam James <sam@gentoo.org>2022-08-10 06:01:48 +0100
commit1900c6b08321076d97823eac73a54380e2aa810f (patch)
treec65939e60e5db8f5fdbca9edaad4401a729ebd4f /x11-wm/jwm
parentnet-fs/nfs-utils: update HOMEPAGE (diff)
downloadgentoo-1900c6b08321076d97823eac73a54380e2aa810f.tar.gz
gentoo-1900c6b08321076d97823eac73a54380e2aa810f.tar.bz2
gentoo-1900c6b08321076d97823eac73a54380e2aa810f.zip
x11-wm/jwm: add 2.4.2
Switch to EAPI 8. Set SRC_URI to github release. Add pango USE flag for new version and add description for it to metadata.xml. Replace deprecated jpeg dep for new version. Update doc list. Signed-off-by: Rafael Kitover <rkitover@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26557 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-wm/jwm')
-rw-r--r--x11-wm/jwm/Manifest1
-rw-r--r--x11-wm/jwm/jwm-2.4.2.ebuild78
-rw-r--r--x11-wm/jwm/metadata.xml5
3 files changed, 84 insertions, 0 deletions
diff --git a/x11-wm/jwm/Manifest b/x11-wm/jwm/Manifest
index c96d0d49b67b..4d4a6142ab5d 100644
--- a/x11-wm/jwm/Manifest
+++ b/x11-wm/jwm/Manifest
@@ -1 +1,2 @@
DIST jwm-2.3.7.tar.xz 350332 BLAKE2B 479d853ae9b1dd2d1a39c9e823f39cd7671b477f6e9878bc6652072bce1ce364f8c392663dc1187a4a4970918c0f68cd506654f6dfe6c91cc5f1f2f275a2021b SHA512 dab0241518e52aa2e3e1ef3f67b6965ceb683bdb0224de7d3a653d76440606d70e86e35047eda40ea53a80aa227408be77739ad7c53d51f53026e3d113ab7efc
+DIST jwm-2.4.2.tar.xz 316000 BLAKE2B 7a0a1c5f60cb3554c999ce3d00d94af4d58ac4bdfcbaaa13a7b675273b4c5d0058c7c85bec950fa91d33a46a89f0b83faf2ab2cda0430a741884e2fdfd8116a7 SHA512 2669c3e2ab2d9a5539d02559108a2bc601bb2209de03dc15057a65c14b5e1268cc58009f4102c4d90302c0705ada5578997a3644c736a46a7e8cf13766cc92fe
diff --git a/x11-wm/jwm/jwm-2.4.2.ebuild b/x11-wm/jwm/jwm-2.4.2.ebuild
new file mode 100644
index 000000000000..d98f6fab191a
--- /dev/null
+++ b/x11-wm/jwm/jwm-2.4.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit wrapper
+
+DESCRIPTION="Very fast and lightweight still powerful window manager for X"
+HOMEPAGE="http://joewing.net/projects/jwm/"
+SRC_URI="https://github.com/joewing/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="svg debug iconv jpeg nls png pango truetype xinerama xpm"
+
+RDEPEND="dev-libs/expat
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXrender
+ svg? (
+ x11-libs/cairo
+ gnome-base/librsvg
+ )
+ iconv? ( virtual/libiconv )
+ jpeg? ( media-libs/libjpeg-turbo )
+ nls? ( sys-devel/gettext
+ virtual/libintl )
+ pango? ( x11-libs/pango )
+ png? ( media-libs/libpng:0= )
+ truetype? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )
+ xpm? ( x11-libs/libXpm )"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+
+src_configure() {
+ econf \
+ $(use_enable svg cairo) \
+ $(use_enable svg rsvg) \
+ $(use_enable debug) \
+ $(use_enable jpeg) \
+ $(use_enable nls) \
+ $(use_enable pango) \
+ $(use_enable png) \
+ $(use_enable truetype xft) \
+ $(use_enable xinerama) \
+ $(use_enable xpm) \
+ $(use_with iconv libiconv-prefix /usr) \
+ $(use_with nls libintl-prefix /usr) \
+ --enable-shape \
+ --enable-xrender \
+ --disable-rpath
+}
+
+src_install() {
+ dodir /etc
+ dodir /usr/bin
+ dodir /usr/share/man
+
+ default
+
+ make_wrapper "${PN}" "/usr/bin/${PN}" "" "" "/etc/X11/Sessions"
+
+ insinto "/usr/share/xsessions"
+ doins "${FILESDIR}"/jwm.desktop
+
+ dodoc README.md README.upgrading example.jwmrc CONTRIBUTING.md
+}
+
+pkg_postinst() {
+ einfo "JWM can be configured system-wide with ${EROOT}/etc/system.jwmrc"
+ einfo "or per-user by creating a configuration file in ~/.jwmrc"
+ einfo
+ einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/"
+}
diff --git a/x11-wm/jwm/metadata.xml b/x11-wm/jwm/metadata.xml
index 4eaa4897b0b5..2af5f3016b49 100644
--- a/x11-wm/jwm/metadata.xml
+++ b/x11-wm/jwm/metadata.xml
@@ -19,4 +19,9 @@
such as Puppy Linux and Damn Small Linux, and it is available as a separate
package in many other distributions.
</longdescription>
+ <use>
+ <flag name="pango">
+ Bidirectional text layout support with pango using xft backend.
+ </flag>
+ </use>
</pkgmetadata>