summaryrefslogtreecommitdiff
path: root/hyprland-plugin/hyprexpo-colonelpanic8/hyprexpo-colonelpanic8-9999.ebuild
blob: a44a1bd240647eff1ba238a979f6b2ca7a26e8b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LUA_COMPAT=( lua5-{1,3,4} luajit )

DESCRIPTION="HyprExpo is an overview plugin like Gnome, KDE or wf. colonelpanic8's fork."
HOMEPAGE="https://github.com/colonelpanic8/hyprexpo"
LICENSE="BSD"
SLOT="0"

HYPRLAND_DEP="<gui-wm/hyprland-0.56.0"

HYPRPM_REPO_URI="https://github.com/colonelpanic8/hyprexpo.git"

inherit lua-single hyprpm flag-o-matic

REQUIRED_USE="${LUA_REQUIRED_USE}"

BDEPEND="
	virtual/pkgconfig
"

RDEPEND="
	${HYPRLAND_DEP}
	!hyprland-plugin/hyprexpo
	!hyprland-plugin/hyprexpo-sandwichfarm
"

DEPEND="
	${HYPRLAND_DEP}
	x11-libs/pixman
	x11-libs/libdrm
	dev-libs/glib
	x11-libs/pango
	dev-libs/libinput
	virtual/libudev
	dev-libs/wayland
	x11-libs/libxkbcommon
	${LUA_DEPS}
"

pkg_setup() {
	lua-single_pkg_setup
}

src_compile() {
	append-cxxflags $(lua_get_CFLAGS)

	emake all
}

src_install() {
	hyprpm_doplugin hyprexpo.so
}