x11-misc/ly: treeclean

Signed-off-by: jinqiang zhang <jinqiang@zhang.my>
This commit is contained in:
jinqiang zhang 2025-03-26 03:26:24 +00:00
parent 316e938f9f
commit 0906bd6606
8 changed files with 0 additions and 295 deletions

View File

@ -1686,12 +1686,6 @@ use_latest_release = true
# live package only
#["x11-misc/i3lock-fancy"]
["x11-misc/ly"]
source = "github"
github = "nullgemm/ly"
use_latest_tag = true
prefix = "v"
["x11-misc/picom-jonaburg"]
source = "github"
github = "jonaburg/picom"

View File

@ -1,10 +0,0 @@
DIST argoat.tar.gz 5382 BLAKE2B ed4b98064f1b664f1e8bff8e6cdc15da48e22a63353bc42a3bc9533168e2311d6a0f5ff0e401a8d3b56cdd34c54b2bbff6a4aca010bf27f914460577fa0dc130 SHA512 c82b39c2fcc152076528ffebd3e62d7d69e171853077a2ab6d6e4b8df49942bad7fe2817736b76630fb813fc1bf44b16d25bf78a0addf81448427288b9935dda
DIST configator.tar.gz 4504 BLAKE2B 481b3ada0783ed0a1ff7d63886594443acc8a35617d4b9f4e02c1491c7397a802fc7776037b09e77d19b02d93f92b9e208aa08d52092435628b464c7c364cad6 SHA512 0ecb0590fb29dd1c2468cbffb5b3a1ff8720543b8802b0af903c48f64c4bee76c3105166c25c900ab168ab86de63cefbe1d20bb80b80a91e8448f7848a995d0b
DIST dragonfail.tar.gz 3646 BLAKE2B 033ba605dcd8d1b49fe0be07ef44606b08f1cf694e293e533254b9dde50c5ec30608a6151731ee99d3ac02fa0a8944f8d06107885736fd0dd6f5aac9e6b36761 SHA512 d68a6bfe21e07901e5c4c6c21b1aaf1397ed60f9aa59525c894970dfd78f174d52892df86ba84d13df859c8dbd863e1de1a1e6b4f1069dcc843eebaae56f5730
DIST ly-0.6.0.tar.gz 32706 BLAKE2B 7322239ac6245d4df9f4857275d42361b594acf54e4d5e61634d42dedf8a2b36582566bad60e323d368510352a732c44e2373e458b19cde6b47d9473ef8f3ffe SHA512 a59d2ae8002a657ebdd72b8918f7d47504fbc49480dcd881da8f87550c595c89526e4117672ed4fbf1f6d5542819055b5d65658fb2bcd9b708271645df3d06d1
DIST ly-1.0.2.tar.gz 64603 BLAKE2B a1521be4d1191c0b527867e77e6968142062948b2950ef96e3ba4c90bd14386fca4248ed9942959b530c17c1a0dfc3ffbec24b1275d70af5da9fbd6fa4f41da2 SHA512 9431abcb6d3662e74a39b6ba52f2d12de83607764c8cd6e41dda0ae0c71c9618596711e9dd1f519a61835a63ea6dda5bc083509a9757d232213ddf74df3513b7
DIST termbox_next.tar.gz 23489 BLAKE2B b6866bd442af45ac56acd362b273f63f50c112bbfd4011c09605c21c83f30db76016fcf14a58787cba27912af71009578a92b8ee1850bf215a1dc95d4dd2483b SHA512 8e69f3c886cc70601289f1e50b2a5fb9cc3eeb8eed2090cdd2e08114ab1d629fd8fe83e217eb0b189c0cfa58b397baf3b30409f712d64c8a4f208a1fffd4e7db
DIST testoasterror.tar.gz 3362 BLAKE2B 3868b5a4d37439ee28c5a8f320d2b3ff81d7a4af16eec7e8e2c5015d7e512cbe2f16f8f228e2f202aed01b86739b59a2211832911f753d04269547824c56775d SHA512 ac4eab7517ac46eac6dbdcb8123679c75f8a2a8ff794016de26af9db2994b63d3de12107eb0c5473836606fbf1cbc2ff149c69cdb6c29cf8d3d5d4a49bfae11d
DIST zig-clap.tar.gz 22875 BLAKE2B 685208b8cb08070304c44c8a1a294d53e7eb4045585a65d5ea3297c1d50157ec8cec06c1b21e3476e3cea0518945bc77b1cf4fe349f11ddcf9aa80dbfbd87788 SHA512 759a995f3400305044ba7ae2d0fb7de1f08b55d08b3de9fbbf4afbf75cefcc779c4ae8932885e6ecface9c290fb712c72c58011091ac5bde7429926ea3f7d501
DIST zigini.tar.gz 5797 BLAKE2B e5c4e20e7d23bb1096c9012acd19898fb0450d33c0ee78200ee817c3658d3cad048fe6a475977fa62ad0ba254d4a78b3b1181203fa7faf81b70ff75115552681 SHA512 7d2f2ccc9bf99cb2848c1059c34cd2163d48d6fa0a090f2c03cd92e2441dc0029868e28ac23a8a310941f969c5270ad26b5768a2a303bdccf35803ac027e7a88
DIST ziglibini.tar.gz 7398 BLAKE2B e8f8a026c876d120340f57beb4fda3fba396fe4f1f0aa5515f76399a68291087aa0909dde69139e4153a60587e37dd8b4ba94c5f481ce42c60a0cfee5f31cbe6 SHA512 3d18368d5e0e06e24a580698bec9eb35d85dfc528d4b24a354e41b402b31c06a547a3e85d59254781b1e0eafe13c1db23bebbd4a531c6a6a789af2e833e5a693

View File

@ -1,19 +0,0 @@
diff --git a/build.zig.zon b/build.zig.zon
index 557dcd9..a723260 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -4,12 +4,10 @@
.minimum_zig_version = "0.12.0",
.dependencies = .{
.clap = .{
- .url = "https://github.com/Hejsil/zig-clap/archive/8c98e6404b22aafc0184e999d8f068b81cc22fa1.tar.gz",
- .hash = "122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d",
+ .path = "./deps/zig-clap",
},
.zigini = .{
- .url = "https://github.com/Kawaii-Ash/zigini/archive/0bba97a12582928e097f4074cc746c43351ba4c8.tar.gz",
- .hash = "12209b971367b4066d40ecad4728e6fdffc4cc4f19356d424c2de57f5b69ac7a619a",
+ .path = "./deps/zigini",
},
},
.paths = .{""},

View File

@ -1,14 +0,0 @@
diff --git a/deps/zigini/build.zig.zon b/deps/zigini/build.zig.zon
index 3d5d17e..cb50bd3 100644
--- a/deps/zigini/build.zig.zon
+++ b/deps/zigini/build.zig.zon
@@ -3,8 +3,7 @@
.version = "0.3.0",
.dependencies = .{
.ini = .{
- .url = "https://github.com/ziglibs/ini/archive/e18d36665905c1e7ba0c1ce3e8780076b33e3002.tar.gz",
- .hash = "1220b0979ea9891fa4aeb85748fc42bc4b24039d9c99a4d65d893fb1c83e921efad8",
+ .path = "./ini",
},
},
.paths = .{

View File

@ -1,79 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="Ly - a TUI display manager"
HOMEPAGE="https://github.com/nullgemm/ly"
if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/nullgemm/ly.git"
EGIT_CLONE_TYPE="shallow"
inherit git-r3
else
KEYWORDS="~amd64"
# Latest hash of each submodule's master branch
ARGOAT="e1844c4c94b70bb351ec2bd2ac6bb320ee793d8f"
CONFIGATOR="8cec1786196ae6f6a8b35e66181277457f2a2bb2"
DRAGONFAIL="15bd3299bf3e49bd6734bff385cb0392cd2fa502"
TERMBOX="d961a8122210010e7c2c8f201e61170c13d319b4"
# This is a submodule for a submodule(argoat)
TESTOASTERROR="ee7c9d031d4632a6f381a6c174a38539bac04068"
SRC_URI="https://github.com/nullgemm/ly/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/nullgemm/argoat/archive/${ARGOAT}.tar.gz -> argoat.tar.gz
https://github.com/nullgemm/configator/archive/${CONFIGATOR}.tar.gz -> configator.tar.gz
https://github.com/nullgemm/dragonfail/archive/${DRAGONFAIL}.tar.gz -> dragonfail.tar.gz
https://github.com/nullgemm/termbox_next/archive/${TERMBOX}.tar.gz -> termbox_next.tar.gz
https://github.com/nullgemm/testoasterror/archive/${TESTOASTERROR}.tar.gz -> testoasterror.tar.gz
"
fi
SUB="${S}/sub"
RES="${S}/res"
LICENSE="WTFPL-2"
SLOT="0"
DEPEND="sys-libs/pam
x11-libs/libxcb
x11-base/xorg-server
x11-apps/xauth"
RDEPEND="${DEPEND}"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
mv "argoat-${ARGOAT}/"* "${SUB}/argoat" || die
mv "testoasterror-${TESTOASTERROR}/"* "${SUB}/argoat/sub/testoasterror" || die
mv "configator-${CONFIGATOR}/"* "${SUB}/configator" || die
mv "dragonfail-${DRAGONFAIL}/"* "${SUB}/dragonfail" || die
mv "termbox_next-${TERMBOX}/"* "${SUB}/termbox_next" || die
fi
}
src_install(){
default
newinitd "${RES}/${PN}-openrc" ly
systemd_dounit "${RES}/${PN}.service"
}
pkg_postinst() {
systemd_reenable "${PN}.service"
ewarn
ewarn "The init scripts are installed only for systemd/openrc"
ewarn "If you are using something else like runit etc."
ewarn "Please check upstream for get some help"
ewarn "You may need to take a look at /etc/ly/config.ini"
ewarn "If you are using a window manager as DWM"
ewarn "Please make sure there is a .desktop file in /usr/share/xsessions for it"
}

View File

@ -1,77 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="Ly - a TUI display manager"
HOMEPAGE="https://github.com/nullgemm/ly"
CLAP="0.9.1"
ZIGINI="0bba97a12582928e097f4074cc746c43351ba4c8"
ZIGLIBINI="e18d36665905c1e7ba0c1ce3e8780076b33e3002"
SRC_URI="
https://github.com/nullgemm/ly/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/Hejsil/zig-clap/archive/refs/tags/${CLAP}.tar.gz -> zig-clap.tar.gz
https://github.com/Kawaii-Ash/zigini/archive/${ZIGINI}.tar.gz -> zigini.tar.gz
https://github.com/ziglibs/ini/archive/${ZIGLIBINI}.tar.gz -> ziglibini.tar.gz
"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64"
EZIG_MIN="0.12"
DEPEND="
|| ( dev-lang/zig-bin:${EZIG_MIN} dev-lang/zig:${EZIG_MIN} )
sys-libs/pam
x11-libs/libxcb
"
RDEPEND="
x11-base/xorg-server
x11-apps/xauth
sys-libs/ncurses
"
RES="${S}/res"
PATCHES=(
"${FILESDIR}/${PN}-build-zig-zon.patch"
"${FILESDIR}/${PN}-zigini-build-zig-zon.patch"
)
src_unpack() {
default
# create a subdir for deps
mkdir "${S}/deps" || die
# move all deps to the subdir
mv "zig-clap-${CLAP}" "${S}/deps/zig-clap" || die
mv "zigini-${ZIGINI}" "${S}/deps/zigini" || die
mv "ini-${ZIGLIBINI}" "${S}/deps/zigini/ini" || die
}
src_compile() {
zig build || die "Zig build failed"
}
src_install(){
dobin "${S}/zig-out/bin/${PN}"
newinitd "${RES}/${PN}-openrc" ly
systemd_dounit "${RES}/${PN}.service"
}
pkg_postinst() {
systemd_reenable "${PN}.service"
ewarn
ewarn "The init scripts are installed only for systemd/openrc"
ewarn "If you are using something else like runit etc."
ewarn "Please check upstream for get some help"
ewarn "You may need to take a look at /etc/ly/config.ini"
ewarn "If you are using a window manager as DWM"
ewarn "Please make sure there is a .desktop file in /usr/share/xsessions for it"
}

View File

@ -1,78 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="Ly - a TUI display manager"
HOMEPAGE="https://github.com/nullgemm/ly"
if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/nullgemm/ly.git"
EGIT_CLONE_TYPE="shallow"
inherit git-r3
else
KEYWORDS="~amd64"
# Latest hash of each submodule's master branch
ARGOAT="e1844c4c94b70bb351ec2bd2ac6bb320ee793d8f"
CONFIGATOR="8cec1786196ae6f6a8b35e66181277457f2a2bb2"
DRAGONFAIL="15bd3299bf3e49bd6734bff385cb0392cd2fa502"
TERMBOX="d961a8122210010e7c2c8f201e61170c13d319b4"
# This is a submodule for a submodule(argoat)
TESTOASTERROR="ee7c9d031d4632a6f381a6c174a38539bac04068"
SRC_URI="https://github.com/nullgemm/ly/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/nullgemm/argoat/archive/${ARGOAT}.tar.gz -> argoat.tar.gz
https://github.com/nullgemm/configator/archive/${CONFIGATOR}.tar.gz -> configator.tar.gz
https://github.com/nullgemm/dragonfail/archive/${DRAGONFAIL}.tar.gz -> dragonfail.tar.gz
https://github.com/nullgemm/termbox_next/archive/${TERMBOX}.tar.gz -> termbox_next.tar.gz
https://github.com/nullgemm/testoasterror/archive/${TESTOASTERROR}.tar.gz -> testoasterror.tar.gz
"
fi
SUB="${S}/sub"
RES="${S}/res"
LICENSE="WTFPL-2"
SLOT="0"
DEPEND="sys-libs/pam
x11-libs/libxcb
x11-base/xorg-server
x11-apps/xauth"
RDEPEND="${DEPEND}"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
mv "argoat-${ARGOAT}/"* "${SUB}/argoat" || die
mv "testoasterror-${TESTOASTERROR}/"* "${SUB}/argoat/sub/testoasterror" || die
mv "configator-${CONFIGATOR}/"* "${SUB}/configator" || die
mv "dragonfail-${DRAGONFAIL}/"* "${SUB}/dragonfail" || die
mv "termbox_next-${TERMBOX}/"* "${SUB}/termbox_next" || die
fi
}
src_install(){
default
newinitd "${RES}/${PN}-openrc" ly
systemd_dounit "${RES}/${PN}.service"
}
pkg_postinst() {
systemd_reenable "${PN}.service"
ewarn
ewarn "The init scripts are installed only for systemd/openrc"
ewarn "If you are using something else like runit etc."
ewarn "Please check upstream for get some help"
ewarn "If you are using a window manager as DWM"
ewarn "Please make sure there is a .desktop file in /usr/share/xsessions for it"
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">fairyglade/ly</remote-id>
</upstream>
<maintainer type="person">
<email>OriPoin@outlook.com</email>
<name>Yachen Wang</name>
</maintainer>
</pkgmetadata>