Compare commits
16 Commits
2bcf8a462b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1cb5e1e2a | ||
|
|
74add68136 | ||
|
|
d9b35ac847 | ||
|
|
02644de032 | ||
|
|
d356a679c7 | ||
|
|
70b06f7dda | ||
|
|
f621451030 | ||
|
|
89270ae67f | ||
|
|
5d3ec9af35 | ||
|
|
c7b0a3e426 | ||
|
|
c0d91e1449 | ||
|
|
357abb6bb7 | ||
|
|
8881b0b594 | ||
|
|
f4ee5f19f1 | ||
|
|
c50c11620d | ||
|
|
aec3fd7904 |
6
acct-group/dendrite/dendrite-0.ebuild
Normal file
6
acct-group/dendrite/dendrite-0.ebuild
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=-1
|
||||
@@ -5,4 +5,4 @@ EAPI=8
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="A group for net-im/matterbridge"
|
||||
ACCT_GROUP_ID=113
|
||||
ACCT_GROUP_ID=-1
|
||||
|
||||
11
acct-user/dendrite/dendrite-0-r1.ebuild
Normal file
11
acct-user/dendrite/dendrite-0-r1.ebuild
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Second-generation Matrix homeserver"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( ${PN} )
|
||||
ACCT_USER_HOME="/var/lib/${PN}"
|
||||
|
||||
acct-user_add_deps
|
||||
10
acct-user/dendrite/dendrite-0.ebuild
Normal file
10
acct-user/dendrite/dendrite-0.ebuild
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Second-generation Matrix homeserver"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( dendrite )
|
||||
|
||||
acct-user_add_deps
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Unprivileged user for Matterbridge"
|
||||
ACCT_USER_ID=113
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( matterbridge )
|
||||
|
||||
acct-user_add_deps
|
||||
|
||||
@@ -5,7 +5,7 @@ inherit optfeature
|
||||
|
||||
DESCRIPTION="Infinitely adaptable password manager"
|
||||
HOMEPAGE="https://projects.laidback.moe/kanako/"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BEER-WARE"
|
||||
SLOT="0"
|
||||
|
||||
@@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_prepare() {
|
||||
src_configure() {
|
||||
elog "Populating ${S}/config.mk with new values..."
|
||||
echo "GO = ${EPREFIX}/usr/bin/go" > config.mk
|
||||
echo "GOOS = linux" >> config.mk
|
||||
|
||||
1
dev-lang/kuroko/Manifest
Normal file
1
dev-lang/kuroko/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST kuroko-1.4.0.tar.gz 1329265 BLAKE2B e8eab140c0bd3ed057fb0e7a2e3998ccb5d5ed0d95ad084705a32ea4f6d66d8e01f356887f3ca8fc9f8082c3a5cabfc1422e62fc2c117c602f18dfbd5f72eca2 SHA512 bdcf8f28dae7f1d704c6c74c455a34390a0aadcb41b0bfeb3c3cc7c8ee7670fc001a14e87d6912d05d72ce1f25c69bf8ff4036a45339aa48e6a94fe1ae330ff8
|
||||
18
dev-lang/kuroko/kuroko-1.4.0.ebuild
Normal file
18
dev-lang/kuroko/kuroko-1.4.0.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Lightweight, bytecode-compiled, dynamic and interpreted programming language "
|
||||
HOMEPAGE="https://kuroko-lang.github.io/"
|
||||
SRC_URI="https://github.com/kuroko-lang/kuroko/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install
|
||||
}
|
||||
11
dev-lang/kuroko/metadata.xml
Normal file
11
dev-lang/kuroko/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">kuroko-lang/kuroko</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -7,7 +7,7 @@ inherit dune
|
||||
|
||||
DESCRIPTION="Applicative text parsing library for OCaml"
|
||||
HOMEPAGE="https://projects.laidback.moe/kosuzu/"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/text_parse-4.tar.gz"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/kosuzu/${P}.tar.gz"
|
||||
|
||||
LICENSE="EUPL-1.2"
|
||||
SLOT="0"
|
||||
|
||||
4
licenses/076-Freedom-License
Normal file
4
licenses/076-Freedom-License
Normal file
@@ -0,0 +1,4 @@
|
||||
Freedom License v1 (2021年08月17日)
|
||||
|
||||
全く無限的自由です。
|
||||
It's infinite freedom.
|
||||
1
mail-client/rin/Manifest
Normal file
1
mail-client/rin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rin-10.tar.gz 4282 BLAKE2B 6c8064863c753d536f738c6850a0c3430f7a0c4d954c137490d458c89877c8f9417efed71f0b78c644729a4509da74327c1eb366f73756d1dee5798c6e50360d SHA512 b9d9096dcea4e0a8c595aa63d9415ddd16f629522861059a6f8b44c0641ac1693d82165c3aa309095696c5a9bac72aa851c72699d71b3e67a0b7eb569511f00d
|
||||
8
mail-client/rin/metadata.xml
Normal file
8
mail-client/rin/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
40
mail-client/rin/rin-10.ebuild
Normal file
40
mail-client/rin/rin-10.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
DESCRIPTION="E-mail assistant"
|
||||
HOMEPAGE=""
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||
|
||||
# ありがとうございます、諏訪子様!
|
||||
LICENSE="076-Freedom-License"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
mail-client/mblaze
|
||||
net-mail/fdm
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
app-text/mandoc
|
||||
dev-build/bmake
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
elog "Populating config.mk with new values..."
|
||||
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||
echo "EXDIR = \${PREFIX}/share/examples" >> config.mk
|
||||
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
src_compile() {
|
||||
edo sed -e "s|%%PREFIX%%|${EPREFIX}/usr|g" -e "s|%%REV%%|${PV}|g" bin/${PN}.in > bin/${PN}
|
||||
edo chmod 0755 bin/${PN}
|
||||
}
|
||||
src_install() {
|
||||
# Specifically not emake because of the BSD syntax
|
||||
# which will cause GNU make an indigestion
|
||||
bmake DESTDIR="${D}" install
|
||||
}
|
||||
2
net-im/dendrite/Manifest
Normal file
2
net-im/dendrite/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST dendrite-0.15.2-deps.tar.gz 52968232 BLAKE2B 44daa7e12d929a167c954e6f386c4455e26b59727d495be778e06b64ca064cb47c34bab176255211ac07c78ec393a8182c702cb62a828a0dbf2ac8f2120098ed SHA512 8e997ce1dbd325e863b4d804d3e4e40f882a17eed467300a4ea64429795bd40ad99fcf82a4df326f7067d30d3faacfcc39c82f03d7881cb6432a498caed6c749
|
||||
DIST dendrite-0.15.2.tar.gz 1347612 BLAKE2B 5e9c9c5c8adb8797a6f2e72f8eb7d4b1cb96b1e44b212532927e9221a3479963ec2fa6da6ff03ddc0d8e8d23178742b04154f0171767f3d61fe3456b42c48c8c SHA512 30a9327133af76a4ef06d961931698d55acbd3c175209aa100886794bc06309acb5953ed9e43ada676af0717461fd2fd8c821a04e829302fdcf4f3a7bbffa1cd
|
||||
42
net-im/dendrite/dendrite-0.15.2.ebuild
Normal file
42
net-im/dendrite/dendrite-0.15.2.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit go-module optfeature
|
||||
|
||||
DESCRIPTION="Second-generation Matrix homeserver"
|
||||
HOMEPAGE="https://github.com/element-hq/dendrite"
|
||||
SRC_URI="
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}-deps.tar.gz
|
||||
"
|
||||
|
||||
# There are several other licenses around for the dependencies
|
||||
# Not mentioning them here, it would get too long
|
||||
LICENSE="AGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
RDEPEND="
|
||||
acct-user/dendrite
|
||||
acct-group/dendrite
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
ego build -tags goolm -trimpath -v -o bin/ ./cmd/...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newsbin bin/${PN} "${PN}"
|
||||
newsbin bin/create-account "${PN}-create-account"
|
||||
newsbin bin/generate-config "${PN}-generate-config"
|
||||
newsbin bin/generate-keys "${PN}-generate-keys"
|
||||
newsbin bin/resolve-state "${PN}-resolve-state"
|
||||
newinitd "${FILESDIR}/${PN}.initd-r0" "${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "running a server in production environments" dev-db/postgresql
|
||||
}
|
||||
26
net-im/dendrite/files/dendrite.initd-r0
Normal file
26
net-im/dendrite/files/dendrite.initd-r0
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
command="/usr/sbin/${RC_SVCNAME}"
|
||||
command_args="--config /etc/${RC_SVCNAME}.yaml"
|
||||
command_user="${RC_SVCNAME}"
|
||||
command_background="true"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
depend() {
|
||||
# PostgreSQL is not listed here due to the SLOT mechanism
|
||||
# used by the package manager.
|
||||
# Latest stable version to date is postgresql-18
|
||||
want caddy nginx
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
ebegin "Checking for the existence of /etc/${RC_SVCNAME}.yaml"
|
||||
if ! checkpath --file /etc/${RC_SVCNAME}.yaml; then
|
||||
eerror "You need a configuration file to proceed"
|
||||
eerror "See /usr/sbin/dendrite-generate-config"
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
11
net-im/dendrite/metadata.xml
Normal file
11
net-im/dendrite/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">element-hq/dendrite</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -23,7 +23,7 @@ DEPEND="
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
sys-libs/readline:=
|
||||
gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
|
||||
gtk? ( x11-libs/gtk+3 )
|
||||
gtk? ( x11-libs/gtk+:3 )
|
||||
omemo? (
|
||||
dev-libs/libgcrypt
|
||||
net-libs/libsignal-protocol-c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit edo toolchain-funcs
|
||||
|
||||
DESCRIPTION="Keep IRC simple, stupid!"
|
||||
HOMEPAGE="https://kirc.dev"
|
||||
@@ -11,12 +11,14 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||
echo "CC = $(tc-getCC)" >> config.mk
|
||||
src_configure() {
|
||||
elog "Populating config.mk with new values..."
|
||||
echo "CC = $(tc-getCC)" > config.mk
|
||||
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||
echo "BINDIR = \${PREFIX}/bin" >> config.mk
|
||||
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
@@ -11,10 +11,13 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||
echo "CC = $(tc-getCC)" >> config.mk
|
||||
src_configure() {
|
||||
elog "Populating config.mk with new values..."
|
||||
echo "CC = $(tc-getCC)" > config.mk
|
||||
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||
echo "BINDIR = \${PREFIX}/bin" >> config.mk
|
||||
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
1
net-p2p/lanxchange/Manifest
Normal file
1
net-p2p/lanxchange/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST lanxchange-1.41.zip 757123 BLAKE2B 3630e08440d811fe329e6ce38f7e2eb4ad435e02bda9e8373a30344dee46f9c295ae0bfdf607cbfe1377067658207528083c65ad57dd6f6cd1fa8fbbf447c7cd SHA512 d873fd626b51a4555d0ae38edf660659a4dc5a5945b3688e967fd92b09845b12f12e346bb404de19b1987df5adad5bddb2781d99d94d164a422b392e8208bbea
|
||||
27
net-p2p/lanxchange/lanxchange-1.41.ebuild
Normal file
27
net-p2p/lanxchange/lanxchange-1.41.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper desktop xdg
|
||||
|
||||
DESCRIPTION="A simple tool for spontaneous, local network file transfers."
|
||||
HOMEPAGE="https://lanxchange.com"
|
||||
SRC_URI="https://github.com/tfg13/LanXchange/releases/download/v${PV}/lxc.zip -> ${P}.zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="virtual/jre:1.8"
|
||||
|
||||
src_install() {
|
||||
insinto "/opt/lanxchange"
|
||||
doins -r "${S}/3rd_party_licenses"
|
||||
doins -r "${S}/img"
|
||||
doins "${S}/lanxchange.jar"
|
||||
# Chances are that the slot system will take care of the symlinks for Java
|
||||
# Hence the call to env(1)
|
||||
make_wrapper "lanxchange" "/usr/bin/env -S java -jar /opt/lanxchange/lanxchange.jar"
|
||||
# Now, the desktop entry
|
||||
newicon "/opt/lanxchange/img/logo.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "LanXchange" "${PN}" "Network;P2P"
|
||||
}
|
||||
8
net-p2p/lanxchange/metadata.xml
Normal file
8
net-p2p/lanxchange/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
1
sys-process/dinit/Manifest
Normal file
1
sys-process/dinit/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dinit-0.21.0.tar.gz 415328 BLAKE2B f1634ce5545918576bf2b2d5a689e9468a480667b28d2525ae1579c67e666aae026ebba99b8b9e67036799dbe0fb42273d23c836e31cce70797d7a0b83a2509f SHA512 9362ddc400570bed7c0d67eeeafef2e339834c8a71948542562e1c5467da7a6f0fad74599118138c02f2d08116a9a8bfe3d9d1a5d02ea0ccf5e97192ea5deea7
|
||||
53
sys-process/dinit/dinit-0.21.0.ebuild
Normal file
53
sys-process/dinit/dinit-0.21.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Service monitoring and init system"
|
||||
HOMEPAGE="https://davmac.org/projects/dinit/"
|
||||
SRC_URI="https://github.com/davmac314/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="capabilities? ( sys-libs/libcap )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
IUSE="+capabilities +cgroups initgroups ioprio oom-adj +openrc shutdown utmpx"
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_configure() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export EXTRA_CXXFLAGS="${CFLAGS}"
|
||||
|
||||
./configure --prefix="${EPREFIX}/usr" \
|
||||
--shutdown-prefix="${PN}" \
|
||||
$(use_enable shutdown) \
|
||||
$(use_enable capabilities) \
|
||||
$(use_enable oom-adj) \
|
||||
$(use_enable utmpx) \
|
||||
$(use_enable initgroups) \
|
||||
$(use_enable ioprio)
|
||||
|
||||
# Let the user put their own optimization settings
|
||||
elog "Filtering out upstream's optimization settings..."
|
||||
sed -i -e 's/-Os//' mconfig
|
||||
sed -i -e 's/-flto//' mconfig
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
use openrc && newinitd "${FILESDIR}/${PN}.initd-r0" "${PN}"
|
||||
use systemd && systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This package will not override your init system by default,"
|
||||
einfo "and if you want to use it as such, you will have to port the init scripts yourself"
|
||||
}
|
||||
50
sys-process/dinit/dinit-9999.ebuild
Normal file
50
sys-process/dinit/dinit-9999.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Service monitoring and init system"
|
||||
HOMEPAGE="https://davmac.org/projects/dinit/"
|
||||
EGIT_REPO_URI="https://github.com/davmac314/dinit"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="capabilities? ( sys-libs/libcap )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
IUSE="capabilities cgroups initgroups ioprio oom-adj shutdown utmpx"
|
||||
|
||||
src_configure() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export EXTRA_CXXFLAGS="${CFLAGS}"
|
||||
|
||||
./configure --prefix="${EPREFIX}/usr" \
|
||||
--shutdown-prefix="${PN}" \
|
||||
$(use_enable shutdown) \
|
||||
$(use_enable capabilities) \
|
||||
$(use_enable oom-adj) \
|
||||
$(use_enable utmpx) \
|
||||
$(use_enable initgroups) \
|
||||
$(use_enable ioprio)
|
||||
|
||||
# Let the user put their own optimization settings
|
||||
elog "Filtering out upstream's optimization settings..."
|
||||
sed -i -e 's/-Os//' mconfig
|
||||
sed -i -e 's/-flto//' mconfig
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This package will not override your init system by default,"
|
||||
einfo "and if you want to use it as such, you will have to port the init scripts yourself"
|
||||
}
|
||||
9
sys-process/dinit/files/dinit.initd-r0
Normal file
9
sys-process/dinit/files/dinit.initd-r0
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
command="/usr/sbin/${RC_SVCNAME}"
|
||||
command_args="-s -d /etc/dinit.d -q"
|
||||
command_background="true"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
16
sys-process/dinit/metadata.xml
Normal file
16
sys-process/dinit/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="capabilities">Enable support for capabilities (using sys-libs/libcap)</flag>
|
||||
<flag name="initgroups">Enable initialization of supplementary groups for run-as</flag>
|
||||
<flag name="ioprio">Enable support for I/O priority setting</flag>
|
||||
<flag name="oom-adj">Enable support for out of memory score adjustment</flag>
|
||||
<flag name="shutdown">Build the shutdown commands</flag>
|
||||
<flag name="utmpx">Enable manipulation of the utmp/utmpx database</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -12,8 +12,8 @@ if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://mirror.chaotic.ninja/software/aya-${PV}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/aya-vendor.tar.gz
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/${PN}/${PN}-vendor.tar.gz
|
||||
"
|
||||
fi
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ inherit dune
|
||||
|
||||
DESCRIPTION="Text archival and exchange"
|
||||
HOMEPAGE="https://projects.laidback.moe/kosuzu"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="EUPL-1.2"
|
||||
SLOT="0"
|
||||
|
||||
1
www-client/palemoon-bin/Manifest
Normal file
1
www-client/palemoon-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST palemoon-bin-34.2.2-amd64.tar.xz 38842464 BLAKE2B d4a158f19d7c65cdc39303ecf2a16f6a7eff32ffd4ae8dc5975c086fa43920b42cca790a25bebc9f5774ae210b63a5216f1e647a8d308ef4ed825e90e3345059 SHA512 84815935697a3c5fe5dd5a5dc8a9933a50d761860c2b1232137dee8946e62f6f633c5358f642385214c1dee8a3f110165c69489f9ddaacd0578b9f346599e746
|
||||
8
www-client/palemoon-bin/metadata.xml
Normal file
8
www-client/palemoon-bin/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@laidback.moe</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
70
www-client/palemoon-bin/palemoon-bin-34.2.2.ebuild
Normal file
70
www-client/palemoon-bin/palemoon-bin-34.2.2.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
PM_PN="${PN%-bin}"
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
DESCRIPTION="Independent web browser built upon a fork of Firefox/Gecko (binary)"
|
||||
HOMEPAGE="https://www.palemoon.org"
|
||||
SRC_URI="https://rm-us.palemoon.org/release/${PM_PN}-${PV}.linux-x86_64-gtk3.tar.xz -> ${P}-amd64.tar.xz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
app-accessibility/at-spi2-core:2[X]
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/glib
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz
|
||||
media-libs/libpng
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxcb
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
virtual/zlib
|
||||
!www-client/palemoon
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
RESTRICT="mirror strip"
|
||||
QA_PREBUILT="*"
|
||||
S="${WORKDIR}"
|
||||
IUSE="cpu_flags_x86_avx"
|
||||
REQUIRED_USE="
|
||||
amd64? ( cpu_flags_x86_avx )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cd ${PM_PN} || die
|
||||
rm -rf gtk2
|
||||
default
|
||||
}
|
||||
src_install() {
|
||||
cd ${PM_PN} || die
|
||||
insinto "/opt/${PM_PN}/browser"
|
||||
doins -r browser/*
|
||||
insinto "/opt/${PM_PN}/defaults"
|
||||
doins -r defaults/*
|
||||
insinto "/opt/${PM_PN}/dictionaries"
|
||||
doins dictionaries/*
|
||||
insinto "/opt/${PM_PN}/fonts"
|
||||
doins fonts/*
|
||||
insinto "/opt/${PM_PN}/icons"
|
||||
doins icons/*
|
||||
insinto "/opt/${PM_PN}"
|
||||
doins *.ini *.manifest *.list *.dat precomplete removed-files
|
||||
exeinto "/opt/${PM_PN}"
|
||||
doexe ${PM_PN} ${PN} *.so
|
||||
dosym -r "/opt/${PM_PN}/${PM_PN}" "/usr/bin/${PM_PN}"
|
||||
newicon "browser/icons/mozicon128.png" "${PM_PN}.png"
|
||||
make_desktop_entry "${PM_PN} %U" "Pale Moon" "${PM_PN}" "Network;WebBrowser" "StartupWMClass=PaleMoon"
|
||||
}
|
||||
@@ -9,7 +9,7 @@ EGIT_REPO_URI="https://github.com/PCMan/gtk3-nocsd"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
|
||||
Reference in New Issue
Block a user