mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST chezmoi-2.33.6-deps.tar.xz 136688952 BLAKE2B c0ce97ee8f0d7d597d794f3fc1744a5b739b3fc31cddf0ed7a52fc1378ea16b469d0ac55f4eeb19f39012e367ce8299cb3c6aabded012760ff18c4a34126f697 SHA512 ac6f5a3f3b773bc43979421f3186231e42236404d56c572e5bde60fbec00f83700be33ae97b43bef49ba893f5bb6be94570df6c065fa043e8a24c097ec2b6ad1
|
||||
DIST chezmoi-2.33.6.tar.gz 2445195 BLAKE2B 17139093162995747e675f1b0da4681612dc6a535c82e1c6397a712f535b642fd4778a881c25f717a406a76081a0c35f85d17cbeb89dcedbfc58fd64658dfedc SHA512 97a6a76d8e42a44f72dc1954dcec3446148f2433b87cde3d09cb6e02af45beda59a4f1fc21aa2d5c2d5952bae345a77432953072e1b0117b0266dc5fc3e973dc
|
||||
DIST chezmoi-2.34.0-deps.tar.xz 136359084 BLAKE2B fa34042c0b782eeb5275aa4ababfb6912e07f53ddc371953f26f6108d5ffb20f4aaacff7f90049060cd28a46341452a740591b621f502cd108c9505886051fb5 SHA512 ac4f0fda7f48d32c9c4c97c89b7e03cd672a1280257d354f17fb33e9850217b86d1db81990bab16f8a9ff142b23d5ce4b02b26c537f244c8506964551353642d
|
||||
DIST chezmoi-2.34.0.tar.gz 2446167 BLAKE2B dab597cc11c5db3a6b5d0d8b91757d6ea1995e6b93ee5b66a0087ae5e7f85d63fe38a82cfaad46b37b8ab6840594fc0ecc8fc781988e993a4bba28735e65d32e SHA512 43e200502acc99b629e0de8396c3478925f6e1f72b5c2516cb6a33bf3a7362bb82c88fbfa5254e89874141568948b955f09f076cbf495e0e7c1a756a69125383
|
||||
|
||||
3
app-admin/gentoo_update/Manifest
Normal file
3
app-admin/gentoo_update/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST 0.1.2.tar.gz 6660 BLAKE2B ac1a3d2230bdae549e47e0ce399d222492151cc0d719cb376e27e6c56a9bbdd08334ce14e756619b1139fe70b08b2692a661ad6ac6f1a342969fee406ebc43c3 SHA512 cb87c5b4cd7415bd2e35a2070536b97f4b0525c9a7bd430cd361a144feace85bdb600bd49be047408b80035ea25a77204fa5cfc0cc719a8769732afac5109830
|
||||
EBUILD gentoo_update-0.1.2.ebuild 511 BLAKE2B 742d55359537ef19f4e4ad55b6fcb7ec2f7eb779105ff44ee7398bebfe8fbf3af5a1068e46d1b16480f4fe9cbd45119b6cd5ede8d14c0f8b7bd87c73a76d3a65 SHA512 7c0893c6f992b1d9682d9e29e726500e5e2712b5fd55b61843665544947b12584610fd65d4048ded17828504a4e1dc8243f468c17b9aee079d540dfc2147831c
|
||||
MISC metadata.xml 248 BLAKE2B 84fa2f2bab55e26864c8c62ec846b79faf5a184cee9fa34cd7ffeaf20637eec4444af9f592b2edb61a189bbd862b6acc32709c4cd199993bc1a748d269bcd1c9 SHA512 957dee25ea398b6fa6cab7227a943d9b679fabede22ee6b39c8888897e99b9d095e0c9446bbb7fc187bcacd9f541160a3cbbc55c6de43d96a43b58cb1b4b431f
|
||||
23
app-admin/gentoo_update/gentoo_update-0.1.2.ebuild
Normal file
23
app-admin/gentoo_update/gentoo_update-0.1.2.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9,10,11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Gentoo Linux updater"
|
||||
HOMEPAGE="https://github.com/Lab-Brat/gentoo_update"
|
||||
SRC_URI="https://github.com/Lab-Brat/gentoo_update/archive/refs/tags/${PV}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_test() {
|
||||
${EPYTHON} -m unittest discover -v || die "Tests failed"
|
||||
}
|
||||
|
||||
8
app-admin/gentoo_update/metadata.xml
Executable file
8
app-admin/gentoo_update/metadata.xml
Executable file
@@ -0,0 +1,8 @@
|
||||
<?xml version="0.1.2" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>stepan_kk@pm.me</email>
|
||||
<name>Stepan Kulikov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST grub-btrfs-4.11.tar.gz 26016 BLAKE2B f808293e7ea06bf10b4a3fa46c7f70aae5b84fab46eae3f0b964e17c0b0e9cb0d2f60995177d33712e4f24b9d3e45aa6fd7ec514be4acb75f00f76d4c5380c3a SHA512 c72cc6cad73e4dfa5d16345d845b2327ec854eb7c49d72f2c8d332c1854937fb1a102833b80517ee17289715f41e9b6a6342e49d4cea88325d13159dc08dcf42
|
||||
DIST grub-btrfs-4.12.tar.gz 34724 BLAKE2B 5b6a4aa453057e90e2e142ed6b4bc84f536a8eefdc8ea3f8cfccada4706ec49759bdb04a67f64f0705a302a34494d1b758cdae37a502af1b7cd8dfb6cae5f069 SHA512 fb433634f59404373c2a6197c1389eb5e1a27e8aaa5d0376ee76c1c9381b5488b57989a9062a286c26e205d5ac25c2252b02416921c31408d2b7aa8e9af1a521
|
||||
DIST grub-btrfs-4.13.tar.gz 37940 BLAKE2B e2f11a0a8282e3ec8ff8223e3bad70b5d5c5e81b4d740a1bf3554db412dbe48a8a0f216f4e6c65ae1d11c01a27b8b92bae9b470c60d2389505ce089511536e1a SHA512 a606597cfb6d752f767a6a9cdaa86bbac1caf89ee11e65731185e22e348cfc53814e187a2dd7309e8be01c6cf3a400b8e242b06a4f8dfc2cd651011b1f0de41e
|
||||
|
||||
57
app-backup/grub-btrfs/grub-btrfs-4.13.ebuild
Normal file
57
app-backup/grub-btrfs/grub-btrfs-4.13.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="Improves Grub by adding btrfs snapshots to the Grub menu."
|
||||
HOMEPAGE="https://github.com/Antynea/grub-btrfs"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Antynea/grub-btrfs"
|
||||
else
|
||||
SRC_URI="https://github.com/Antynea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="systemd"
|
||||
|
||||
DEPEND="
|
||||
sys-fs/btrfs-progs
|
||||
sys-boot/grub
|
||||
app-alternatives/awk
|
||||
>=app-shells/bash-4
|
||||
sys-fs/inotify-tools
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_compile(){
|
||||
true
|
||||
}
|
||||
|
||||
src_install(){
|
||||
local conf
|
||||
if use systemd; then
|
||||
conf+="GRUB_UPDATE_EXCLUDE=true INSTALL_DOCS=false SYSTEMD=true OPENRC=false"
|
||||
else
|
||||
conf+="GRUB_UPDATE_EXCLUDE=true INSTALL_DOCS=false OPENRC=true SYSTEMD=false"
|
||||
fi
|
||||
emake DESTDIR="${D}" ${conf} install || die
|
||||
dodoc README.md
|
||||
mv ./initramfs/readme.md initramfs-overlayfs.md || die
|
||||
dodoc initramfs-overlayfs.md
|
||||
doman temp/grub-btrfs.8
|
||||
doman temp/grub-btrfsd.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "run 'grub-mkconfig -o /boot/grub/grub.cfg' to update your Grub menu."
|
||||
elog "update the /etc/grub.d/41_snapshots-btrfs script if neccesary."
|
||||
elog "(e.g. with dispatch-conf or etc-update)"
|
||||
optfeature "LVM/ LUKS support" sys-boot/grub[device-mapper]
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST pulsar-bin-1.105.0.tar.gz 228995179 BLAKE2B b4b185a161374590b68e2efbd5b2f37ec59278f71cc30ef519c3a67ae546ea9b73f2e2e50eabd8b07855e291704f4d994428f58dca24e144713e4996fe053b03 SHA512 f2ed05bebe81735c21ac80ff82ec051aebc9ec54e8f2ffce0e4e17f0fc6b221992ca5909271f04334211e494647cfef9f1555f0f439ee77c63488585f255f810
|
||||
DIST pulsar-bin-1.105.0-amd64.tar.gz 228995179 BLAKE2B b4b185a161374590b68e2efbd5b2f37ec59278f71cc30ef519c3a67ae546ea9b73f2e2e50eabd8b07855e291704f4d994428f58dca24e144713e4996fe053b03 SHA512 f2ed05bebe81735c21ac80ff82ec051aebc9ec54e8f2ffce0e4e17f0fc6b221992ca5909271f04334211e494647cfef9f1555f0f439ee77c63488585f255f810
|
||||
DIST pulsar-bin-1.105.0-arm64.tar.gz 190376758 BLAKE2B 4901f01497f7a015f95f77126f91f7817ffa8bd82d10066f741dd53dd67ec6f43bec1f7a34d949f00f2efed9f36b0f19745fb71abbc6074ca248f08d4159062a SHA512 e201118befcc14308f1383309fd0a7a258f72d1aa31b59da8ffb863ab9a43b821b5285dfe4fde1ccdf8f92121c1898b8022f604362e7415dcf7d8fc05d8de512
|
||||
|
||||
@@ -7,12 +7,14 @@ inherit desktop xdg
|
||||
|
||||
DESCRIPTION="A Community-led Hyper-Hackable Text Editor"
|
||||
HOMEPAGE="https://pulsar-edit.dev/"
|
||||
SRC_URI="https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/Linux.pulsar-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/Linux.pulsar-${PV}.tar.gz -> ${P}-amd64.tar.gz )
|
||||
arm64? ( https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/ARM.Linux.pulsar-${PV}-arm64.tar.gz -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
# Need different downloads for other architectures; untested
|
||||
KEYWORDS="-* ~amd64"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/pulsar-${PV}"
|
||||
@@ -50,6 +52,14 @@ RDEPEND="
|
||||
QA_PREBUILT="/opt/Pulsar/*"
|
||||
QA_PRESTRIPPED="/opt/Pulsar/resources/*" # Files are already stripped
|
||||
|
||||
src_unpack(){
|
||||
default
|
||||
|
||||
if use arm64; then
|
||||
mv "pulsar-${PV}-arm64" "pulsar-${PV}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
default
|
||||
|
||||
@@ -58,26 +68,18 @@ src_prepare(){
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /opt/Pulsar
|
||||
doins -r "${S}"/*
|
||||
dosym ../../opt/Pulsar/resources/pulsar.sh "${EPREFIX}"/usr/bin/pulsar
|
||||
fperms +x /opt/Pulsar/resources/pulsar.sh
|
||||
fperms +x /opt/Pulsar/pulsar
|
||||
dodir /opt/Pulsar
|
||||
mv "${S}"/* "${ED}"/opt/Pulsar
|
||||
|
||||
# I will use only npm provided with package itself
|
||||
# as nodejs is not required to make it working (and it is really big).
|
||||
fperms +x /opt/Pulsar/resources/app/ppm/bin/{apm,node,npm}
|
||||
|
||||
# Bug 798459
|
||||
fperms +x /opt/Pulsar/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git}
|
||||
fperms +x /opt/Pulsar/resources/app.asar.unpacked/node_modules/fuzzy-finder/node_modules/vscode-ripgrep/bin/rg
|
||||
fperms +x /opt/Pulsar/resources/app.asar.unpacked/node_modules/whats-my-line/node_modules/dugite/git/bin/git
|
||||
dosym ../../opt/Pulsar/resources/pulsar.sh /usr/bin/pulsar
|
||||
|
||||
# Bug #906939
|
||||
rm "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins/python3
|
||||
rmdir "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins
|
||||
if use amd64; then
|
||||
rm "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins/python3
|
||||
rmdir "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins
|
||||
fi
|
||||
|
||||
doicon resources/pulsar.png
|
||||
doicon "${ED}"/opt/Pulsar/resources/pulsar.png
|
||||
make_desktop_entry "/usr/bin/pulsar %F" "Pulsar" "pulsar" \
|
||||
"GNOME;GTK;Utility;TextEditor;Development;" \
|
||||
"GenericName=Text Editor\nStartupNotify=true\nStartupWMClass=pulsar\n" \
|
||||
@@ -9,7 +9,7 @@ EAPI=8
|
||||
# The configuration with Python 3.{10,11} was tested on a limited number of machines and is not guaranteed to work.
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit desktop python-single-r1 pypi xdg
|
||||
inherit desktop optfeature python-single-r1 pypi xdg
|
||||
|
||||
MY_PN=${PN%-bin}
|
||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
||||
@@ -76,3 +76,18 @@ src_install() {
|
||||
newmenu "${DISTDIR}"/${P}.desktop ${MY_PN}.desktop
|
||||
newman "${DISTDIR}"/${P}.1 ${MY_PN}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "LaTeX in cards" "app-text/texlive[extra] app-text/dvipng"
|
||||
optfeature "sound support" media-video/mpv media-video/mplayer
|
||||
if use qt6; then
|
||||
ewarn "Recording support is broken for Qt6 until dev-qt/qtmultimedia"
|
||||
ewarn "implements support for ALSA or PulseAudio."
|
||||
ewarn "Consider running Anki with Qt5 if you need recordings."
|
||||
else
|
||||
optfeature "recording support" "media-sound/lame[frontend] dev-python/PyQt5[multimedia]"
|
||||
fi
|
||||
einfo "You can customize the LaTeX header for your cards to fit your needs:"
|
||||
einfo "Notes > Manage Note Types > Options"
|
||||
}
|
||||
|
||||
@@ -47,5 +47,12 @@ src_prepare() {
|
||||
./extract.sh
|
||||
|
||||
# Fix the Makefile
|
||||
sed -i 's|prefix = /usr/local|prefix = $(DESTDIR)/usr|g' Makefile
|
||||
sed -i \
|
||||
-e 's|prefix = /usr/local|prefix = $(DESTDIR)/usr|g' \
|
||||
-e 's/^all: check /all: /' \
|
||||
Makefile
|
||||
|
||||
# Respect CFLAGS in other Makefiles
|
||||
sed -i 's/-ggdb3 -O0//' keymap/Makefile res/Makefile
|
||||
|
||||
}
|
||||
|
||||
1
app-portage/gentle/Manifest
Normal file
1
app-portage/gentle/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST gentle-0.1.tar.xz 17376 BLAKE2B 88d3fc7af3e153183d8da3d86e51b72d7c11f52b2d8db879d7854900c8f1654bb1a907403edfe741a6a4165266b833522408a52cd79c48b145eee2e8978ed34e SHA512 022406f2bffa559149fe53549a3e9243325d695ca3632959221402f1f770208ecb3eb49033d23daa83e971ddd505a335c5213bc9067f41443cb9e574f3bfd15a
|
||||
25
app-portage/gentle/gentle-0.1.ebuild
Normal file
25
app-portage/gentle/gentle-0.1.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Gentoo Lazy Entry - a metadata.xml generator"
|
||||
HOMEPAGE="https://git.sysrq.in/gentle"
|
||||
SRC_URI="https://git.sysrq.in/${PN}/snapshot/${P}.tar.xz"
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="test? ( app-text/xmldiff[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "toml support" dev-python/tomli
|
||||
optfeature "yaml support" dev-python/pyyaml
|
||||
}
|
||||
14
app-portage/gentle/metadata.xml
Normal file
14
app-portage/gentle/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Anna</name>
|
||||
<email>cyber@sysrq.in</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST jwt-cpp-0.4.0.tar.gz 64383 BLAKE2B 48de501a1fff851ada5ffc0554309f6f05943d6b6a459c8f002f8bcebb9be40d878fc7f39c2f4da7031b784421dd0530d8e50d5eadbdb924c5485fdcd2f04b85 SHA512 8a82accb396db8fb2f1a32b14459f6ff3f5d4c6dcb54dfe1a10751da093381c2dcfb92c6e1f4f2ae42ca0f25c96c02ea35f37b723afaaf6b2d458c1a6f4e6b62
|
||||
DIST jwt-cpp-0.6.0.tar.gz 275126 BLAKE2B 4bf9bed9b2aa9584b497b2ab4d1d2582d9b5e4ded402200ea3f70b0e6752338fd4e2ef9c5836c728a6907a0190209c7baeaecd26032ce64dc6bf12a23594f27b SHA512 b6d5ebb3a7eeb6fef9a1d41c707251d1ab05bf47920c280d5203f1b9ee5bf6f8e914cd2ffaed66550cfa6d78c34465d4cf86517a759d5f8739b429faf1c2c0ef
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="header only library for creating and validating JSON Web Tokens in C++11"
|
||||
HOMEPAGE="https://thalhammer.github.io/jwt-cpp/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc +picojson test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/openssl
|
||||
picojson? ( dev-cpp/picojson )"
|
||||
BDEPEND="
|
||||
doc? ( app-doc/doxygen[dot] )
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
RESTRICT="
|
||||
!picojson? ( test )
|
||||
!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle dev-cpp/picojson and fix include paths.
|
||||
# See also: https://github.com/Thalhammer/jwt-cpp/issues/213
|
||||
rm -vrf include/picojson || die
|
||||
find -name '*.h' -type f -print0 | xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die
|
||||
# Prevent installation of bundled dev-cpp/picojson.
|
||||
sed -i -e 's:^\s*install.*include/picojson.*$::' CMakeLists.txt || die
|
||||
# Fix installation paths for .cmake files.
|
||||
sed -i -e 's:DESTINATION ${CMAKE_INSTALL_PREFIX}/jwt-cpp:DESTINATION ${CMAKE_INSTALL_PREFIX}/share/jwt-cpp:' CMakeLists.txt || die
|
||||
sed -i -e 's:DESTINATION jwt-cpp:DESTINATION ${CMAKE_INSTALL_PREFIX}/share/jwt-cpp:' CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# Not useful for now, asks for non-existent CMake module.
|
||||
#-DJWT_EXTERNAL_PICOJSON="$(usex picojson)"
|
||||
# Examples are not installed and for development only.
|
||||
-DBUILD_TESTS="$(usex test)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use doc && local HTML_DOCS=(docs/html/.)
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/tests/jwt-cpp-test || die
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Thalhammer/jwt-cpp.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Thalhammer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="header only library for creating and validating JSON Web Tokens in C++11"
|
||||
HOMEPAGE="https://thalhammer.github.io/jwt-cpp/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc +picojson test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
dev-libs/openssl
|
||||
picojson? ( dev-cpp/picojson )"
|
||||
BDEPEND="
|
||||
doc? ( app-doc/doxygen[dot] )
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
RESTRICT="
|
||||
!picojson? ( test )
|
||||
!test? ( test )"
|
||||
DOCS=( README.md docs/{faqs,ssl,traits}.md )
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle dev-cpp/nlohmann_json.
|
||||
rm -vrf include/nhlomann || die
|
||||
# Unbundle dev-cpp/picojson and fix include paths.
|
||||
# See also: https://github.com/Thalhammer/jwt-cpp/issues/213
|
||||
rm -vrf include/picojson || die
|
||||
find -name '*.h' -type f -print0 | xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die
|
||||
# Prevent installation of bundled dev-cpp/picojson.
|
||||
sed -i -e 's:^\s*install.*picojson/picojson\.h.*$::' CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DJWT_DISABLE_PICOJSON="$(usex picojson OFF ON)"
|
||||
# Not useful for now, asks for non-existent CMake module.
|
||||
#-DJWT_EXTERNAL_PICOJSON="$(usex picojson)"
|
||||
# Examples are not installed and for development only.
|
||||
-DJWT_BUILD_EXAMPLES=NO
|
||||
-DJWT_BUILD_TESTS="$(usex test)"
|
||||
-DJWT_CMAKE_FILES_INSTALL_DIR="${EPREFIX}"/usr/share/cmake
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use doc && local HTML_DOCS=(doxy/html/.)
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/tests/jwt-cpp-test || die
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>o.freyermuth@googlemail.com</email>
|
||||
<name>Oliver Freyermuth</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/Thalhammer/jwt-cpp/issues</bugs-to>
|
||||
<remote-id type="github">Thalhammer/jwt-cpp</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="picojson">Enable use of <pkg>dev-cpp/picojson</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,3 +0,0 @@
|
||||
DIST scitokens-cpp-0.7.3.tar.gz 99699 BLAKE2B d5d4f4559a2668d391abf6f8139d4c1e6c99d7acfd26e730db19e91306096c6c67379ab920bfa130222908962f8ab62bd2e7dcade247d9f07431343346a88cb4 SHA512 b9d48e337bf4edf14d8ae231988b48e36736aa948b82dc8336a9adb8db91870a8d0bce25a4555fd728cf80c0bd0303bef5df6434f6ea031a8dce2edd99e0ad7e
|
||||
DIST scitokens-cpp-1.0.0.tar.gz 309098 BLAKE2B ebe919bd5a4dada2fa08e881358caf597aeae9309d75977d8479b5859bb5d0d396cc890f4048ed3295c7e3cf483440fca40dd0bd7f1d54a608d547b72d3e6b5f SHA512 db0679be6bed7117ced05618a5cbd8c52f427e10e221a8094780ebaa1585caeae57a44fc2a76691bf33bbcf34dd1353b27caca8a9381dd3c3aa16a8ef6a14285
|
||||
DIST scitokens-cpp-1.0.1.tar.gz 309430 BLAKE2B cfb0a25bde68076334d37d0b47adcb2f1b794bf60330f612c3bfbe2588e420a2b427e9e9916ee14c2c348ed4448d781fad2068d35560b45740b81144aa12e6a6 SHA512 592d8c473ecdeed49c5552239d98e4da57313c8914b3c97c74a6bc4b1f4929b4490a33695e741972a8c83f6097d644fc4df94b3ca54d811c64dcf542b6467ea9
|
||||
@@ -1,18 +0,0 @@
|
||||
Bug: https://github.com/scitokens/scitokens-cpp/pull/89
|
||||
Bug: https://github.com/scitokens/scitokens-cpp/pull/90
|
||||
|
||||
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
||||
index 22f86a6..2083bff 100644
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -1,6 +1,8 @@
|
||||
|
||||
add_executable(scitokens-gtest main.cpp)
|
||||
-add_dependencies(scitokens-gtest gtest)
|
||||
+if( NOT SCITOKENS_EXTERNAL_GTEST )
|
||||
+ add_dependencies(scitokens-gtest gtest)
|
||||
+ include_directories("${PROJECT_SOURCE_DIR}/vendor/gtest/googletest/include")
|
||||
+endif()
|
||||
-include_directories("${PROJECT_SOURCE_DIR}/vendor/gtest/googletest/include")
|
||||
|
||||
if(SCITOKENS_EXTERNAL_GTEST)
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>o.freyermuth@googlemail.com</email>
|
||||
<name>Oliver Freyermuth</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/scitokens/scitokens-cpp/issues</bugs-to>
|
||||
<remote-id type="github">scitokens/scitokens-cpp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/scitokens/scitokens-cpp"
|
||||
else
|
||||
SRC_URI="https://github.com/scitokens/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION=" A C++ implementation of the SciTokens library with a C library interface"
|
||||
HOMEPAGE="https://scitokens.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
<dev-cpp/jwt-cpp-0.5.0
|
||||
dev-db/sqlite
|
||||
dev-libs/openssl
|
||||
net-misc/curl
|
||||
sys-apps/util-linux
|
||||
test? ( dev-cpp/gtest )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${PN}"-0.7.1-fix-external-gtest.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp
|
||||
rm -r vendor || die
|
||||
# Fix include path for picojson.
|
||||
find src/ \( -name '*.cpp' -o -name '*.h' \) -type f -print0 | xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSCITOKENS_BUILD_UNITTESTS="$(usex test)"
|
||||
-DSCITOKENS_EXTERNAL_GTEST=YES
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_run_in "${BUILD_DIR}" ctest --verbose || die
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/scitokens/scitokens-cpp"
|
||||
else
|
||||
SRC_URI="https://github.com/scitokens/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION=" A C++ implementation of the SciTokens library with a C library interface"
|
||||
HOMEPAGE="https://scitokens.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-cpp/jwt-cpp-0.6.0
|
||||
dev-db/sqlite
|
||||
dev-libs/openssl
|
||||
net-misc/curl
|
||||
sys-apps/util-linux
|
||||
test? ( dev-cpp/gtest )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp
|
||||
rm -r vendor || die
|
||||
# Fix include path for picojson.
|
||||
find src/ \( -name '*.cpp' -o -name '*.h' \) -type f -print0 | \
|
||||
xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die
|
||||
# Disable network-based tests relying on external services.
|
||||
if use test; then
|
||||
sed -i -e '/^TEST_F/s#RefreshTest#DISABLED_RefreshTest#' \
|
||||
-e '/^TEST_F/s#RefreshExpiredTest#DISABLED_RefreshExpiredTest#' test/main.cpp || die
|
||||
fi
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSCITOKENS_BUILD_UNITTESTS="$(usex test)"
|
||||
-DSCITOKENS_EXTERNAL_GTEST=YES
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_run_in "${BUILD_DIR}" ctest --verbose || die
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/scitokens/scitokens-cpp"
|
||||
else
|
||||
SRC_URI="https://github.com/scitokens/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION=" A C++ implementation of the SciTokens library with a C library interface"
|
||||
HOMEPAGE="https://scitokens.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-cpp/jwt-cpp-0.6.0
|
||||
dev-db/sqlite
|
||||
dev-libs/openssl
|
||||
net-misc/curl
|
||||
sys-apps/util-linux
|
||||
test? ( dev-cpp/gtest )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp
|
||||
rm -r vendor || die
|
||||
# Fix include path for picojson.
|
||||
find src/ \( -name '*.cpp' -o -name '*.h' \) -type f -print0 | \
|
||||
xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die
|
||||
# Disable network-based tests relying on external services.
|
||||
if use test; then
|
||||
sed -i -e '/^TEST_F/s#RefreshTest#DISABLED_RefreshTest#' \
|
||||
-e '/^TEST_F/s#RefreshExpiredTest#DISABLED_RefreshExpiredTest#' test/main.cpp || die
|
||||
fi
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSCITOKENS_BUILD_UNITTESTS="$(usex test)"
|
||||
-DSCITOKENS_EXTERNAL_GTEST=YES
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_run_in "${BUILD_DIR}" ctest --verbose || die
|
||||
}
|
||||
@@ -5,4 +5,12 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>George Dietrich</name>
|
||||
<email>george@dietrich.app</email>
|
||||
</maintainer>
|
||||
<doc>https://athenaframework.org/Negotiation</doc>
|
||||
<remote-id type="github">athena-framework/negotiation</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,12 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>George Dietrich</name>
|
||||
<email>george@dietrich.app</email>
|
||||
</maintainer>
|
||||
<doc>https://athenaframework.org/Spec</doc>
|
||||
<remote-id type="github">athena-framework/spec</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Sijawusz Pur Rahnama</name>
|
||||
<email>sija@sija.pl</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Dominic Muller</name>
|
||||
<email>nicklink483@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>TSUYUSATO Kitsune</name>
|
||||
<email>make.just.on@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Brian J. Cardiff</name>
|
||||
<email>bcardiff@manas.tech</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Ali Naqvi</name>
|
||||
<email>syed.alinaqvi@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Ali Naqvi</name>
|
||||
<email>syed.alinaqvi@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,14 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Ary Borenszweig</name>
|
||||
<email>aborenszweig@manas.tech</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<name>Brian J. Cardiff</name>
|
||||
<email>bcardiff@manas.tech</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Ali Naqvi</name>
|
||||
<email>syed.alinaqvi@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Ali Naqvi</name>
|
||||
<email>syed.alinaqvi@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,14 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Paul Smith</name>
|
||||
<email>paulcsmith0218@gmail.com</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<name>Sijawusz Pur Rahnama</name>
|
||||
<email>sija@sija.pl</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Paul Smith</name>
|
||||
<email>paulcsmith0218@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Paul Hoffer</name>
|
||||
<email>git@paulhoffer.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Brian J. Cardiff</name>
|
||||
<email>bcardiff@manas.tech</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Serdar Dogruyol</name>
|
||||
<email>dogruyolserdar@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Jerome Gravel-Niquet</name>
|
||||
<email>jeromegn@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Arnaud Fernandés</name>
|
||||
<email>arnaud.fernandes@laposte.net</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Paul Smith</name>
|
||||
<email>paulcsmith0218@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Omar Roth</name>
|
||||
<email>omarroth@protonmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Luis Lavena</name>
|
||||
<email>luislavena@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Matthew McGarvey</name>
|
||||
<email>matthewmcgarvey14@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Jerome Gravel-Niquet</name>
|
||||
<email>jeromegn@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Michael Miller</name>
|
||||
<email>icy.arctic.fox@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -5,4 +5,10 @@
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Shootingfly</name>
|
||||
<email>xiefei@yolanda.hk</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -7,5 +7,9 @@
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">matthewmcgarvey/webdrivers.cr</remote-id>
|
||||
<maintainer>
|
||||
<name>Matthew McGarvey</name>
|
||||
<email>matthewmcgarvey14@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -7,5 +7,9 @@
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">matthewmcgarvey/webless</remote-id>
|
||||
<maintainer>
|
||||
<name>matthewmcgarvey</name>
|
||||
<email>matthewmcgarvey14@gmail.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST olm-3.2.14.tar.bz2 2743089 BLAKE2B 8b8cd2a6b5bd14191ee6604221449ae1472078e3c2a1286e9e3aed433bb77e6a9a88de6ca4c92295cd281e10d76a161905b12207079f457b099f43864317cac7 SHA512 47a19ae2290dbf0ac2b4539806a5e5a22be824ce163233b61680506a8eae341e312e8f169285e342c2277764d4bfa5eaf0417d36e04fbf4e358de01730e302b4
|
||||
DIST olm-3.2.15.tar.bz2 2744760 BLAKE2B 44486a63217998010a0bb7e01ff3315c88e139d686b97158e67af29b2f052912412541fb944a17c5d8931df9c641a73e521ef8d0ff352b80fe30bd6fb73b2e7b SHA512 81832766e477fc17908e8d1c49b5403d87b5977fd9102605d95ef2a3907619b7301e32fe0e18ec0f575b1f004ce248633307ff43b0f48bc9bb2313cdfefd6ea7
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
An implementation of the Double Ratchet cryptographic ratchet written in
|
||||
C and C++11 and exposed as a C API.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/matrix-org/olm/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets"
|
||||
HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
|
||||
SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
IUSE="+pie test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=( README.md docs/{{,meg}olm,signing}.md docs/{"DH ",double_}ratchet.svg )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
|
||||
-DOLM_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x BUILD_DIR="${BUILD_DIR}/tests"
|
||||
cmake_src_test
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets"
|
||||
HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
|
||||
SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
IUSE="+pie test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=( README.md docs/{{,meg}olm,signing}.md docs/{"DH ",double_}ratchet.svg )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
|
||||
-DOLM_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x BUILD_DIR="${BUILD_DIR}/tests"
|
||||
cmake_src_test
|
||||
}
|
||||
11
dev-python/faust-cchardet/metadata.xml
Normal file
11
dev-python/faust-cchardet/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>smaniotto.nicola@gmail.com</email>
|
||||
<name>Nicola Smaniotto</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">faust-streaming/cChardet</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +1,2 @@
|
||||
DIST opentype-sanitizer-9.0.0.tar.gz 162061 BLAKE2B b52cfe504e079e93b5b207886a06c126d44677f43d3e51e892c8589cb7644d86f2179e530fa98dc52239701b2f44ea180739e06bbffcc0be28b820418c73085f SHA512 0890b3c6d3e6aa4f1d4156354ce4fc191cbbb2390ffbec3e3feb3a046ab28f7b14f8c75d6c599cdc8fc8317286f79f87d036099179f5d5100ceeb99987f97b27
|
||||
DIST opentype-sanitizer-9.1.0.tar.gz 159945 BLAKE2B ae223dbca34bcad0ec656691be85b01b2d3beda5965b06e7c617742aa6a93f7d9adf4e6f3df9d454c29afbd24e4493580bb19dab1e76b7a218d942287d1b8408 SHA512 d995a1d30591726065d18b5c2eda817b01effe637ab2013c927238e75810ff215088801c4bcdd7dec43cfcf5043f3669ae2ed6502ded834c8f3c8cfe712354e9
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright 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
|
||||
DISTUTILS_EXT=1
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python wrapper for the OpenType Sanitizer"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/opentype-sanitizer/
|
||||
https://github.com/googlefonts/ots-python
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/lz4:=
|
||||
media-libs/woff2
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
"
|
||||
BDEPEND="dev-util/meson"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST got-portable-0.87.tar.gz 1047429 BLAKE2B 76be96d8fc1cecffe670401010ebb5454c8ed351b30623c66160605dda8b989237cc4a53f1f6233937a7a5c51b95771b2b207c0c57e6f45ce19cd5d1aa22d509 SHA512 a752830f22e484485b67178d2470a77852985bedb4df16c3dc9a0c2e1d07f4e2fddec854b1cb6ddd6427bc8d3d386c4e6b9b2b6c9e38dbe26718ef89190a5602
|
||||
DIST got-portable-0.88.tar.gz 1048477 BLAKE2B fde36ce7895d67010e07671666b549f51055215aa025c24b3f4652c3ecc039d04b316f7f751ea6e96a9a39907aac1abcaf98b4bd35f632011892443e998663cd SHA512 91d01043468304dbbafdcbf999fa234b0cf5b4e2bd4267728874910f71984b0f05de0cde90c8183f1e0634ee5815bd6ba842d595eaaabe95d84d23fc5706011c
|
||||
DIST got-portable-0.89.tar.gz 1049166 BLAKE2B 108188b2fbc658421335aa5f1bdd1bed5098fe1fecc0b045377429b52ed38257c2ccb5319e2f60306605e4ded8453a46ba75b94864004ae3878cbbe1fe0e6443 SHA512 17bbe49067c18ab34ceb7b25a66a187789aa2cc936f5f9375bece6583bb3e06c84c8e61bf4662d530f26aece29429baeddefd66b5184727710312d1203bc6b0a
|
||||
|
||||
@@ -43,3 +43,5 @@ BDEPEND="
|
||||
"
|
||||
|
||||
DOCS=( CHANGELOG CHANGES README TODO )
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=1
|
||||
@@ -2,7 +2,7 @@ DIST cc-1.0.73.crate 57880 BLAKE2B be8d7a25a54afdd759844e76aec61526fc2bd5ca09480
|
||||
DIST cxx-1.0.71.crate 195479 BLAKE2B 956f735ad6a417337dd6e0f71ba49d21e8ad9724e288b8d05a013c76bdeb0c3565197f8fc02f861a13f68c6823a969b05852c4abc0ef48d3deb4a3ede3ce7d3c SHA512 1b770312e5ea69a9fa3882e2e507d9de4505dbf09fdab4e6cacdeed7a00122b1cc88583d7353959cd0375a380b7e8563a673c4602fc036130f248db97225b305
|
||||
DIST cxxbridge-flags-1.0.71.crate 5593 BLAKE2B 4f3c72079b42cf41c66dc779a792c76d860e7b85220508b9284b23645b8fae3911864b76719457952bb3b7e666312022def72204c2d096afa2683716cb9f0c5d SHA512 53f5783c4c15b87eac8f6c7ca911b5b3c92a5821040c4000586a118b441aaab17f798f878433436e881f0edd531d9243234cdb4bacfea16fe1f60df080a2d6b9
|
||||
DIST cxxbridge-macro-1.0.71.crate 59620 BLAKE2B ce4b5bfc016a799312cfc2000bcc7b0b701636a558b66d079e3a69ed3a4c83c3c22cbba7bcd3168107d5dd3a0728e2e8887c0089ac7ef022957cc0559ed7a2c5 SHA512 13b0f742ecf4724214b896bcd3c4fedff011751661bd657ca902f123fcb869e835ce850acb1cb9ebe0cb1d13fb9aecc74c7730586ebd465500c2e01cfe686dbc
|
||||
DIST ddnet-17.0.2.tar.gz 36100867 BLAKE2B 92f84887b9f5396047c7c0716952741a6154008b240d614b45ba47b6e807352721a18524d1a450272ffa752b45379e0ec57a4b3e88a14167c910868ef57434c6 SHA512 812bc66b70eea15d68d94526853f73d1e4581d9e61d4b74d2f641d39ebf1496fc7bf5d53764641e8830ffd9312a5bbce3137a01ea80213f768b3cc96ad3c54f0
|
||||
DIST ddnet-17.0.3.tar.gz 36100967 BLAKE2B 546dbaa796dd4279d131c78498806f7ddc42f98c63baabe56b4aea502c549df265a9e392a88385cb8809b6f32c49fb1b328c6ea8c76bfff95bf829b71151c55d SHA512 83ea0005bc82ec97c59d03f6f7fb5e58128061f49d54d333804f93dfdf996ab55ba55db3e7b55a715f95ca5d4134945683fa1d0445906031d6bc1a1170787966
|
||||
DIST link-cplusplus-1.0.6.crate 8150 BLAKE2B 82b0eb89926a7f3b7e427242ff3f65eba78f467f1ab972f7f280daf09e2be7188d8e851a21018a268871d5dc9cf7dfda4ef24952b5bc38bd722a5537504c1ddb SHA512 9f77f71f7261472de0d97b2c26efb43f3d49dafbaa1eb853340467260a65d85344e94e023540e068051108afd63cc48c6a5c8025f50922a73dc6409134418e74
|
||||
DIST proc-macro2-1.0.40.crate 40559 BLAKE2B d83cf7283393a82ca65263afc375d123bd2f48b719c9eab6859c52dc0c2b9b4b5af3090a0ebd0fedf0e1095f0bafbc443016f751a0485dc654bcd80a6f71e326 SHA512 bb179524bd41e36735010a7ec53e096359ffc3688ab97806a45ed9cfb17e8688ce352bbb8cd3bd4e15a4299e8500603c86591b17cfa31bca03f299f6f6347992
|
||||
DIST quote-1.0.20.crate 28160 BLAKE2B db257025f64817b1b58eecb8e64e63f1782d8a7fcb42ed6c3364254ec5a26705e49ce0637c880b0355b99a77473ce3083caae2cfabbd1a1a7e4fc826bae2cb7c SHA512 d12f4a425273b99ae655da11fcf5dad2609e20ad3e7d85cde08c7d09f444a5c7a3505470bad2d48b1ba8ea59ebf38ab87aa1052e47ec414acfc05dcb07d438be
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST 1password-8.10.3.x86_64.rpm 94457340 BLAKE2B 39d3758e703de999248b86c007119a22b174604882833636d7d480a0da64b1606a2ef8e973addf84a6a1a88ebbe521463dc4f2160c271e73a22223df976d74ef SHA512 6b2272b37c79e8b48ecc4c4f97c03184158d71f4e75cfefd31554e342d725aeba8cd393e4d68960d67f7eacd3d6370ba8c8fa7c00bf86af1dbbb61025b0be346
|
||||
DIST 1password-8.10.7.x86_64.rpm 97601632 BLAKE2B dd7639149e9d0412754889e12c79cd6e48b42ac9c4247e465d037abc3671daf95a7d63ce8bb76f47de726aecc5b4b5b0918216fe28af4042d803ed049c955905 SHA512 4b4de329c41212275c6301269c6bf2a455d04e38fd01cc3c918e8b775aa0509143ce83150cd1fb7b7fdc2230caa30f36b3b5aaa83b2988c5f4f2b86c86c2ab23
|
||||
|
||||
1
media-sound/musikcube/Manifest
Normal file
1
media-sound/musikcube/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST musikcube-3.0.1.tar.gz 4759002 BLAKE2B c312067fefaeaeb1c56b15fdcc83e1a73be648d88db54dc43d5c0f3e2ed1f226480612461b7239087ebfadcbcc38ed432622873fc40d3739daca1d32d19bea7f SHA512 ff18b69bf9a295925ede561c80a66f3fce7c00fdc29906a39e89b520c49467ddaa88cb69406a8bd012eaa851716b6515e93a5a0d0f75f2f24e64ced3fef4b9c7
|
||||
26
media-sound/musikcube/files/musikcube-3.0.1-tinfow.patch
Normal file
26
media-sound/musikcube/files/musikcube-3.0.1-tinfow.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
diff --git a/src/musikcube/CMakeLists.txt b/src/musikcube/CMakeLists.txt
|
||||
index e16ec8b4..8e7d0f2c 100644
|
||||
--- a/src/musikcube/CMakeLists.txt
|
||||
+++ b/src/musikcube/CMakeLists.txt
|
||||
@@ -96,10 +96,12 @@ if ((${DISABLE_WIDE_NCURSES_LIB_SUFFIXES} MATCHES "true") OR ((APPLE) AND (${ENA
|
||||
message(STATUS "[ncurses] using library names *WITHOUT* 'w' prefix")
|
||||
set(CURSES_LIBRARY_NAME ncurses)
|
||||
set(PANEL_LIBRARY_NAME panel)
|
||||
+ set(TINFO_LIBRARY_NAME tinfo)
|
||||
else()
|
||||
message(STATUS "[ncurses] using library names with 'w' prefix")
|
||||
set(CURSES_LIBRARY_NAME ncursesw)
|
||||
set(PANEL_LIBRARY_NAME panelw)
|
||||
+ set(TINFO_LIBRARY_NAME tinfow)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
@@ -114,7 +116,7 @@ else()
|
||||
set(LIBTINFO "")
|
||||
else()
|
||||
message(STATUS "[ncurses] not Darwin! will attempt to link against libtinfo")
|
||||
- find_library(LIBTINFO NAMES tinfo)
|
||||
+ find_library(LIBTINFO NAMES ${TINFO_LIBRARY_NAME})
|
||||
message(STATUS "[musikcube] using libtinfo at: " ${LIBTINFO})
|
||||
endif()
|
||||
endif()
|
||||
29
media-sound/musikcube/metadata.xml
Normal file
29
media-sound/musikcube/metadata.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zhuyifei1999@gmail.com</email>
|
||||
<name>YiFei Zhu</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="alsa">Build plugin for alsa-out.</flag>
|
||||
<flag name="pipewire">Build plugin to support pipewire.</flag>
|
||||
<flag name="pulseaudio">Build plugin to support pulseaudio.</flag>
|
||||
<flag name="sndio">Build plugin to support sndio</flag>
|
||||
<flag name="portaudio">Build plugin to support portaudio</flag>
|
||||
<flag name="libopenmpt">Build plugin to support playing MOD music aka tracker music through libopenmpt</flag>
|
||||
<flag name="mpris">
|
||||
Build plugin to support MPRIS. needs systemd/elogind or basu USE flags.
|
||||
MPRIS (Media Player Remote Interfacing Specification) is a standard D-Bus interface which aims to provide a common programmatic API for controlling media players.
|
||||
</flag>
|
||||
<flag name="systemd">Build plugin to support MPRIS using systemd.</flag>
|
||||
<flag name="elogind">Build plugin to support MPRIS using elogind.</flag>
|
||||
<flag name="basu">Build plugin to support MPRIS using basu.</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/clangen/musikcube/issues</bugs-to>
|
||||
<changelog>https://github.com/clangen/musikcube/releases</changelog>
|
||||
<doc>https://github.com/clangen/musikcube/wiki</doc>
|
||||
<remote-id type="github">clangen/musikcube</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
93
media-sound/musikcube/musikcube-3.0.1.ebuild
Normal file
93
media-sound/musikcube/musikcube-3.0.1.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Excellent terminal music player, support almost every known sound system."
|
||||
HOMEPAGE="https://github.com/clangen/musikcube"
|
||||
SRC_URI="https://github.com/clangen/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+alsa +libopenmpt pipewire pulseaudio +mpris portaudio sndio systemd elogind basu"
|
||||
|
||||
REQUIRED_USE="
|
||||
mpris? ( ^^ ( systemd elogind basu ) )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
net-libs/libmicrohttpd
|
||||
sys-libs/ncurses
|
||||
media-libs/libogg
|
||||
media-video/ffmpeg
|
||||
sys-libs/zlib
|
||||
media-libs/libvorbis
|
||||
net-misc/curl
|
||||
media-sound/lame
|
||||
dev-libs/libev
|
||||
media-libs/taglib
|
||||
dev-cpp/asio
|
||||
libopenmpt? (
|
||||
media-libs/libopenmpt
|
||||
)
|
||||
mpris? (
|
||||
|| (
|
||||
elogind? ( >=sys-auth/elogind-239 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
basu? ( sys-libs/basu )
|
||||
)
|
||||
)
|
||||
pipewire? (
|
||||
media-video/pipewire
|
||||
)
|
||||
portaudio? (
|
||||
media-libs/portaudio
|
||||
)
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
)
|
||||
sndio? (
|
||||
media-sound/sndio
|
||||
)
|
||||
alsa? (
|
||||
media-libs/alsa-lib
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/cmake
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/musikcube-3.0.1-tinfow.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# Gentoo users enable ccache via e.g. FEATURES=ccache or
|
||||
# other means. We don't want the build system to enable it for us.
|
||||
sed -i -e '/find_program(CCACHE_FOUND ccache)/d' CMakeLists.txt || die
|
||||
|
||||
use mpris || sed -i '/pkg_check_modules.*SDBUS/d' src/plugins/mpris/CMakeLists.txt || die
|
||||
|
||||
local mycmakeargs=(
|
||||
$(usex alsa '' -DLIBASOUND=LIBASOUND-NOTFOUND)
|
||||
-DENABLE_PIPEWIRE=$(usex pipewire true false)
|
||||
$(usex pulseaudio '' -DLIBPULSE=LIBPULSE-NOTFOUND)
|
||||
$(usex portaudio '' -DLIBPORTAUDIO=LIBPORTAUDIO-NOTFOUND)
|
||||
|
||||
if use mpris then
|
||||
-DUSE_ELOGIND=$(usex elogind true false)
|
||||
-DUSE_BASU=$(usex basu true false)
|
||||
fi
|
||||
|
||||
$(usex libopenmpt '' -DLIBOPENMPT=LIBOPENMPT-NOTFOUND)
|
||||
$(usex sndio '' -DLIBSNDIO=LIBSNDIO-NOTFOUND)
|
||||
-DBUILD_STANDALONE=false
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -5,4 +5,7 @@
|
||||
<email>smaniotto.nicola@gmail.com</email>
|
||||
<name>Nicola Smaniotto</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">smacke/ffsubsync</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
DIST obs-vkcapture-1.1.3.tar.gz 51200 BLAKE2B 6a14f6c891bb0e2da5b879945e64f54c588577b4acb90af61c55dd9d060f5b5d26ef34f0179f6930b5782907523da47cc69597fee11829e371db070537c6dc91 SHA512 34bc8c6bd1b6f21717b60070240c462310d7666867fda638b2294c0e0b58e8e87a3e45cd2bf974d7853dc86daf5387f1ebf66896a02b7867f24ad72b63fe0ade
|
||||
DIST obs-vkcapture-1.1.4.tar.gz 51529 BLAKE2B a33f31b22c76ecf728864f951a03f30d225c792e97e5fe61a9d1a19e1307b1bb656ad58525f65428462bd8f00a238d7b89fe067355c2ae59787e72d83f9705ce SHA512 5075d1fa49fa0ba27b26f76b5e4a8295d9bafec89ed73fec26ee473e1e53fbb17c6c2ad62dfd7cf57d57e3eb9a15594bab94a7f431ebfcb52b2946b26570f57c
|
||||
DIST obs-vkcapture-1.2.0.tar.gz 51934 BLAKE2B 0b80cf2850f056ce9f3f0e8165fef893bfad0648a4366cebcdbeecb98e7df491e5078247d97ac0ba0dd88cbf1db6278aed3f9e282595392c55340b31bb45c2a4 SHA512 e30aeb24af467a9f8a343985b77ea5cd4e39fdcdec067f3c65f7dd9b8915a933bff1ee5127e4a7a4eaa0e740f97f31af669cb5a75155bbd9937d694d739a6d7d
|
||||
DIST obs-vkcapture-1.3.3.tar.gz 53301 BLAKE2B bfa51f847978d2abc1393e92aaf6a54ef48781778651652808449546f5ae043514d4798d75fc58a991eec7a0bb5d0e0e09efee9a2df049682f5714261f6e5f46 SHA512 d4d234eff53ff9d0e53e6478b378fce8376b22dc4088c1366e194eeb826db5f24f5c3ce26925423e29f4979ef2b0c081ed69d208a8af27810636a2c9538e98e7
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
<name>Adel Kara Slimane</name>
|
||||
<email>adel.ks@zegrapher.com</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<name>Kostadin Shishmanov</name>
|
||||
<email>kocelfc@tutanota.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>David Rosca</name>
|
||||
|
||||
61
media-video/obs-vkcapture/obs-vkcapture-1.3.3.ebuild
Normal file
61
media-video/obs-vkcapture/obs-vkcapture-1.3.3.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
|
||||
|
||||
inherit xdg cmake-multilib
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/nowrep/obs-vkcapture"
|
||||
else
|
||||
SRC_URI="https://github.com/nowrep/obs-vkcapture/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="OBS Linux Vulkan/OpenGL game capture"
|
||||
HOMEPAGE="https://github.com/nowrep/obs-vkcapture"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="
|
||||
dev-util/vulkan-headers
|
||||
media-libs/shaderc
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
>=media-video/obs-studio-27[wayland]
|
||||
x11-libs/libdrm[${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
media-libs/libglvnd[${MULTILIB_USEDEP}]
|
||||
>=media-video/obs-studio-27[wayland]
|
||||
x11-libs/libdrm[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
QA_SONAME="
|
||||
/usr/lib64/libVkLayer_obs_vkcapture.so
|
||||
/usr/lib64/libobs_glcapture.so
|
||||
/usr/lib/libVkLayer_obs_vkcapture.so
|
||||
/usr/lib/libobs_glcapture.so
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if ! multilib_is_native_abi; then
|
||||
local mycmakeargs+=(
|
||||
-DBUILD_PLUGIN=OFF
|
||||
)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
|
||||
|
||||
inherit xdg cmake
|
||||
inherit xdg cmake-multilib
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
@@ -25,20 +25,22 @@ IUSE=""
|
||||
BDEPEND="
|
||||
dev-util/vulkan-headers
|
||||
media-libs/shaderc
|
||||
media-libs/vulkan-loader
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
>=media-video/obs-studio-27[wayland]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libdrm[${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
media-libs/libglvnd
|
||||
media-libs/libglvnd[${MULTILIB_USEDEP}]
|
||||
>=media-video/obs-studio-27[wayland]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxcb:=
|
||||
x11-libs/libdrm[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
QA_SONAME="
|
||||
/usr/lib64/libVkLayer_obs_vkcapture.so
|
||||
/usr/lib64/libobs_glcapture.so
|
||||
/usr/lib/libVkLayer_obs_vkcapture.so
|
||||
/usr/lib/libobs_glcapture.so
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
@@ -48,3 +50,12 @@ src_unpack() {
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if ! multilib_is_native_abi; then
|
||||
local mycmakeargs+=(
|
||||
-DBUILD_PLUGIN=OFF
|
||||
)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -5,4 +5,7 @@
|
||||
<email>smaniotto.nicola@gmail.com</email>
|
||||
<name>Nicola Smaniotto</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Eisa01/mpv-scripts</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
11
mpv-plugin/mpv-kscreen-doctor/metadata.xml
Normal file
11
mpv-plugin/mpv-kscreen-doctor/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>smaniotto.nicola@gmail.com</email>
|
||||
<name>Nicola Smaniotto</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">smaniottonicola/mpv-kscreen-doctor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST lagrange-1.16.1.tar.gz 9997807 BLAKE2B 06320ccdabd0be264b98987a355c2880640dc1bb3721ad2813ad74f1300f713498e4101cac1ed3e7d63d2f937211e425060441acb7f3aae96b026c2073b69c6d SHA512 67f437c5f9e04f717a8aaec3542d37f58e057ec6ba9ebfa260a4cc19fd7727f0d7d06e6b4c56633bfed5d14755877fdd46be8756244876fb3f0ac66ad4fc2472
|
||||
DIST lagrange-1.16.1.tar.gz.sig 488 BLAKE2B c8866d4c9aefde8430c163d749b6927241c785bd828b6d4232739d1f13f9a40f32c4f132dfea871a04cf47f43ad369f1dc0d64ec71f2e906f0b01cae92c94ecf SHA512 8a3aa1a00dc15d98111cc8283da3ea93f6badb30561423a07494fc14649d7018b35b8b36aa1628ba2ff02418475a69b264cf932582de852e9e5009196785d1be
|
||||
DIST lagrange-1.16.2.tar.gz 10000990 BLAKE2B 95fe1a0390c418aafbb23d79ac6d592be1387cd9a5d30ed1bad95d75dc576c7e5825522f36fe69bdedf2463dae966bbd329fa22bb2604c55420d724e6a4c2bc4 SHA512 64a34fd05404feb85ba0851958cf5b4cadd58e71057ee6ae34a7b31015453ce08310583259b96ec46885f7ee398ae2d27b2b7ff5a375a908e5b90b821cd57157
|
||||
DIST lagrange-1.16.2.tar.gz.sig 488 BLAKE2B 15292815047dd7cd059d94cd73ce04a96b4d11b0e9ff5877547dc28d9ad19254573b23c10e2b5322f1d2830602d2ffad3aac77831b6af73774105ba5ca223d85 SHA512 0bf62c82014f84f5f7f7cde8d387e20d26da0de057ee3e783d2b1a73d6c4d0d03437bbfc5a0bb2833a9bcd6688674edabfe377fa3df7fe33b0d927a6e785d187
|
||||
DIST lagrange-1.16.3.tar.gz 10002363 BLAKE2B d58da7f4e615eb0a6f54275c33bc5bc4fddb25e4adbff3a4da76310495c85fee866389fc16032096e6cb8a4ffb4b6d05b271e6d0ec8d053818b37dd210daa449 SHA512 8eaa3d123969f8d436f4c44700e509da015710dd3a9318f6cd7787a48136bb457b6b5cc160eb64f44402a69307e72a0438b1ba0fb743775e280591f3373c2533
|
||||
DIST lagrange-1.16.3.tar.gz.sig 488 BLAKE2B 2b1321fe0c27e1d637f80dd31e36fe38511e277be6da7c9a254f7e4954da6ae43badbe62d24e42f99243c5de9d2bed741d7880d9223c48e54fb06f6357f3ad0b SHA512 87a99d4aa6a93e8a4e0df29c4b0c2dbfd94552ba49d60fcc3cd5b51f69c64434de8585465556232fcc93d51fbb3fd3c46a78633195a59ce3fbdf3eeb6f9db8d9
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST ooni-probe-cli-3.17.2.tar.gz 22665844 BLAKE2B 0f98c8aa96d3cb3bee000624dada4ddd464658714b0f690192c530ba1394753f07cf0acaadc3a2d03e7d59756597f4770f333bfe127c5b35800beef5fdaef2b6 SHA512 311e943f3349c73dfd83f4b7c9a7abf87f35eac7bb655ebaeab78a1aa0293c78236de5e0204f822940292ae4c96fbb8bb0489500e3d7b464f8f1ecbb8aeb98c9
|
||||
DIST ooni-probe-cli-3.17.3.tar.gz 24061703 BLAKE2B 601ce8a51639095f4b110507310c1febd9e96555d8b9f444afea6111d69587af3b880c7d31e8f4afc32141a7ec74dd7f8565da8f017d76435b16db4b71a57278 SHA512 87ad3c41ea70a89272bcd7662ff9b56b319865edeb5bff5a44df202a2b634c8be3dbc7ca85481a9f1a3bbb7ec97138094d25937cfbcddf727e1dafb10c787ec0
|
||||
DIST ooni-probe-cli-3.17.5.tar.gz 24107845 BLAKE2B 5e203002adb5ab2990b3b12de2034b9f593a3adbb94ebec6b46300abfb441d0c8c47bae25beeb06cc1ee1fbdc3a0ea5c82bfcba29697c8a2e1a340195a09f994 SHA512 6a8fff56aa3b0db5c1cfa51549419603d23d5fc0f7c3f6c869b782260d20e85a8ae35f7396b6f6d02bad4b85664a5d932fc4c7e64600665cfd265599be84ac7c
|
||||
|
||||
@@ -5,4 +5,8 @@
|
||||
<email>smaniotto.nicola@gmail.com</email>
|
||||
<name>Nicola Smaniotto</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">trigg/Discover</remote-id>
|
||||
<remote-id type="pypi">discover-overlay</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -14,8 +14,12 @@
|
||||
|
||||
# New entries go on top.
|
||||
|
||||
# tastytea <gentoo@tastytea.de> (2023-06-08)
|
||||
# master branch migrated to qt6 which is masked.
|
||||
>=net-im/nheko-9999
|
||||
|
||||
# Viorel Munteanu <ceamac@gentoo.org> (2023-06-07)
|
||||
# Does not work on multilib profiles and cannot be masked per profile
|
||||
# Does not work on no-multilib profiles and cannot be masked per profile
|
||||
# (See also top comment)
|
||||
# Sorry for the inconvenience.
|
||||
app-office/lotus123r3
|
||||
|
||||
105
www-apps/code-server-bin/code-server-bin-4.13.0-r1.ebuild
Normal file
105
www-apps/code-server-bin/code-server-bin-4.13.0-r1.ebuild
Normal file
@@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="${PN/-bin/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
|
||||
HOMEPAGE="https://coder.com/"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}-amd64.tar.gz )
|
||||
arm64? ( ${BASE_URI}-arm64.tar.gz )
|
||||
"
|
||||
RESTRICT="test"
|
||||
LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
|
||||
|| ( BSD-2 MIT Apache-2.0 )
|
||||
|| ( MIT WTFPL )
|
||||
|| ( BSD GPL-2 )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=net-libs/nodejs-16.0.0[ssl]
|
||||
sys-apps/ripgrep
|
||||
app-crypt/libsecret
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}-linux-${ARCH}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-node.patch" )
|
||||
|
||||
DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# Relative
|
||||
VSCODE_MODULES="lib/vscode/node_modules"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
|
||||
opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
|
||||
opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# We remove as much precompiled code as we can,
|
||||
# node modules not written in JS cannot be removed
|
||||
# thus "-bin".
|
||||
|
||||
# use system node
|
||||
rm ./lib/node || die "Failed to remove bundled nodejs"
|
||||
|
||||
# remove bundled ripgrep binary
|
||||
rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
|
||||
|| die "Failed to remove bundled ripgrep"
|
||||
|
||||
# Only required at build time
|
||||
find "${S}" -type l -name python3 -delete || die
|
||||
|
||||
# not needed
|
||||
rm ./postinstall.sh || die
|
||||
|
||||
# For windows
|
||||
rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
|
||||
|
||||
if [[ $ELIBC != "musl" ]]; then
|
||||
rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
|
||||
elif [[ $ELIBC != "glibc" ]]; then
|
||||
rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
|
||||
rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
|
||||
rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
|
||||
fi
|
||||
|
||||
rm -r ./lib/vscode/extensions/node_modules/.bin || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
insinto "/opt/${PN}"
|
||||
doins -r .
|
||||
fperms +x "/opt/${PN}/bin/${MY_PN}"
|
||||
dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
|
||||
dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
|
||||
|
||||
dosym -r "/usr/bin/rg" \
|
||||
"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
|
||||
|
||||
systemd_douserunit "${FILESDIR}/${PN}.service"
|
||||
newinitd "${FILESDIR}/${PN}.rc" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.conf" "${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "When using code-server systemd service run it as a user"
|
||||
elog "For example: 'systemctl --user enable --now code-server'"
|
||||
}
|
||||
13
www-apps/code-server-bin/files/code-server-bin.conf
Normal file
13
www-apps/code-server-bin/files/code-server-bin.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
# /etc/conf.d/code-server-bin: config file for /etc/init.d/code-server-bin.<user>
|
||||
# This can also be used as multiplexed configuration, i.e. openrc-run
|
||||
# looks for both /etc/conf.d/code-server-bin and /etc/conf.d/code-server-bin.<user>.
|
||||
|
||||
# Options to pass to code-server-bin.
|
||||
# NOTE: if you want to run multiple instances, be make sure to change
|
||||
# the port for each one (it is preferred to use the configuration file).
|
||||
#command_args="--port 8080"
|
||||
|
||||
# Specify the network service that corresponds to the "bind-addr" setting
|
||||
# in your configuration file. For example, if you bind to 127.0.0.1,
|
||||
# this should be set to "loopback" which provides the loopback interface.
|
||||
rc_need="loopback"
|
||||
47
www-apps/code-server-bin/files/code-server-bin.rc
Normal file
47
www-apps/code-server-bin/files/code-server-bin.rc
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2023 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
|
||||
NAME=${RC_SVCNAME%%.*}
|
||||
USER=${RC_SVCNAME##*.}
|
||||
PIDFILE_DIR=/run/${NAME}/${USER}
|
||||
|
||||
description="Start code server in the background"
|
||||
command="/usr/bin/${NAME}"
|
||||
command_user="${USER}"
|
||||
pidfile="${PIDFILE_DIR}/${NAME}.pid"
|
||||
command_background=true
|
||||
|
||||
depend() {
|
||||
use logger dns
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ "${USER}" = "${RC_SVCNAME}" ]; then
|
||||
eerror "You have to create an init script for each user:"
|
||||
eerror "ln -s emacs /etc/init.d/emacs.<user>"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! id -u "${USER}" >/dev/null; then
|
||||
eerror "${USER}: No such user"
|
||||
return 1
|
||||
fi
|
||||
|
||||
checkpath -d --owner 0 --mode 0755 "${PIDFILE_DIR%/*}"
|
||||
checkpath -d --owner "${USER}" --mode 0755 "${PIDFILE_DIR}"
|
||||
}
|
||||
|
||||
start() {
|
||||
local home
|
||||
checkconfig || return 1
|
||||
|
||||
eval home="~${USER}"
|
||||
|
||||
default_start
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
DIST invidious-2023.05.08.tar.gz 3280726 BLAKE2B 629b03a58fe0586f7f76dc2e3f12ec46eb6f74c7018e73dd3d9da051a310f9d672ab41ec4f73e69fd832679c85a92b1519b43428e58c1f5a7cf305de98f18d7d SHA512 e51296d635e47c10195069fb8ff39bd760955ab54ac32a2ec0b0f7eeef290bc81df917ad91ee3bae6fc32bac6acd8746ac30110a4ec2d03bd90f412e579e3e9e
|
||||
DIST invidious-2023.05.26.tar.gz 3281007 BLAKE2B 89505e4bfaed1794694ccbee0d7458069d89f270df61c6fade3ee7decdde95fa2e2ab4763a160950e869bc7af693773811bf950b1f67e9f5053101a723b40a19 SHA512 7d02f04609491f7fcb7fea8749cefebe68a9038c5f0641cdbe7428a40bbeaf3ec0560b2064b1f9b427ff835d57df2c6489d289a72677c122961ccc8f57c450d5
|
||||
DIST invidious-2023.06.10.tar.gz 3282324 BLAKE2B b8f272df76d588440a369c58f6af6a16252aebb0a53d132413e762205fe495cf009155b08d08bcb9934cc857abcdce8be17816d446304fa466e33ef91c652688 SHA512 2ac626277087a0b302f5a5d8cbecf321842cf937bcc22dbf17ed52ae6ce408cd365fdbf8ca8757f5063002f13aac255ba816566e9b089165eda59c227ec651b6
|
||||
DIST invidious-mocks-11ec372.tar.gz 180392 BLAKE2B 899db54d4efdfc231d588155d52784d70a364c7382bd1652a3c384dc618435d646a50e957c1407f6ac7ade410e811438b23a16d9949e63f7791e34960bba1fc6 SHA512 7bc1aa17f555babaceca15fe51061400a6c8a9cb01ad15c5d22c155f3164aca7c6e49c8dcdbd894e1593c2c69d3ddaa201544b068510281e910b90a11a407e59
|
||||
DIST video.js-7.12.1.tgz 3511060 BLAKE2B 9ae5b1f6a0afab918b7dc3555fff2708963d4abb6c7903e13145b2d5393fb80e4ab6302c423b0ba15c805a624a23c25dd3db7865f1510c44cfc5d1d5ab1dbf54 SHA512 d0ec25eeae196e6e981d7f783fd595a90daf9e97de3723ad4cdc2e4c41282a8bd9a20a2a57631c3949ac40633811db60e2f19388fef816fe8755ad55e857917e
|
||||
DIST videojs-contrib-quality-levels-2.1.0.tgz 18770 BLAKE2B f6c4789835379380bde941d032bb0afbc49d093eb9407308094afd0b9c1f25781f57d8f8db928e318eb270927574a5fd505f08af13f0baf55897723ec489b769 SHA512 76a19019b2fd00586e731922ed9874737908847d0f00f707121ea351d47268509578ebaa9c9ace62cff7c0db6ca240dd05d45fd83bb66a79e9bb86765da49946
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
inherit check-reqs shards systemd
|
||||
|
||||
COMMIT="10fee9da618db8ffe6a3952d547d4e85d144877e"
|
||||
COMMIT="e7bed765fed0691795ac29c55640ddaa6b13c57d"
|
||||
MOCKS_COMMIT="11ec372f72747c09d48ffef04843f72be67d5b54"
|
||||
MOCKS_P="${PN}-mocks-${MOCKS_COMMIT:0:7}"
|
||||
DESCRIPTION="Invidious is an alternative front-end to YouTube"
|
||||
Reference in New Issue
Block a user