diff options
author | Vlastimil Krejčíř <vlastimil.krejcir@gmail.com> | 2023-02-10 10:48:13 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-02-25 11:11:42 +0200 |
commit | 65c10c0b6351afcf753e29def995c6aa43b44855 (patch) | |
tree | 8c255171dd43c313ad160aecf9aa4579cb77c993 /x11-wm/pekwm | |
parent | x11-misc/xpad: add dev-libs/libayatana-appindicator to RDEPEND (diff) | |
download | gentoo-65c10c0b6351afcf753e29def995c6aa43b44855.tar.gz gentoo-65c10c0b6351afcf753e29def995c6aa43b44855.tar.bz2 gentoo-65c10c0b6351afcf753e29def995c6aa43b44855.zip |
x11-wm/pekwm: add 0.3.0
Signed-off-by: Vlastimil Krejčíř <vlastimil.krejcir@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29517
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-wm/pekwm')
-rw-r--r-- | x11-wm/pekwm/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/pekwm/metadata.xml | 1 | ||||
-rw-r--r-- | x11-wm/pekwm/pekwm-0.3.0.ebuild | 87 |
3 files changed, 89 insertions, 0 deletions
diff --git a/x11-wm/pekwm/Manifest b/x11-wm/pekwm/Manifest index 8f2cecc362d3..4738666797b2 100644 --- a/x11-wm/pekwm/Manifest +++ b/x11-wm/pekwm/Manifest @@ -1,3 +1,4 @@ DIST pekwm-0.1.18.tar.gz 441810 BLAKE2B 8c3e98490681eed68e0f127c38c1653f8d643ceca2ddf8388f6b434d16daeb376fc9337de71786a658e9d9e7a080de922207173edb624b78732bc14da5d42eeb SHA512 31fe291b245b6e13fdfe27878162fd405fd60a766e9a7e762e817391179e7f82c41b664fba568af91e009582729e4633d23f76db95302f6f702cb74c2571db15 DIST pekwm-0.2.1.tar.gz 943072 BLAKE2B 61a278a42517de4b2924c6e0cffdd0b112c3a1a52b70e24d6ed852a8e5005f76b4eb9a342af073481404fae68265452b140ea19539723733ec860f7cbd615598 SHA512 cefb5abb43f88cff874f12586f0f2c0b88d30fd0ce22c6e18731b11055abea389819a08a4e85a9290021ffe30708ea210c66a0f3f8c263717c05abd798fdf297 +DIST pekwm-0.3.0.tar.gz 1210295 BLAKE2B 2882d8f9103fbfdad12d3dc519b3468a3d85e622e1f4352ccf7849a02f9f7d2f6a1c039d0e9df75ffd58a063f866fe8998eb10bc7e1c2a1766a9056328b136de SHA512 7b59f6883cc449a4a4e11fa1d2629c76b26bac0ad12f7c7e02da2b79292dd5515915152e9955875d3335deca4cf590d7078645bcf59bdad7ce0f65929b315b43 DIST pekwm-themes.tar.bz2 138599 BLAKE2B b0c103d7ade6f9bb1ed19b7e12cfcf00fb48be7e1ed141a4b52aee404ebf9c7af5d29af166ff7265a720ca8d122ad7eddb6eaf42a0a8e18b6c1ff3af7b5e12d0 SHA512 c95bc980b5aeeb4f4832cb2dbbf82adf72e4a784fcd46432fd6e6a6577ef02823ec1c4b861d07747c066050fc5040aca975e2cdc78342abab99a3d486888a25d diff --git a/x11-wm/pekwm/metadata.xml b/x11-wm/pekwm/metadata.xml index a79a93a7efee..e8269632a2e5 100644 --- a/x11-wm/pekwm/metadata.xml +++ b/x11-wm/pekwm/metadata.xml @@ -12,6 +12,7 @@ </longdescription> <use> <flag name="contrib">Install optional extras in the documentation directory</flag> + <flag name="pango">Pango font support</flag> <flag name="themes">Install additional themes</flag> </use> <upstream> diff --git a/x11-wm/pekwm/pekwm-0.3.0.ebuild b/x11-wm/pekwm/pekwm-0.3.0.ebuild new file mode 100644 index 000000000000..35850bf07585 --- /dev/null +++ b/x11-wm/pekwm/pekwm-0.3.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop optfeature + +DESCRIPTION="A lightweight window manager initially based on aewm++" +HOMEPAGE=" + https://www.pekwm.se/ + https://github.com/pekwm/pekwm +" +SRC_URI=" + https://github.com/pekwm/${PN}/releases/download/release-${PV}/pekwm-${PV}.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="debug +jpeg pango +png truetype xinerama +xpm" + +RDEPEND=" + png? ( media-libs/libpng:0 ) + jpeg? ( media-libs/libjpeg-turbo ) + xpm? ( x11-libs/libXpm ) + x11-libs/libX11 + x11-libs/libXext + truetype? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama ) + pango? ( x11-libs/pango x11-libs/cairo[X] )" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_IMAGE_JPEG=$(usex jpeg) + -DENABLE_IMAGE_PNG=$(usex png) + -DENABLE_XINERAMA=$(usex xinerama) + -DENABLE_XFT=$(usex truetype) + -DENABLE_IMAGE_XPM=$(usex xpm) + -DENABLE_PANGO=$(usex pango) + ) + + CMAKE_BUILD_TYPE=$(usex debug Debug) + + cmake_src_configure +} + +src_install() { + + cmake_src_install + + # Install contributor scripts into doc folder + docinto contrib + dodoc "${S}"/contrib/lobo/*.{pl,vars,png} "${S}"/contrib/lobo/README + + # Insert an Xsession + exeinto /etc/X11/Sessions + newexe - pekwm <<- _EOF_ + #!/bin/sh + /usr/bin/pekwm + _EOF_ + + # Insert a GDM/KDM xsession file + make_session_desktop ${PN} ${PN} +} + +pkg_postinst() { + + elog "Since pekwm 0.2.0 themes can be installed and maintained using " + elog "pekwm_theme [install|uninstall|show|search|new|update]." + elog "Check https://www.pekwm.se/themes/ for details." + + elog + + optfeature "themes management (pekwm_theme) support" dev-vcs/git + + elog + + elog "User contributed scripts have been installed into:" + elog "${EROOT}/usr/share/doc/${PF}/contrib" + + elog + + elog "Pekwm supports Pango fonts since 0.3.0." +} |