blob: bd77a97474e40fc34113d0e477183ae26717fb53 (
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 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1,3,4} luajit )
inherit lua-single hyprpm cmake
REQUIRED_USE="${LUA_REQUIRED_USE}"
DESCRIPTION="i3/sway-like layout for hyprland"
HOMEPAGE="https://github.com/outfoxxed/hy3"
LICENSE="GPL-3"
SLOT="0"
HYPRLAND_DEP=""
HYPRPM_REPO_URI="https://github.com/outfoxxed/hy3.git"
KEYWORDS="~amd64"
PATCHES=("${FILESDIR}/include-lua.patch")
# hy3 releases are directly tied to the matching Hyprland release, up to the minor
# version.
RDEPEND="
${HYPRLAND_DEP}
!gui-libs/hy3
"
DEPEND="
${HYPRLAND_DEP}
${RDEPEND}
x11-libs/pixman
x11-libs/libdrm
x11-libs/pango
x11-libs/libxkbcommon
dev-libs/libinput
dev-libs/wayland
${LUA_DEPS}
"
BDEPEND="
virtual/pkgconfig
>=dev-build/cmake-3.19
"
src_configure() {
local mycmakeargs=(
-DLUA_INCLUDE_DIR="$(lua_get_include_dir)"
)
cmake_src_configure
}
src_install() {
hyprpm_doplugin "${BUILD_DIR}/libhy3.so"
}
|