mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-wm/pekwm: add 0.3.2
Closes: https://bugs.gentoo.org/954001 Signed-off-by: Vlastimil Krejčíř <vlastimil.krejcir@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42117 Closes: https://github.com/gentoo/gentoo/pull/42117 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
f6893c43c4
commit
3cd82de4e7
@@ -1 +1,2 @@
|
||||
DIST pekwm-0.3.0.tar.gz 1210295 BLAKE2B 2882d8f9103fbfdad12d3dc519b3468a3d85e622e1f4352ccf7849a02f9f7d2f6a1c039d0e9df75ffd58a063f866fe8998eb10bc7e1c2a1766a9056328b136de SHA512 7b59f6883cc449a4a4e11fa1d2629c76b26bac0ad12f7c7e02da2b79292dd5515915152e9955875d3335deca4cf590d7078645bcf59bdad7ce0f65929b315b43
|
||||
DIST pekwm-0.3.2.tar.gz 1213773 BLAKE2B f1b1492bded8fe76dfc14a7ca1d0e322c2cb59d2fc841e875ecc25d373efd225b5b63cd098d0ec76fefb71ed5f7d095de9dd745e33d23196515252f93c897744 SHA512 b0378792c01ad979a2aed2a4815d477ab37e2bbe99e6664512b2516e89ffff248d1198aaf7f91b59a2b8f35d2d10a92cbfa0f6edb89783938993afb6ec3f15a7
|
||||
|
||||
90
x11-wm/pekwm/pekwm-0.3.2.ebuild
Normal file
90
x11-wm/pekwm/pekwm-0.3.2.ebuild
Normal file
@@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2025 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/pekwm/archive/refs/tags/release-${PV}.tar.gz -> pekwm-${PV}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/pekwm-release-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86"
|
||||
IUSE="debug +jpeg pango +png test truetype xinerama +xpm"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
jpeg? ( media-libs/libjpeg-turbo:= )
|
||||
pango? ( x11-libs/pango x11-libs/cairo[X] )
|
||||
png? ( media-libs/libpng:0= )
|
||||
truetype? ( x11-libs/libXft )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xpm? ( x11-libs/libXpm )"
|
||||
|
||||
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)
|
||||
-DTESTS=$(usex test)
|
||||
)
|
||||
|
||||
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."
|
||||
}
|
||||
Reference in New Issue
Block a user