Diff pekwm-0.3.2 with a pekwm-0.4.2

/usr/portage/x11-wm/pekwm/pekwm-0.4.2.ebuild 2026-02-04 11:18:07.017529778 +0300
5 5

  
6 6
inherit cmake desktop optfeature
7 7

  
8
DESCRIPTION="A lightweight window manager initially based on aewm++"
9
HOMEPAGE="
10
	https://www.pekwm.se/
11
	https://github.com/pekwm/pekwm
12
"
13
SRC_URI="
14
	https://github.com/pekwm/pekwm/archive/refs/tags/release-${PV}.tar.gz -> pekwm-${PV}.tar.gz
15
"
16
S="${WORKDIR}/pekwm-release-${PV}"
8
DESCRIPTION="Lightweight window manager initially based on aewm++"
9
HOMEPAGE="https://www.pekwm.se/"
10
SRC_URI="https://www.pekwm.se/pekwm/uv/pekwm-${PV}.tar.gz"
11
S="${WORKDIR}/pekwm-${PV}"
17 12

  
18 13
LICENSE="GPL-2"
19 14
SLOT="0"
20
KEYWORDS="amd64 ~mips ppc x86"
15
KEYWORDS="~amd64 ~mips ~ppc ~x86"
21 16
IUSE="debug +jpeg pango +png test truetype xinerama +xpm"
22 17
RESTRICT="!test? ( test )"
23 18

  
24 19
RDEPEND="
20
	net-misc/curl
21
	virtual/udev
25 22
	x11-libs/libX11
26 23
	x11-libs/libXext
27 24
	jpeg? ( media-libs/libjpeg-turbo:= )
28
	pango? ( x11-libs/pango x11-libs/cairo[X] )
25
	pango? (
26
		x11-libs/cairo[X]
27
		x11-libs/pango
28
	)
29 29
	png? ( media-libs/libpng:0= )
30 30
	truetype? ( x11-libs/libXft )
31 31
	xinerama? ( x11-libs/libXinerama )
32 32
	xpm? ( x11-libs/libXpm )"
33 33

  
34
DEPEND="
35
	${RDEPEND}
36
	x11-base/xorg-proto
37
"
34
DEPEND="${RDEPEND}"
38 35
BDEPEND="virtual/pkgconfig"
39 36

  
40 37
src_configure() {
38
	CMAKE_BUILD_TYPE=$(usex debug Debug)
39

  
41 40
	local mycmakeargs=(
42 41
		-DENABLE_IMAGE_JPEG=$(usex jpeg)
43 42
		-DENABLE_IMAGE_PNG=$(usex png)
......
47 46
		-DENABLE_PANGO=$(usex pango)
48 47
		-DTESTS=$(usex test)
49 48
	)
50

  
51
	CMAKE_BUILD_TYPE=$(usex debug Debug)
52

  
53 49
	cmake_src_configure
54 50
}
55 51

  
56 52
src_install() {
57

  
58 53
	cmake_src_install
59 54

  
60 55
	# Install contributor scripts into doc folder
......
68 63
		/usr/bin/pekwm
69 64
	_EOF_
70 65

  
71
	# Insert a GDM/KDM xsession file
72
	make_session_desktop ${PN} ${PN}
66
	make_session_desktop --eapi9 ${PN} -X
73 67
}
74 68

  
75 69
pkg_postinst() {
76

  
77
	elog "Since pekwm 0.2.0 themes can be installed and maintained using "
70
	elog "Since pekwm 0.2.0, themes can be installed and maintained using"
78 71
	elog "pekwm_theme [install|uninstall|show|search|new|update]."
79 72
	elog "Check https://www.pekwm.se/themes/ for details."
80

  
81
	elog
82

  
83
	optfeature "themes management (pekwm_theme) support" dev-vcs/git
84

  
85 73
	elog
86

  
87 74
	elog "User contributed scripts have been installed into:"
88 75
	elog "${EROOT}/usr/share/doc/${PF}/contrib"
89

  
90 76
	elog
91

  
92 77
	elog "Pekwm supports Pango fonts since 0.3.0."
78
	elog
79
	optfeature "themes management (pekwm_theme) support" "dev-vcs/git"
93 80
}
Thank you!