mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 03:23:20 -04:00
Merge updates from master
This commit is contained in:
3
app-misc/zcock/Manifest
Normal file
3
app-misc/zcock/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST IP2LOCATION-LITE-DB5.BIN.lzma 7363264 BLAKE2B c07b5c67d563c5a92b6e8f4e452806729e4da53141470158c818860593c0f33fe1f30994619439c569bce1be32bbdafd4a04c789b291fc6a6feac94d639a972a SHA512 7b8de3d7a1d819826599d9b97c198bfe1b6847607cacfa2ad3ac3f9c53184773c441164ef72e88d5e9502688df35a03d28735c3164f6f5c7831f7d2b6e7df2ce
|
||||
DIST zcock-0.0.2-vendor.tar.xz 179152 BLAKE2B 7fd40c6565f455a52911e18ce8b0b03c565fa2e79f39a52d3d11a9546d7d9f4e7ecd6667782026227992ac90319f14849745ccd8f1cd3d64e0b1b7933f44b1b6 SHA512 73c29cfcc62d9448a9a7edf75d4186b3928f70b26270c5da848c222ca5179f7c9e2efee2b7c08e8ae50cd1db33311a240528d9dd9a8daabd92e964ee6eccc4a1
|
||||
DIST zcock-0.0.2.tar.gz 4643 BLAKE2B a22e57129f330633b13278a5ce9161bd680a952276703283ac6ef0918f5331f84400f8cf3941e9e9e836a3f643e3db4ba68be34d37af21472c3b169cd02b2a06 SHA512 8d7d52784057ccb91261354f6e8fb978d6c20c24955d0c388d2f9232e6922c60a414e93e5c9efc022be2863d3f83a098cf0c9d94953d7f90cc148e556f458b6d
|
||||
11
app-misc/zcock/metadata.xml
Normal file
11
app-misc/zcock/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>davidroman96@gmail.com</email>
|
||||
<name>David Roman</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">stkw0/zcock</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
29
app-misc/zcock/zcock-0.0.2.ebuild
Normal file
29
app-misc/zcock/zcock-0.0.2.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Print an emoji according to chinese calendar"
|
||||
HOMEPAGE="https://github.com/stkw0/zcock"
|
||||
SRC_URI="https://github.com/stkw0/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
|
||||
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/IP2LOCATION-LITE-DB5.BIN.lzma"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="app-arch/xz-utils"
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin zcock
|
||||
|
||||
insinto /usr/share
|
||||
doins "${WORKDIR}/IP2LOCATION-LITE-DB5.BIN"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST aiounittest-1.4.2.gh.tar.gz 15791 BLAKE2B 7784bbf94de2b8520baef66a0b4929267942d233cc782f35677ea05b02e3d48901ba90cf9630b76bd300708ebbe59dd9d78c299422182c06940749bc2b378b45 SHA512 358b7c412f90eb7afc7ed7058e8e2d4426a6c57379d341d997658859ba6054a9a1337d0b05e63a825e28023f02550bd72d65bdb3feab4503c763c98f8c0d19c6
|
||||
@@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Test python asyncio-based code with ease"
|
||||
HOMEPAGE="https://github.com/kwarunek/aiounittest"
|
||||
SRC_URI="https://github.com/kwarunek/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
#distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
eunittest tests
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST nwg-shell-config-0.5.14.tar.gz 104956 BLAKE2B 109e6da5d30b3b96c4b5ee111c43b49febccb5072e1510776a8b5238379055cf5968bd408a1c69961e65b86a36d6adf54e196f4ebbdbf3e2587453d823fdd355 SHA512 9b4f7cf89c984f37d7f3a671cf9b029f0a94a7c41bb7986303e35f9975c1890140815a33c808a284f1c5e616bd3f652d5ac3696ebe16f4dee0f4234f7713d43c
|
||||
DIST nwg-shell-config-0.5.22.tar.gz 109183 BLAKE2B d1475d80ecc5280dacf402abb9f27dc6d073b15f61dc24fcfcdc053e017656add62a706b1e012d7fb0d5004ee5358602732421d2e76d9a5171869730d4ef01dc SHA512 a19c65c10785e6f499ce997073bf32227c9d193befef8a847b8e051f4d2fe702d1db31d4cbfd881dbdc8b7b36609bc6ec6e5611b6696fe02ffd4262d21898101
|
||||
DIST nwg-shell-config-0.5.23.tar.gz 109379 BLAKE2B 39e2ca78afa83ef0104b8e6d9f3ca3301852f8d9af5ee4f7a7aab6a8c01677ca18c9f635177b76cb923295f26e6e6316b124f5a7d7540da07d05cc5e2347f254 SHA512 99caa2b18dd4828ffa8a98293dfea65877e41cbfe0209d241cf100a822a732b556a16cbe2921c0cdc48ad6fde078c9d64656b286bb833fae495085976b934975
|
||||
|
||||
43
gui-apps/nwg-shell-config/nwg-shell-config-0.5.23.ebuild
Normal file
43
gui-apps/nwg-shell-config/nwg-shell-config-0.5.23.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit desktop distutils-r1 xdg-utils
|
||||
|
||||
SRC_URI="https://github.com/nwg-piotr/nwg-shell-config/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="nwg-shell configuration utility"
|
||||
HOMEPAGE="https://github.com/nwg-piotr/nwg-shell-config"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
gui-apps/nwg-shell
|
||||
sci-geosciences/geopy
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
domenu nwg-shell-config.desktop
|
||||
doicon nwg-shell-config.svg
|
||||
doicon nwg-shell-update.svg
|
||||
doicon nwg-shell-translate.svg
|
||||
doicon nwg-update-noupdate.svg
|
||||
doicon nwg-update-available.svg
|
||||
doicon nwg-update-checking.svg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
@@ -5,7 +5,6 @@ EAPI=8
|
||||
|
||||
MY_PN="${PN/-bin/}"
|
||||
|
||||
CHROMIUM_VERSION="102"
|
||||
CHROMIUM_LANGS="
|
||||
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
|
||||
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
|
||||
@@ -29,6 +28,7 @@ RDEPEND="
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/mesa[gbm(+)]
|
||||
net-print/cups
|
||||
@@ -71,6 +71,7 @@ src_prepare() {
|
||||
pushd "locales/" >/dev/null || die "location change for language cleanup failed"
|
||||
chromium_remove_language_paks
|
||||
popd >/dev/null || die "location reset for language cleanup failed"
|
||||
rm -rf "${S}"/resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -35,7 +35,10 @@ RDEPEND="
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -35,7 +35,10 @@ RDEPEND="
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST orcania-2.3.2.tar.gz 39739 BLAKE2B 8b09aba52646a66661fd1f9d93fe2a85ac9fa007daefc162f180622f226ae6aced9659e1f9963fc491a252a72df98a8d8a128fa60b3444137e791020414a19f9 SHA512 d47af7fa61acc71b06b7390703d3530fd9994750ab783be58126e75df0da3539df7aa260bdee3f30fee21b19fea79615a204b3817e45a9f87cb308213ad9ad89
|
||||
DIST orcania-2.3.3.tar.gz 40916 BLAKE2B ea154ac1ace5d161dd7ac0783d48ba5e04e2cc7d132324b6ac69babaa2d87bea4a44fc7a81304c5a67d6766d5dc19fe2a2dc27168f1c2521b821b689fac72045 SHA512 5bfa98b86165cc8b74ff309a31f859260ad172912783f7ff82f8c3065eac8caa8b0e94236ab029915a5e7276b201dbc4d335a9185094725bf2be5d29dbd8f55e
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST ulfius-2.7.13.tar.gz 427607 BLAKE2B 1ccc3c37af135bfab2c7c81231ec8e788cd9df46f9025ae6745e58baff29e0820b7b62f929338f890f1e165bc84b292e3a8e0c6b07e5f83fb9972dcd6414221f SHA512 cb92631f2d20088f21c8accee8841774793d79ae7851e4a0d160db084131e68cb9b78d44bc6519b624f35f007209da61e8173912248cefbec9141cd09690cc3d
|
||||
DIST ulfius-2.7.14.tar.gz 452224 BLAKE2B 860163bc8b2de8b7eb07e3d99c7205fc752de6c4894423405b8966ae551b5d9cd13081d562f5affa539265ed4ea5884202fbb75d61140d41c0ac86d6a9a54d33 SHA512 c7a07df78432aebada45f3540abf6c434fd1ded6cd06d19b11270de6318664993d1555560a8e7700a5f36dff349649a073ea7d9279c3cf823db7cd5f355ee4cb
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -25,6 +25,7 @@ DEPEND="
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
net-libs/libmicrohttpd:=
|
||||
net-libs/orcania
|
||||
net-libs/yder
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="
|
||||
@@ -34,7 +35,6 @@ RDEPEND="
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_ULFIUS_DOCUMENTATION=$(usex doc)
|
||||
-DDOWNLOAD_DEPENDENCIES=OFF
|
||||
-DWITH_CURL=$(usex curl)
|
||||
-DWITH_GNUTLS=$(usex ssl)
|
||||
-DWITH_JANSSON=$(usex jansson)
|
||||
1
net-libs/yder/Manifest
Normal file
1
net-libs/yder/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST yder-1.4.20.tar.gz 30058 BLAKE2B e063f1c400a9d205022b58540d5991753c6111be79e0a85476ac31b111db5f7de04dc7e3deaf271e86d00be2a9330d6a28489f8c803781e35082d025e3edf8a6 SHA512 5866558e5d23acd4d82459433449dcbca2c9ab8744f7bc23fc6e4b1349fe683bfa396897e0c38d10b08a52b03fe26fa7bf83cc2e11a0b10066cb6dedf5bb499b
|
||||
20
net-libs/yder/metadata.xml
Normal file
20
net-libs/yder/metadata.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>kurt@kmk-computers.de</email>
|
||||
<name>Kurt Kanzenbach</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Logging library written in C.
|
||||
|
||||
Simple and easy to use logging library. You can log messages to the console,
|
||||
a file, Syslog, journald or a callback function.
|
||||
|
||||
Yder is mono-thread, which mean that you can use only one instance of Yder
|
||||
log at the same time in your program.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">babelouest/yder</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
53
net-libs/yder/yder-1.4.20.ebuild
Normal file
53
net-libs/yder/yder-1.4.20.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Logging library for C applications"
|
||||
HOMEPAGE="https://github.com/babelouest/yder/"
|
||||
SRC_URI="https://github.com/babelouest/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc systemd"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
systemd? (
|
||||
sys-apps/systemd
|
||||
)
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_YDER_DOCUMENTATION=$(usex doc)
|
||||
-DWITH_JOURNALD=$(usex systemd)
|
||||
)
|
||||
|
||||
sed -i -e "s/-Werror//g" CMakeLists.txt || die
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_build doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( doc/html/* )
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -2,3 +2,5 @@ DIST yggdrasil-go-0.4.7-vendor.tar.xz 958088 BLAKE2B 1e6412803a2428fbc3779115155
|
||||
DIST yggdrasil-go-0.4.7.tar.gz 95223 BLAKE2B eb56702dc95a9bb3bc5a48073d3e2241eb076299262fbeb5e001f2af0da5407796f0978295ae3ecf7b347f2a322c45bfb8d623e0c9271f092288f79ab5ad1040 SHA512 954e511001b509ae95348f18e489aed98dfa9ac079c007e3c054d00163e224389fdb6ae293be507cba5ae5182612a466a9d8878e7e2d762289ad4429920246e8
|
||||
DIST yggdrasil-go-0.5.1-vendor.tar.xz 1443912 BLAKE2B f62c2ddd09ff662e939f993bf850f862d2bb5cc5db34b4d38251e21aa8980729d1333196332d4f78b1b80b4f782102db9c8d286716d65d39cdfc6425e0e44510 SHA512 2f695542dbf642139be23227c432fc8e789fc8e3d4dedff9278ae0051db487bad642eda293ef39eab7d78bf578e474897517849badc123a980a0e9b66d8e9fd3
|
||||
DIST yggdrasil-go-0.5.1.tar.gz 103689 BLAKE2B 4787f35acb6132d18c692dc727c0485025a25641cf09018e4fcc7cb1f7b4f7eb1418e2345cbde546b124b994cc615cc6f4ef9f13a40aefb55c8e89e04e5bf5d0 SHA512 2c7e3c4dee700328c651131dad8cc5e57de7a56d988062b130634679cf1e7af296fd1d11d80e7cf1e2ab389390a75c266b06d7179b9e5104ec150b71f6b3ebba
|
||||
DIST yggdrasil-go-0.5.2-vendor.tar.xz 1443440 BLAKE2B a845f17657146b012274f8be0b5bfa0df50a161690b4dd27922ee56427b26fd0ea10426819bd1fea397ec44e48af907cdd3ff44b8786e66c03c31d8230878153 SHA512 cdd459fcf6b56135e034de2179153d54fbf0a882aad2e2b8734717ff49a94335d4161a5cb6cb54ac513174abbb4c49f936785ebc8cc47436a27d1ea223d1d7fc
|
||||
DIST yggdrasil-go-0.5.2.tar.gz 104580 BLAKE2B b16483bffa7d9112d699d64e150b02bd3cac5a493d831daeb90a054d8baee284163ec50cf710a8e1a2af012900184e8e869ae35b66c29be1b8b884f7c968ca13 SHA512 a1bd4606d8d3d83f691ab04cdd7316a9e391f44aaddc4d67d7249623e6de02ab55ec670d7bb6885702e9e12de0f526eafae9ec36ca116b365f8aea4065345271
|
||||
|
||||
57
net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild
Normal file
57
net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module linux-info systemd fcaps
|
||||
|
||||
DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network"
|
||||
HOMEPAGE="https://yggdrasil-network.github.io/"
|
||||
SRC_URI="
|
||||
https://github.com/yggdrasil-network/yggdrasil-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="
|
||||
acct-user/yggdrasil
|
||||
acct-group/yggdrasil
|
||||
"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.17.0"
|
||||
|
||||
FILECAPS=(
|
||||
cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for TUN support"
|
||||
else
|
||||
CONFIG_CHECK="~TUN"
|
||||
ERROR_TUN="Your kernel lacks TUN support."
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local package="github.com/yggdrasil-network/yggdrasil-go/src/version"
|
||||
|
||||
for CMD in yggdrasil yggdrasilctl ; do
|
||||
ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}' -X ${package}.buildName=${PN} -X ${package}.buildVersion=v${PV}" -trimpath ./cmd/$CMD
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin {yggdrasil,yggdrasilctl}
|
||||
dodoc README.md
|
||||
dodoc CHANGELOG.md
|
||||
systemd_dounit "contrib/systemd/yggdrasil.service"
|
||||
systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
|
||||
doinitd "contrib/openrc/yggdrasil"
|
||||
}
|
||||
1
www-apps/pleroma-fe/Manifest
Normal file
1
www-apps/pleroma-fe/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pleroma-fe-2.6.0.tar.gz 4753735 BLAKE2B 21edb9d26b1c8cdc45ed9b9aa13d1b8b737112ab67f85a0c111ec0e9d29f112a4ef06312493c64bbc6be175f793e4e877f6849254de548337c470006b3779cb0 SHA512 13b17a71ab0feb7c7bb6c691f20cc8789c5589cdda642b7888cc0d16e284c32949fdda4df23ed2e610267ce898dea1b8db5620befe66cfe3c9d2a12f1e088d72
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>piotr.staroszczyk@get24.org</email>
|
||||
<name>Piotr Staroszczyk</name>
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">kwarunek/aiounittest</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
51
www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
Normal file
51
www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
|
||||
HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
|
||||
if [[ "${PV}" == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
|
||||
else
|
||||
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
LICENSE="AGPL-3 MIT ISC Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# Requires network access (https) as long as NPM dependencies aren't packaged
|
||||
# said dependencies have their checksum verified via `yarn.lock`
|
||||
RESTRICT="network-sandbox"
|
||||
|
||||
BDEPEND="
|
||||
net-libs/nodejs
|
||||
sys-apps/yarn
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
[[ "${PV}" == *9999 ]] && git-r3_src_unpack
|
||||
|
||||
cd "${S}" || die
|
||||
yarn install --no-bin-links --frozen-lockfile --non-interactive || die
|
||||
}
|
||||
|
||||
# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
|
||||
|
||||
src_compile() {
|
||||
yarn run build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/opt/pleroma-fe"
|
||||
doins -r dist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'You will need to add the following line in /etc/pleroma/config.exs to make use of this frontend:'
|
||||
elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", "ref" => "gentoo"}'
|
||||
}
|
||||
51
www-apps/pleroma-fe/pleroma-fe-9999.ebuild
Normal file
51
www-apps/pleroma-fe/pleroma-fe-9999.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
|
||||
HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma-fe"
|
||||
if [[ "${PV}" == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe"
|
||||
else
|
||||
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
LICENSE="AGPL-3 MIT ISC Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# Requires network access (https) as long as NPM dependencies aren't packaged
|
||||
# said dependencies have their checksum verified via `yarn.lock`
|
||||
RESTRICT="network-sandbox"
|
||||
|
||||
BDEPEND="
|
||||
net-libs/nodejs
|
||||
sys-apps/yarn
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
[[ "${PV}" == *9999 ]] && git-r3_src_unpack
|
||||
|
||||
cd "${S}" || die
|
||||
yarn install --no-bin-links --frozen-lockfile --non-interactive || die
|
||||
}
|
||||
|
||||
# FIXME src_prepare: Point to the correct source repo, needed for AGPL compliance
|
||||
|
||||
src_compile() {
|
||||
yarn run build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/opt/pleroma-fe"
|
||||
doins -r dist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'You will need to add the following line in /etc/pleroma/config.exs to make use of this frontend:'
|
||||
elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", "ref" => "gentoo"}'
|
||||
}
|
||||
@@ -100,10 +100,13 @@ src_install() {
|
||||
keepdir /var/lib/pleroma
|
||||
fperms 0750 /var/lib/pleroma
|
||||
fowners pleroma:pleroma /var/lib/pleroma
|
||||
|
||||
dosym /opt/pleroma-fe/dist /var/lib/pleroma/static/frontends/pleroma-fe/gentoo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in previews" media-gfx/imagemagick
|
||||
optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
|
||||
optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" media-libs/exiftool
|
||||
optfeature "Allows to pick system-managed frontend instead of bundled" www-apps/pleroma-fe
|
||||
}
|
||||
|
||||
@@ -101,10 +101,13 @@ src_install() {
|
||||
keepdir /var/lib/pleroma
|
||||
fperms 0750 /var/lib/pleroma
|
||||
fowners pleroma:pleroma /var/lib/pleroma
|
||||
|
||||
dosym /opt/pleroma-fe/dist /var/lib/pleroma/static/frontends/pleroma-fe/gentoo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in previews" media-gfx/imagemagick
|
||||
optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
|
||||
optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" media-libs/exiftool
|
||||
optfeature "Allows to pick system-managed frontend instead of bundled" www-apps/pleroma-fe
|
||||
}
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Environment variables for whoogle
|
||||
source "/etc/default/whoogle"
|
||||
export ADDRESS=${BIND_ADDRESS:-0.0.0.0}
|
||||
export PORT=${LISTEN_PORT:-5000}
|
||||
|
||||
name="Whoogle Search"
|
||||
description="A self-hosted, ad-free, privacy-respecting metasearch engine"
|
||||
command="/opt/whoogle-search/run"
|
||||
@@ -17,6 +22,12 @@ depend() {
|
||||
|
||||
start_pre() {
|
||||
checkpath -fo whoogle:whoogle "/var/log/whoogle.log"
|
||||
source "/etc/default/whoogle"
|
||||
echo "Whoogle is running on: ${BIND_ADDRESS}:${LISTEN_PORT}"
|
||||
cd /opt/whoogle-search
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
# whoogle doesn't get killed by stop so it needs to be done manually
|
||||
whoogle_pid="$(ps aux | grep -i "/usr/lib/python-exec/python3.11/python3 -um app" | grep -v 'grep' | cut -d ' ' -f 3-4 | xargs)"
|
||||
kill "${whoogle_pid}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user