Diff herbstluftwm-0.9.5-r2 with a herbstluftwm-9999

/usr/portage/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild 2024-07-02 13:51:49.997851609 +0300
17 17
	inherit git-r3
18 18
else
19 19
	SRC_URI="https://herbstluftwm.org/tarballs/${P}.tar.gz"
20
	KEYWORDS="amd64 x86"
20
	KEYWORDS="~amd64 ~x86"
21 21
fi
22 22

  
23 23
LICENSE="BSD-2"
......
60 60
"
61 61

  
62 62
if [[ -n "${EGIT_REPO_URI}" ]]; then
63
	# If hlwm is build from VCS, then hlwm-doc.json, which is used in
64
	# the tests, needs to generated by the WITH_DOCUMENTATION option.
65
	REQUIRED_USE+=" test? ( doc )"
66

  
63 67
	# Herbstluftwm tarballs ship with pre-compiled documentation, only
64 68
	# if we build from git asciidoc is needed.
65 69
	BDEPEND+=" doc? ( app-text/asciidoc )"
......
71 75
		-e '/^install.*LICENSEDIR/d' \
72 76
		-e '/set(DOCDIR / s#.*#set(DOCDIR ${CMAKE_INSTALL_DOCDIR})#' \
73 77
		CMakeLists.txt || die
78

  
79
	# Do not install MAN pages, we use doman in src_install() for that.
80
	sed -i '/MANDIR/d' \
81
		doc/CMakeLists.txt || die
82

  
74 83
	cmake_src_prepare
75 84

  
76 85
	if use python; then
......
137 146
distutils_enable_tests pytest
138 147

  
139 148
src_test() {
149
	if [[ -n "${EGIT_REPO_URI}" ]]; then
150
		ln -s "${BUILD_DIR}/doc/hlwm-doc.json" "doc/hlwm-doc.json" || die "Could not symlink hlwm-doc.json"
151
	fi
152

  
140 153
	ln -s "${BUILD_DIR}/herbstclient" || die "Could not symlink herbstclient"
141 154
	ln -s "${BUILD_DIR}/herbstluftwm" || die "Could not symlink herbstluftwm"
142 155

  
Thank you!