mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
x11-wm/oxwm: add 0.11.4 version
Signed-off-by: Theron York <theron.york@cloudnuke.org>
This commit is contained in:
1
x11-wm/oxwm/Manifest
Normal file
1
x11-wm/oxwm/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST oxwm-0.11.4.tar.gz 356901 BLAKE2B 38f040631be4fd8df1e13c8a2e1151c12551b543f14b21f64d562d32f62f73d93c0849692815bc3ec8e15a6b87f73fce2eb24a59ab3837f185fcf457b04c42db SHA512 64e2c1cbb9180576a0a798c0d588d5daf02fe8a39d8ac234fb25e17a5ea3207846e14b958f2212966269c045dd75ff5e8f6bc7768a68f8fa707a074bcedf77d9
|
||||
64
x11-wm/oxwm/oxwm-0.11.4.ebuild
Normal file
64
x11-wm/oxwm/oxwm-0.11.4.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ZIG_OPTIONAL="1"
|
||||
|
||||
inherit zig
|
||||
|
||||
DESCRIPTION="OXWM — DWM but better. Dynamic window manager written in Zig with Lua config"
|
||||
HOMEPAGE="https://github.com/tonybanters/oxwm"
|
||||
SRC_URI="https://github.com/tonybanters/oxwm/archive/4670ae7.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0.15"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXinerama
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
dev-lang/lua
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/zig
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/oxwm-4670ae7"
|
||||
|
||||
src_configure() {
|
||||
zig_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
zig_src_compile -Doptimize=ReleaseSmall
|
||||
}
|
||||
|
||||
src_install() {
|
||||
zig_src_install
|
||||
|
||||
insinto /usr/share/xsessions
|
||||
doins "${S}/resources/oxwm.desktop" 2>/dev/null || true
|
||||
|
||||
insinto /usr/share/oxwm
|
||||
doins -r "${S}/templates"
|
||||
|
||||
doman "${S}/resources/oxwm.1" 2>/dev/null || true
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "OXWM ${PV} installed successfully!"
|
||||
elog
|
||||
elog "First launch will create ~/.config/oxwm/config.lua"
|
||||
elog "Or manually run: oxwm --init"
|
||||
elog
|
||||
elog "Reload config anytime with: Super + Shift + R"
|
||||
}
|
||||
Reference in New Issue
Block a user