summaryrefslogtreecommitdiff
path: root/hyprland-plugin/hyprexpo-sandwichfarm/hyprexpo-sandwichfarm-9999.ebuild
blob: 0f8c77fc13bc177e084cc5d9a4f0a18f9082346b (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
57
# 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. sandwichfarm's fork."
HOMEPAGE="https://github.com/sandwichfarm/hyprexpo"
LICENSE="BSD"
SLOT="0"

HYPRLAND_DEP=""

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

declare -A HYPRPM_COMMIT_PINS_OVERRIDE=(
	[36b2e0cfe0c6094dbc47bd42a437431315bb3087]="bb0835aafb606d61195d27a92379cb207a0c32ac" #0.56.0
)

inherit lua-single hyprpm

REQUIRED_USE="${LUA_REQUIRED_USE}"

BDEPEND="
	virtual/pkgconfig
"

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

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

pkg_setup() {
	lua-single_pkg_setup
}

src_compile() {
	LUA_PKG_CONFIG="lua" emake all
}

src_install() {
	hyprpm_doplugin hyprexpo.so
}