Сравнение awesome-4.3-r102 с awesome-9999

/usr/portage/x11-wm/awesome/awesome-9999.ebuild 2023-10-09 14:52:35.996368514 +0300
1 1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
LUA_COMPAT=( lua5-{1..3} luajit )
6
LUA_COMPAT=( lua5-{1..4} luajit )
7 7

  
8 8
inherit cmake desktop lua-single pax-utils
9 9

  
......
12 12
	EGIT_REPO_URI="https://github.com/awesomeWM/${PN}.git"
13 13
else
14 14
	SRC_URI="https://github.com/awesomeWM/awesome-releases/raw/master/${P}.tar.xz"
15
	KEYWORDS="amd64 arm ppc ppc64 ~riscv x86"
15
	KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86"
16 16
fi
17 17

  
18 18
DESCRIPTION="A dynamic floating and tiling window manager"
......
24 24

  
25 25
REQUIRED_USE="${LUA_REQUIRED_USE}"
26 26

  
27
RESTRICT="test" # https://bugs.gentoo.org/654084
27
# Doesn't play nicely with the sandbox + requires an active D-BUS session
28
RESTRICT="test"
28 29

  
29 30
RDEPEND="${LUA_DEPS}
30 31
	dev-libs/glib:2
......
44 45
	x11-libs/libxkbcommon[X]
45 46
	x11-libs/libX11
46 47
	dbus? ( sys-apps/dbus )"
47
# ldoc is used by invoking its executable, hence no need for LUA_SINGLE_USEDEP.
48
# On the other hand, it means that we should explicitly depend on a version
49
# migrated to Lua eclasses so that during the upgrade from unslotted
50
# to slotted dev-lang/lua, the package manager knows to emerge migrated
51
# ldoc before migrated awesome.
52 48
DEPEND="${RDEPEND}
53 49
	x11-base/xcb-proto
54 50
	x11-base/xorg-proto
......
60 56
		')
61 57
	)"
62 58
# graphicsmagick's 'convert -channel' has no Alpha support, bug #352282
59
# ldoc is used by invoking its executable, hence no need for LUA_SINGLE_USEDEP.
60
# On the other hand, it means that we should explicitly depend on a version
61
# migrated to Lua eclasses so that during the upgrade from unslotted
62
# to slotted dev-lang/lua, the package manager knows to emerge migrated
63
# ldoc before migrated awesome.
63 64
BDEPEND="app-text/asciidoc
64 65
	media-gfx/imagemagick[png]
65 66
	virtual/pkgconfig
66 67
	doc? ( >=dev-lua/ldoc-1.4.6-r100 )
67
	test? ( app-shells/zsh )"
68
	test? (
69
		app-shells/zsh
70
		x11-apps/xeyes
71
	)"
68 72

  
69 73
# Skip installation of README.md by einstalldocs, which leads to broken symlink
70 74
DOCS=()
......
73 77
	"${FILESDIR}"/${PN}-4.0-convert-path.patch  # bug #408025
74 78
	"${FILESDIR}"/${PN}-xsession.patch          # bug #408025
75 79
	"${FILESDIR}"/${PN}-4.0-cflag-cleanup.patch # bug #509658
76
	"${FILESDIR}"/${PN}-4.3-fno-common.patch    # bug #707262
77 80
)
78 81

  
79 82
src_configure() {
80
	# Compression of manpages is handled by portage
83
	# Compression of manpages is handled by portage.
84
	# WITH_DBUS uses AutoOption.cmake which currently does not
85
	# understand yes/no (or indeed any values other than ON, OFF
86
	# or AUTO).
81 87
	local mycmakeargs=(
82 88
		-DSYSCONFDIR="${EPREFIX}"/etc
83 89
		-DCOMPRESS_MANPAGES=OFF
84
		-DWITH_DBUS=$(usex dbus)
90
		-DWITH_DBUS=$(usex dbus ON OFF)
85 91
		-DGENERATE_DOC=$(usex doc)
86 92
		-DAWESOME_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF}
87 93
		-DLUA_INCLUDE_DIR="$(lua_get_include_dir)"
Спасибо!