From 78af812b2fdb11750d7546b948923d7612dbb37c Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Fri, 16 Feb 2024 09:27:04 +0100 Subject: [PATCH 01/14] gui-apps/ReGreet: fix openrc dirs, sample file path and elog output Signed-off-by: Alexander Weber --- gui-apps/ReGreet/ReGreet-0.1.1-r4.ebuild | 31 ++++++++++++------------ gui-apps/ReGreet/ReGreet-9999.ebuild | 31 ++++++++++++------------ 2 files changed, 30 insertions(+), 32 deletions(-) diff --git a/gui-apps/ReGreet/ReGreet-0.1.1-r4.ebuild b/gui-apps/ReGreet/ReGreet-0.1.1-r4.ebuild index d423f19a1b..580e87dd64 100644 --- a/gui-apps/ReGreet/ReGreet-0.1.1-r4.ebuild +++ b/gui-apps/ReGreet/ReGreet-0.1.1-r4.ebuild @@ -273,31 +273,30 @@ src_install() { if use systemd; then insinto /etc/tmpfiles.d/ && newins "${WORKDIR}/${P}/systemd-tmpfiles.conf" regreet.conf elif use openrc; then - dodir /var/log/regreet - fowners greeter:greeter /var/log/regreet + keepdir /var/log/regreet + fowners greetd:greetd /var/log/regreet fperms 0755 /var/log/regreet - dodir /var/cache/regreet - fowners greeter:greeter /var/cache/regreet + keepdir /var/cache/regreet + fowners greetd:greetd /var/cache/regreet fperms 0755 /var/cache/regreet fi # Install ReGreet template config file as a doc - docinto /usr/share/doc/regreet dodoc "${WORKDIR}/${P}/regreet.sample.toml" - elog "ReGreet sample config file available on: /usr/share/regreet/regreet.sample.toml\n" - elog "To use copy it to /etc/greetd/regreet.toml\n" - elog "To configure greetd config.toml to use ReGreet use the ReGreet Readme\n" - elog "Or the greetd gentoo wiki page\n" + elog "ReGreet sample config file available on: /usr/share/doc/${P}/regreet.sample.toml.bz2" + elog "To use decompress it to /etc/greetd/regreet.toml" + elog "To configure greetd config.toml to use ReGreet use the ReGreet Readme" + elog "Or the greetd gentoo wiki page" elog "" - elog "/etc/greetd/config.toml - Exemple ReGreet config using cage\n" - elog "-----------------------------------------------------------\n" - elog "[terminal]\n" - elog "vt = 7\n" + elog "/etc/greetd/config.toml - Exemple ReGreet config using cage" + elog "-----------------------------------------------------------" + elog "[terminal]" + elog "vt = 7" elog "" - elog "[default_session]\n" - elog "command = "cage -s -- regreet"\n" - elog "user = "greetd"\n" + elog "[default_session]" + elog "command = \"cage -s -- regreet\"" + elog "user = \"greetd\"" elog "" elog "Notes:" elog "1 - On single user system you can change user to your home user" diff --git a/gui-apps/ReGreet/ReGreet-9999.ebuild b/gui-apps/ReGreet/ReGreet-9999.ebuild index eab0d22887..4aeff04e33 100644 --- a/gui-apps/ReGreet/ReGreet-9999.ebuild +++ b/gui-apps/ReGreet/ReGreet-9999.ebuild @@ -69,31 +69,30 @@ src_install() { if use systemd; then insinto /etc/tmpfiles.d/ && newins "${WORKDIR}/${P}/systemd-tmpfiles.conf" regreet.conf elif use openrc; then - dodir /var/log/regreet - fowners greeter:greeter /var/log/regreet + keepdir /var/log/regreet + fowners greetd:greetd /var/log/regreet fperms 0755 /var/log/regreet - dodir /var/cache/regreet - fowners greeter:greeter /var/cache/regreet + keepdir /var/cache/regreet + fowners greetd:greetd /var/cache/regreet fperms 0755 /var/cache/regreet fi # Install ReGreet template config file as a doc - docinto /usr/share/doc/regreet dodoc "${WORKDIR}/${P}/regreet.sample.toml" - elog "ReGreet sample config file available on: /usr/share/regreet/regreet.sample.toml\n" - elog "To use copy it to /etc/greetd/regreet.toml\n" - elog "To configure greetd config.toml to use ReGreet use the ReGreet Readme\n" - elog "Or the greetd gentoo wiki page\n" + elog "ReGreet sample config file available on: /usr/share/doc/${P}/regreet.sample.toml.bz2" + elog "To use decompress it to /etc/greetd/regreet.toml" + elog "To configure greetd config.toml to use ReGreet use the ReGreet Readme" + elog "Or the greetd gentoo wiki page" elog "" - elog "/etc/greetd/config.toml - Exemple ReGreet config using cage\n" - elog "-----------------------------------------------------------\n" - elog "[terminal]\n" - elog "vt = 7\n" + elog "/etc/greetd/config.toml - Exemple ReGreet config using cage" + elog "-----------------------------------------------------------" + elog "[terminal]" + elog "vt = 7" elog "" - elog "[default_session]\n" - elog "command = "cage -s -- regreet"\n" - elog "user = "greetd"\n" + elog "[default_session]" + elog "command = \"cage -s -- regreet\"" + elog "user = \"greetd\"" elog "" elog "Notes:" elog "1 - On single user system you can change user to your home user" From 8a1016723f89524bab873800767bb75e67ea71b1 Mon Sep 17 00:00:00 2001 From: NRK Date: Fri, 16 Feb 2024 08:51:01 +0000 Subject: [PATCH 02/14] x11-misc/selx: new package Signed-off-by: NRK --- x11-misc/selx/Manifest | 1 + x11-misc/selx/metadata.xml | 11 +++++++++++ x11-misc/selx/selx-1.0.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 x11-misc/selx/Manifest create mode 100644 x11-misc/selx/metadata.xml create mode 100644 x11-misc/selx/selx-1.0.0.ebuild diff --git a/x11-misc/selx/Manifest b/x11-misc/selx/Manifest new file mode 100644 index 0000000000..1721537ade --- /dev/null +++ b/x11-misc/selx/Manifest @@ -0,0 +1 @@ +DIST selx-1.0.0.tar.gz 21423 BLAKE2B af7480e8ea5bfef8027c52acb6c0230888510abba31d117d650c8047c2f9fd680e5a2d2abec345048969957701e2bc14faf6e1396aac0e7f9e641ca6d4ae55e9 SHA512 4368f29731d81a3c91ac09093b6e721d850057900e21efea85ebbc29f851a7fd9b450d3ba7045e044ff0b6a87da1dc1d75f4e73b4dadbc7902192e0b4c753deb diff --git a/x11-misc/selx/metadata.xml b/x11-misc/selx/metadata.xml new file mode 100644 index 0000000000..fc3e50bea6 --- /dev/null +++ b/x11-misc/selx/metadata.xml @@ -0,0 +1,11 @@ + + + + + nrk@disroot.org + NRK + + + NRK/selx + + diff --git a/x11-misc/selx/selx-1.0.0.ebuild b/x11-misc/selx/selx-1.0.0.ebuild new file mode 100644 index 0000000000..062d435185 --- /dev/null +++ b/x11-misc/selx/selx-1.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Minimal X11 rectangle selection tool" +HOMEPAGE="https://codeberg.org/NRK/selx" + +SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +KEYWORDS="~amd64" +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext +" +# NOTE: next version also depends on: +# x11-libs/libXrandr +DEPEND="${RDEPEND}" + +src_compile() { + $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext || die "Compilation failed" +} + +src_install() { + dobin selx + doman selx.1 +} From fba6270dee84249da3d0ed0e7da488d64363464f Mon Sep 17 00:00:00 2001 From: NRK Date: Fri, 16 Feb 2024 09:47:54 +0000 Subject: [PATCH 03/14] TODO.md: add croissant Signed-off-by: NRK --- TODO.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 72dde98c0a..a495cab56c 100644 --- a/TODO.md +++ b/TODO.md @@ -104,10 +104,11 @@ If you find an interesting piece of software here, consider to package it, also [TauonMusicBox](https://github.com/Taiko2k/TauonMusicBox) | setuptools | audio | | | ✖ [mmtracking](https://github.com/open-mmlab/mmtracking) | setuptools | science | Alessandro-Barbieri | ✖ [libensemble](https://github.com/Libensemble/libensemble) | setuptools | cluster | Alessandro-Barbieri | ✖ | ✔ -[ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | utils | David Roman | ✔ | ✖ +[ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | utils | David Roman | ✔ | ✖ [greenclip](https://github.com/erebe/greenclip) | cabal | desktop | NRK | ✔ | ✖ [kaitai](https://github.com/kaitai-io/kaitai_struct) | sbt | util | Alessandro-Barbieri | ✔ | ✖ [casadi](https://web.casadi.org/) | cmake swig | science | Alessandro-Barbieri | ✖ | ✔ [ipyleaflet](https://github.com/jupyter-widgets/ipyleaflet) | setuptools yarn | jupyter | Alessandro-Barbieri | ✔ | ✖ [gitlab](https://gitlab.com/gitlab-org/gitlab-foss) | yarn gem | vcs | Alessandro-Barbieri | ✔ | ✖ [HOL4](http://hol-theorem-prover.org/) | ? | math | Alessandro-Barbieri | ✔ | ✖ +[croissant](https://github.com/giann/croissant) | ? | dev-lua | NRK | ✔ | ? From c652d3cdf2f3cdb409bf7df7ae4fcb2827121d02 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Fri, 16 Feb 2024 21:50:18 +0800 Subject: [PATCH 04/14] sci-electronics/slang: bump to 5.0 Signed-off-by: Huang Rui --- sci-electronics/slang/Manifest | 1 + sci-electronics/slang/slang-5.0.ebuild | 67 ++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 sci-electronics/slang/slang-5.0.ebuild diff --git a/sci-electronics/slang/Manifest b/sci-electronics/slang/Manifest index 38dedff2e0..94b3e14ff6 100644 --- a/sci-electronics/slang/Manifest +++ b/sci-electronics/slang/Manifest @@ -2,3 +2,4 @@ DIST slang-1.0.tar.gz 1239664 BLAKE2B 98355987b5c355eb914dd0d38c7441d5d39b7a0259 DIST slang-2.0.tar.gz 1026299 BLAKE2B d55e0f419e030a37ff80aef3c0b16a96ee402707c758797fea3d1914e29247d22d240693cd873f95f634438fad5b8ed65961a324c69788fc3e62f83ce0a94869 SHA512 3d18961cda7eb40877932e937364b19cfcef3127a8467fbfc70febd1d6ef8b267aeae8244355a4b0206197ef126ee5a65aa4a4fb49d0970fe6c626725b7e6b21 DIST slang-3.0.tar.gz 1097223 BLAKE2B 87f7ac55fb719e64049e56792af9edbe20c39cebcd496f3fa3c980f54490a885f8bc3443b0c841930baf1d57854aba54747acf3f6a8debda3e1cb110dae364f0 SHA512 3d340ccdd7573d61b9e391861712d6b97a2c686b2bae351c1b25f11539146f6d00539b044c69f7dc362ed160828a1bb00f180553dcb760affe912e521bc56a8a DIST slang-4.0.tar.gz 1308308 BLAKE2B 99029a26b3fe86942abc33381f8f9ba050c09b390ed7fc54404f4054eb34a83e168d53096cad2e8f037954770a95009c701c86b1e59e1e9d02e1709fd120164c SHA512 043c053452b2d452875b2e3ed96be5b96275544e2a692bec8b170e01cefec6e5648a6681e3cac3afd2a68c8ec57f6461a9a73394d74abbc8627d49b66978808e +DIST slang-5.0.tar.gz 1334032 BLAKE2B 08981f86d0be6a4a7d391a2b65d8f4e5bdab8e3ba50f6e847e2b25fec9d9345e806045faae3c74fd71db90f939d8668ff775465ea1e8433d660a0a53f20a358a SHA512 a1b7b9aac7357a9a7cc1818adbb5e9622234f607aba452ca57e3d28b31779339bb19557137cf37cdcc2abb2aba15eb6d2f580169322caf075a2518b3d8634a26 diff --git a/sci-electronics/slang/slang-5.0.ebuild b/sci-electronics/slang/slang-5.0.ebuild new file mode 100644 index 0000000000..d910be8d22 --- /dev/null +++ b/sci-electronics/slang/slang-5.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..12} ) +inherit cmake python-single-r1 + +DESCRIPTION="SystemVerilog compiler and language services" +HOMEPAGE=" + https://sv-lang.com + https://github.com/MikePopoloski/slang +" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/MikePopoloski/${PN}.git" +else + SRC_URI="https://github.com/MikePopoloski/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + S="${WORKDIR}/${P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="python test" +REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-cpp/catch-3.0.1 + >=dev-libs/libfmt-9.1.0 + >=dev-libs/mimalloc-2.1.2 + $(python_gen_cond_dep ' + >=dev-python/pybind11-2.10[${PYTHON_USEDEP}] + ') +" + +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-5.0-fix-gentoo-libfmt-depend.patch" +) + +src_configure() { + python_setup + local mycmakeargs=( + -D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D BUILD_SHARED_LIBS=ON + -D SLANG_INCLUDE_PYLIB=$(usex python) + -D SLANG_INCLUDE_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use python; then + # fix python unexpected paths QA + mkdir -p "${D}/$(python_get_sitedir)" || die + mv "${D}"/usr/pyslang* "${D}/$(python_get_sitedir)" || die + fi +} From 2802db2c0e7a102f8a88c05f211f2a8135a737bd Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Fri, 16 Feb 2024 20:05:27 +0100 Subject: [PATCH 05/14] app-admin/pulumi-bin: add 3.106.0, drop 3.103.1 Signed-off-by: Alexey Zapparov --- app-admin/pulumi-bin/Manifest | 2 +- .../{pulumi-bin-3.103.1.ebuild => pulumi-bin-3.106.0.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app-admin/pulumi-bin/{pulumi-bin-3.103.1.ebuild => pulumi-bin-3.106.0.ebuild} (100%) diff --git a/app-admin/pulumi-bin/Manifest b/app-admin/pulumi-bin/Manifest index 9e6784a172..f58f9eb2f9 100644 --- a/app-admin/pulumi-bin/Manifest +++ b/app-admin/pulumi-bin/Manifest @@ -1,3 +1,3 @@ -DIST pulumi-v3.103.1-linux-x64.tar.gz 155023148 BLAKE2B adac83d1b00a116de7c170f2db81136932fe268d1051ae8439af0daa2b77910278f2f4e6078fccd0b005cfee72bccc3b2171e08ba74ffcd6873aaca52ca16cf5 SHA512 310ffe08b6b32f5e5c1387018f667bad3bbfd1325b085d1e3d22eca501625f5c031037e4c0da0637b7f679d9032b82868eb8713f86dd0905f8c4049ae4de3841 DIST pulumi-v3.104.2-linux-x64.tar.gz 155082196 BLAKE2B f446ae9311b9afa8ff123fa787bd2131c656acc5499eb068eb71d4ff9d6672c6919c4fdd56675a5e11b0ec8244bd6891cdc3e76504a69ed12a90a974b3a8e402 SHA512 fccc0cb2011f49ef29aabc9992d9b9993fa41c54eeacc8771d77ff3ba058d7993d1771af70c4c189bfecbc344f311824d88dc93625c94d13afe8f054ddb8eb19 DIST pulumi-v3.105.0-linux-x64.tar.gz 155107676 BLAKE2B 29e55bdc259f5fe3c7b02b1c309c12aea5b607c43dd426071b5c9e3bf1cd580b03237d8487c0347ef5f181a814e032e0977c6ef6a38cfbd4a3a0f06f4eaa24e8 SHA512 c2c0d3572d26e7f9e3243ce07ac6130c60e8986684ad9c49833b814af07fadee4b7b2371427927c5b094719cfd41ea281fd71c866408a44129e7e35b6341ad3c +DIST pulumi-v3.106.0-linux-x64.tar.gz 157770055 BLAKE2B a7dc4d5e5bd8756dbdbf906041934528c41fbc49afa0a387f61fd54ac0c87abf28f1ae2270f79bbf507c9028bc1c9fccbca8a75096a43e8d71e79650db1fce6a SHA512 6008714083062336f90b4409bb9fec924f1f62f4cc63456c9826e2aac4a99a9772a930642a0f42dcfa67a179dbc5e3b5492ebad9997476167aa5bb65dae57787 diff --git a/app-admin/pulumi-bin/pulumi-bin-3.103.1.ebuild b/app-admin/pulumi-bin/pulumi-bin-3.106.0.ebuild similarity index 100% rename from app-admin/pulumi-bin/pulumi-bin-3.103.1.ebuild rename to app-admin/pulumi-bin/pulumi-bin-3.106.0.ebuild From b5c9ae8104f9331cf0521903b4463eaf6fa6802b Mon Sep 17 00:00:00 2001 From: Kostadin Shishmanov Date: Fri, 16 Feb 2024 23:38:24 +0200 Subject: [PATCH 06/14] media-sound/tidal-hifi-bin: add 5.9.0 Signed-off-by: Kostadin Shishmanov --- media-sound/tidal-hifi-bin/Manifest | 1 + .../tidal-hifi-bin-5.9.0.ebuild | 100 ++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 media-sound/tidal-hifi-bin/tidal-hifi-bin-5.9.0.ebuild diff --git a/media-sound/tidal-hifi-bin/Manifest b/media-sound/tidal-hifi-bin/Manifest index 5258ed5fcd..36ea51fd78 100644 --- a/media-sound/tidal-hifi-bin/Manifest +++ b/media-sound/tidal-hifi-bin/Manifest @@ -1 +1,2 @@ DIST tidal-hifi-bin-5.8.0.tar.gz 110335163 BLAKE2B c2115b28014fae7a07ecabb2bf8c0653b3b897e9ea964a76c658c2eec5a25d213933c6a02609029e47ed04f6f26b99e6be0208b0f08a3f34506aa18d04642293 SHA512 91832766324ea3a65670bed19d40d8eb2e06385545200413fadd760db4d13674334a6ad007c3e2c605baccedf36ff2e5744152b593fc38135e4b38b99cf414ca +DIST tidal-hifi-bin-5.9.0.tar.gz 110340819 BLAKE2B 9ce266441aace64718c773b8dd96f925342b38fb1b4d5d1718aec786a2c6825d14a74a94c77487a3cf9b20513561457a52706be3cea0c33ec84e5b624ade9ccb SHA512 f9ef34b04fb448906142d1f8222f9ccf6abb03328fc560e927f5bcc2a1f19955f2117aeb6151876fbb9cb7cc8646c5d61c3604e85beb7fe51e0201d75b28eb20 diff --git a/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.9.0.ebuild b/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.9.0.ebuild new file mode 100644 index 0000000000..92fe1d3483 --- /dev/null +++ b/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.9.0.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" + +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 + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop linux-info unpacker xdg + +DESCRIPTION="Web version of Tidal running in electron with Hi-Fi support thanks to Widevine." +HOMEPAGE="https://github.com/Mastermindzh/tidal-hifi" +SRC_URI="https://github.com/Mastermindzh/tidal-hifi/releases/download/${PV}/tidal-hifi-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libgcrypt + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango +" + +DESTDIR="/opt/${PN}" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # cleanup languages + 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 + rm -rf "${S}"/resources/app.asar.unpacked/node_modules/abstract-socket/build/node_gyp_bins +} + +src_install() { + doicon -s 256 "${FILESDIR}/${MY_PN}.png" + + make_desktop_entry "/usr/bin/tidal-hifi" "TIDAL Hi-Fi" ${PN} "Network;AudioVideo;Audio;Video" + + exeinto "${DESTDIR}" + + doexe "${MY_PN}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so + + insinto "${DESTDIR}" + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DESTDIR}/chrome-sandbox" + fperms 4711 "${DESTDIR}/chrome-sandbox" + + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + dosym "${DESTDIR}/${MY_PN}" "/usr/bin/${MY_PN}" +} From 20e6b58cfa24ed48ea408fb41263c2458b21029d Mon Sep 17 00:00:00 2001 From: Kostadin Shishmanov Date: Fri, 16 Feb 2024 23:38:37 +0200 Subject: [PATCH 07/14] media-sound/tidal-hifi-bin: drop 5.8.0 Signed-off-by: Kostadin Shishmanov --- media-sound/tidal-hifi-bin/Manifest | 1 - .../tidal-hifi-bin-5.8.0.ebuild | 100 ------------------ 2 files changed, 101 deletions(-) delete mode 100644 media-sound/tidal-hifi-bin/tidal-hifi-bin-5.8.0.ebuild diff --git a/media-sound/tidal-hifi-bin/Manifest b/media-sound/tidal-hifi-bin/Manifest index 36ea51fd78..4bcbd5f534 100644 --- a/media-sound/tidal-hifi-bin/Manifest +++ b/media-sound/tidal-hifi-bin/Manifest @@ -1,2 +1 @@ -DIST tidal-hifi-bin-5.8.0.tar.gz 110335163 BLAKE2B c2115b28014fae7a07ecabb2bf8c0653b3b897e9ea964a76c658c2eec5a25d213933c6a02609029e47ed04f6f26b99e6be0208b0f08a3f34506aa18d04642293 SHA512 91832766324ea3a65670bed19d40d8eb2e06385545200413fadd760db4d13674334a6ad007c3e2c605baccedf36ff2e5744152b593fc38135e4b38b99cf414ca DIST tidal-hifi-bin-5.9.0.tar.gz 110340819 BLAKE2B 9ce266441aace64718c773b8dd96f925342b38fb1b4d5d1718aec786a2c6825d14a74a94c77487a3cf9b20513561457a52706be3cea0c33ec84e5b624ade9ccb SHA512 f9ef34b04fb448906142d1f8222f9ccf6abb03328fc560e927f5bcc2a1f19955f2117aeb6151876fbb9cb7cc8646c5d61c3604e85beb7fe51e0201d75b28eb20 diff --git a/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.8.0.ebuild b/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.8.0.ebuild deleted file mode 100644 index f968df271d..0000000000 --- a/media-sound/tidal-hifi-bin/tidal-hifi-bin-5.8.0.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" - -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 - sw ta te th tr uk ur vi zh-CN zh-TW -" - -inherit chromium-2 desktop linux-info unpacker xdg - -DESCRIPTION="Web version of Tidal running in electron with Hi-Fi support thanks to Widevine." -HOMEPAGE="https://github.com/Mastermindzh/tidal-hifi" -SRC_URI="https://github.com/Mastermindzh/tidal-hifi/releases/download/${PV}/tidal-hifi-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/libgcrypt - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/fontconfig - media-libs/mesa[gbm(+)] - net-print/cups - sys-apps/dbus - sys-apps/util-linux - sys-libs/glibc - x11-libs/cairo - x11-libs/libdrm - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libxshmfence - x11-libs/pango -" - -DESTDIR="/opt/${PN}" - -QA_PREBUILT="*" - -CONFIG_CHECK="~USER_NS" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_configure() { - default - chromium_suid_sandbox_check_kernel_config -} - -src_prepare() { - default - # cleanup languages - 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 - rm -rf "${S}"/resources/app.asar.unpacked/node_modules/abstract-socket/build/node_gyp_bins -} - -src_install() { - doicon -s 256 "${FILESDIR}/${MY_PN}.png" - - make_desktop_entry "/usr/bin/tidal-hifi" "TIDAL Hi-Fi" ${PN} "Network;AudioVideo;Audio;Video" - - exeinto "${DESTDIR}" - - doexe "${MY_PN}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so - - insinto "${DESTDIR}" - doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin - insopts -m0755 - doins -r locales resources - - # Chrome-sandbox requires the setuid bit to be specifically set. - # see https://github.com/electron/electron/issues/17972 - fowners root "${DESTDIR}/chrome-sandbox" - fperms 4711 "${DESTDIR}/chrome-sandbox" - - [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler - - dosym "${DESTDIR}/${MY_PN}" "/usr/bin/${MY_PN}" -} From e887b0bb7ed88c35f1e81fcf680ce35cf147d046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Fri, 16 Feb 2024 21:48:23 +0000 Subject: [PATCH 08/14] media-libs/imgui: drop 1.87-r6, 1.87-r8, add 1.87-r9 * fix bug with patch applying before imgui folder be added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/924126 Signed-off-by: Gonçalo Negrier Duarte --- media-libs/imgui/imgui-1.87-r6.ebuild | 113 ------------------ ...ui-1.87-r8.ebuild => imgui-1.87-r9.ebuild} | 13 +- 2 files changed, 10 insertions(+), 116 deletions(-) delete mode 100644 media-libs/imgui/imgui-1.87-r6.ebuild rename media-libs/imgui/{imgui-1.87-r8.ebuild => imgui-1.87-r9.ebuild} (92%) diff --git a/media-libs/imgui/imgui-1.87-r6.ebuild b/media-libs/imgui/imgui-1.87-r6.ebuild deleted file mode 100644 index 3752923094..0000000000 --- a/media-libs/imgui/imgui-1.87-r6.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Bloat-free graphical user interface library for C++" -HOMEPAGE=" - https://github.com/ocornut/imgui - https://github.com/cimgui/cimgui -" -SRC_URI=" - https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz - https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan" -S="${WORKDIR}/c${P}" - -RDEPEND=" - dev-libs/stb:= - allegro? ( media-libs/allegro:5 ) - freetype? ( media-libs/freetype ) - glfw? ( media-libs/glfw:0 ) - glut? ( media-libs/freeglut ) - opengl? ( virtual/opengl ) - sdl? ( media-libs/libsdl2 ) - vulkan? ( media-libs/vulkan-loader ) -" -DEPEND=" - ${RDEPEND} - vulkan? ( dev-util/vulkan-headers ) -" -BDEPEND=" - bindings? ( dev-lang/luajit ) - virtual/pkgconfig -" - -REQUIRED_USE=" - || ( - allegro - glfw - glut - sdl - ) - || ( - allegro - opengl - vulkan - ) -" - -PATCHES=( "${FILESDIR}/${P}-fpermissive.patch" ) - -src_prepare() { - pushd ../ || die - rm -rf "${S}/imgui" || die - mv "${P}" "${S}/imgui" || die - pushd "${S}/imgui" || die - - # imgui - rm -r examples/libs || die - rm -r misc/*/*.ttf || die - rm -r misc/single_file || die - - cp "${FILESDIR}/${P}-CMakeLists.txt" CMakeLists.txt || die - cp "${FILESDIR}/imgui.pc.in" imgui.pc.in || die - sed -e "s|@version@|${PV}|g" -i imgui.pc.in || die - - pushd "${S}" || die - cp "${FILESDIR}/c${P}-CMakeLists.txt" CMakeLists.txt || die - # remove files to be generated - rm cimgui.cpp cimgui.h || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DIMGUI_ALLEGRO=$(usex allegro) - -DIMGUI_BINDINGS=$(usex bindings) - -DIMGUI_EXAMPLES=$(usex examples) - -DIMGUI_FREETYPE=$(usex freetype) - -DIMGUI_GLFW=$(usex glfw) - -DIMGUI_GLUT=$(usex glut) - -DIMGUI_OPENGL=$(usex opengl) - -DIMGUI_SDL=$(usex sdl) - -DIMGUI_VULKAN=$(usex vulkan) - ) - cmake_src_configure -} - -src_install() { - - cmake_src_install - - pushd imgui || die - # imgui - rm -rf misc/{fonts,freetype} || die - dodoc -r misc - - popd || die - - if use bindings; then - # cimgui - - insinto "/usr/share/doc/${PF}/cimgui" - doins README.md TODO.txt - fi -} diff --git a/media-libs/imgui/imgui-1.87-r8.ebuild b/media-libs/imgui/imgui-1.87-r9.ebuild similarity index 92% rename from media-libs/imgui/imgui-1.87-r8.ebuild rename to media-libs/imgui/imgui-1.87-r9.ebuild index 207cbbefce..27dc90b9ae 100644 --- a/media-libs/imgui/imgui-1.87-r8.ebuild +++ b/media-libs/imgui/imgui-1.87-r9.ebuild @@ -56,13 +56,20 @@ REQUIRED_USE=" PATCHES=( "${FILESDIR}/${P}-fpermissive.patch" ) -multilib_src_prepare() { - pushd ../ || die +src_unpack() { + # unpack imgui and cimgui to ${WORKDIR} + unpack "${P}.gh.tar.gz" + unpack "c${P}.gh.tar.gz" + + # move imgui to the proper location before the patch (Bug #924126) + pushd ${WORKDIR} || die rm -rf "${S}/imgui" || die mv "${P}" "${S}/imgui" || die - pushd "${S}/imgui" || die +} +multilib_src_prepare() { # imgui + pushd "${S}/imgui" || die rm -r examples/libs || die rm -r misc/*/*.ttf || die rm -r misc/single_file || die From d3c481070a5c47c32a77a0044df68fe18e730aa3 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sat, 17 Feb 2024 05:14:36 +0500 Subject: [PATCH 09/14] app-text/libspelling: new package, add 0.2.0 Signed-off-by: Anna (cybertailor) Vyalkova --- app-text/libspelling/Manifest | 1 + app-text/libspelling/libspelling-0.2.0.ebuild | 59 +++++++++++++++++++ app-text/libspelling/metadata.xml | 15 +++++ 3 files changed, 75 insertions(+) create mode 100644 app-text/libspelling/Manifest create mode 100644 app-text/libspelling/libspelling-0.2.0.ebuild create mode 100644 app-text/libspelling/metadata.xml diff --git a/app-text/libspelling/Manifest b/app-text/libspelling/Manifest new file mode 100644 index 0000000000..86ad005039 --- /dev/null +++ b/app-text/libspelling/Manifest @@ -0,0 +1 @@ +DIST libspelling-0.2.0.tar.bz2 45591 BLAKE2B 5fefe443d9f492d1d84e41eaba74065eab8a0b1d62b5bb292f221b4af02832dc0114d801cd08e6b9ef3c905f27da524f3331b64e7726e8138e665dfd512ac7ab SHA512 3eef6fe3d0ed32d2c7a8da7eab337b4553d5f4dd0a3c3b24dcf3036d4c1218411122bfec3842160581a669e049bee7f3e3c1b86a03cc1de67ae30bb9cab0584f diff --git a/app-text/libspelling/libspelling-0.2.0.ebuild b/app-text/libspelling/libspelling-0.2.0.ebuild new file mode 100644 index 0000000000..3948c223f8 --- /dev/null +++ b/app-text/libspelling/libspelling-0.2.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson vala + +DESCRIPTION="A GNOME library for spellchecking" +HOMEPAGE="https://gitlab.gnome.org/chergert/libspelling" +SRC_URI="https://gitlab.gnome.org/chergert/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~amd64" +IUSE="+enchant gtk-doc vala" + +RDEPEND=" + dev-libs/glib:2 + >=gui-libs/gtk-4.8:4 + >=gui-libs/gtksourceview-5.6:5 + enchant? ( + app-text/enchant:2 + dev-libs/icu:= + ) +" +DEPEND="${RDEPEND} + vala? ( + $(vala_depend) + >=gui-libs/gtksourceview-5.6:5[vala] + ) +" +BDEPEND=" + dev-libs/gobject-introspection + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +src_prepare() { + use vala && vala_setup + default +} + +src_configure() { + local emesonargs=( + $(meson_feature enchant) + $(meson_use gtk-doc docs) + $(meson_use vala vapi) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} diff --git a/app-text/libspelling/metadata.xml b/app-text/libspelling/metadata.xml new file mode 100644 index 0000000000..f3aeb7c8da --- /dev/null +++ b/app-text/libspelling/metadata.xml @@ -0,0 +1,15 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + https://chergert.pages.gitlab.gnome.org/libspelling/libspelling-1/ + chergert/libspelling + + + Enable spellchecking using app-text/enchant + + From d117ef91805e0dde05944f8a1a6612920301328c Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sat, 17 Feb 2024 05:38:44 +0500 Subject: [PATCH 10/14] net-im/flare: new package, add 0.12.0 Signed-off-by: Anna (cybertailor) Vyalkova --- net-im/flare/Manifest | 1 + net-im/flare/flare-0.12.0.ebuild | 66 ++++++++++++++++++++++++++++++++ net-im/flare/metadata.xml | 15 ++++++++ 3 files changed, 82 insertions(+) create mode 100644 net-im/flare/Manifest create mode 100644 net-im/flare/flare-0.12.0.ebuild create mode 100644 net-im/flare/metadata.xml diff --git a/net-im/flare/Manifest b/net-im/flare/Manifest new file mode 100644 index 0000000000..af01412990 --- /dev/null +++ b/net-im/flare/Manifest @@ -0,0 +1 @@ +DIST flare-0.12.0.tar.xz 56592956 BLAKE2B 7dfd32cf1af0a3a35032b09a702be0fcc4e1f583a0e189eb84bc8ae410b29757eaf84b53f164bf5b17b9ec9178ddd2ef0e9b6fd92ef89335dfc62ec52bd21cc1 SHA512 c2136be40f72a58a20b7fc4e79384365a10f47079cb02a1e161d0200f8cb4a224c63b976865b6b7f377f52b85178eb85c956d3b4f28bc7cb87ad2a4b87219c56 diff --git a/net-im/flare/flare-0.12.0.ebuild b/net-im/flare/flare-0.12.0.ebuild new file mode 100644 index 0000000000..0c0ee05713 --- /dev/null +++ b/net-im/flare/flare-0.12.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome2-utils meson xdg + +PKG_ID=112823190 +DESCRIPTION="Chat with your friends on Signal" +HOMEPAGE=" + https://mobile.schmidhuberj.de/flare + https://gitlab.com/schmiddi-on-mobile/flare +" +SRC_URI="https://gitlab.com/schmiddi-on-mobile/${PN}/-/package_files/${PKG_ID}/download -> ${P}.tar.xz" +BUILD_DIR="${S}/build" + +LICENSE="AGPL-3" +# Dependent crate licenses +LICENSE+=" + || ( 0BSD Apache-2.0 MIT ) + || ( Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT ) + || ( Apache-2.0 BSD MIT ) + || ( Apache-2.0 BSD-1 MIT ) + || ( Apache-2.0 Boost-1.0 ) + || ( Apache-2.0 CC0-1.0 ) + || ( Apache-2.0 CC0-1.0 MIT-0 ) + || ( Apache-2.0 ISC MIT ) + || ( Apache-2.0 MIT ) + || ( Apache-2.0 MIT ZLIB ) + || ( MIT Unlicense ) + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 ISC MIT Unicode-DFS-2016 ZLIB openssl +" + +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + app-text/libspelling:1 + >=dev-libs/glib-2.66:2 + >=gui-libs/gtk-4.12:4[X] + gui-libs/gtksourceview:5 + >=gui-libs/libadwaita-1.4:1 + media-libs/graphene + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/glib:2 + dev-util/blueprint-compiler + sys-devel/gettext + virtual/rust +" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/net-im/flare/metadata.xml b/net-im/flare/metadata.xml new file mode 100644 index 0000000000..2d9b302b0d --- /dev/null +++ b/net-im/flare/metadata.xml @@ -0,0 +1,15 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + + Julian Schmidhuber + schmidhuberj2@protonmail.com + + schmiddi-on-mobile/flare + + From 0a9e9dc3446ae212e7711d0131da0a86c1743133 Mon Sep 17 00:00:00 2001 From: NRK Date: Sat, 17 Feb 2024 01:19:15 +0000 Subject: [PATCH 11/14] mpv-plugin/mfpbar: new package Signed-off-by: NRK --- mpv-plugin/mfpbar/Manifest | 1 + mpv-plugin/mfpbar/metadata.xml | 11 ++++++++ mpv-plugin/mfpbar/mfpbar-20240215.ebuild | 33 ++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 mpv-plugin/mfpbar/Manifest create mode 100644 mpv-plugin/mfpbar/metadata.xml create mode 100644 mpv-plugin/mfpbar/mfpbar-20240215.ebuild diff --git a/mpv-plugin/mfpbar/Manifest b/mpv-plugin/mfpbar/Manifest new file mode 100644 index 0000000000..0ce03dd640 --- /dev/null +++ b/mpv-plugin/mfpbar/Manifest @@ -0,0 +1 @@ +DIST mfpbar-20240215.tar.gz 21585 BLAKE2B 1b67b59a74a494d1c8e43533dd95a72008c59191a9d41a9f7b9cbd4da6db8b5e457be0ed6bcc4d9c82769f302ef2bf65065909ffba6905c6d6ae5b6ec6347c7e SHA512 2c37d64136f1c5c19537ab675215616fe24708d3f988ae0c539add3f0d94f73f76b1ec7b0c7cb8f258ddc45c4bb15967500cc72eee42247a9c1d6f6ce4fd1779 diff --git a/mpv-plugin/mfpbar/metadata.xml b/mpv-plugin/mfpbar/metadata.xml new file mode 100644 index 0000000000..5d95ab1e33 --- /dev/null +++ b/mpv-plugin/mfpbar/metadata.xml @@ -0,0 +1,11 @@ + + + + + nrk@disroot.org + NRK + + + NRK/mpv-toolbox + + diff --git a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild new file mode 100644 index 0000000000..1d56ee1a82 --- /dev/null +++ b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit mpv-plugin + +RDEPEND=">=media-video/mpv-0.33.0[lua]" + +DESCRIPTION="A minimalistic progressbar and osc replacement" +HOMEPAGE="https://codeberg.org/NRK/mpv-toolbox" + +SRC_URI="https://codeberg.org/NRK/mpv-toolbox/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/mpv-toolbox/${PN}" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" + +MPV_PLUGIN_FILES=( mfpbar.lua ) + +src_install() { + mpv-plugin_src_install + dodoc mfpbar.conf + dodoc README.md +} + +pkg_postinst() { + mpv-plugin_pkg_postinst + einfo "mfpbar requires disabling the default osc." + einfo "put 'osc=no' in your 'mpv.conf' in order to do so." + einfo "" + einfo "for thumbnail support install: https://github.com/po5/thumbfast" # TODO(NRK): package thumbfast +} From a7429a61291d4891d6c8883ccc47dadf06f1e0c4 Mon Sep 17 00:00:00 2001 From: NRK Date: Sat, 17 Feb 2024 01:38:04 +0000 Subject: [PATCH 12/14] mpv-plugin/thumbfast: new package Signed-off-by: NRK --- mpv-plugin/thumbfast/Manifest | 1 + mpv-plugin/thumbfast/metadata.xml | 11 ++++++ .../thumbfast/thumbfast-2023.12.08.ebuild | 35 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 mpv-plugin/thumbfast/Manifest create mode 100644 mpv-plugin/thumbfast/metadata.xml create mode 100644 mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild diff --git a/mpv-plugin/thumbfast/Manifest b/mpv-plugin/thumbfast/Manifest new file mode 100644 index 0000000000..ec5520fdb8 --- /dev/null +++ b/mpv-plugin/thumbfast/Manifest @@ -0,0 +1 @@ +DIST thumbfast-2023.12.08.tar.gz 16515 BLAKE2B 94a8d75315b77b3290fb6e90a44d6ff7970e663ecbdadf29acff6c1282e6834afb1dd079967dadee26c81cc6ae181df9ff0e815c662e11a70fe29a1f6b11cdc7 SHA512 af69b8bd90d6acbd8aeeb7821998684239047efb2f1147149d1cfc824e763e459dc88364d5903f0228e2f3e1b372ced0df6c8b6c07bfd12b05937f2a889a851e diff --git a/mpv-plugin/thumbfast/metadata.xml b/mpv-plugin/thumbfast/metadata.xml new file mode 100644 index 0000000000..4458f732dc --- /dev/null +++ b/mpv-plugin/thumbfast/metadata.xml @@ -0,0 +1,11 @@ + + + + + nrk@disroot.org + NRK + + + po5/thumbfast + + diff --git a/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild new file mode 100644 index 0000000000..0868818c77 --- /dev/null +++ b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_MPV="rdepend" +MPV_REQ_USE="lua" +inherit mpv-plugin + +COMMIT="03e93feee5a85bf7c65db953ada41b4826e9f905" +DESCRIPTION="High-performance on-the-fly thumbnailer script for mpv." +HOMEPAGE="https://github.com/po5/thumbfast" +SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="MPL-2" +KEYWORDS="~amd64" + +RDEPEND="app-shells/bash" + +MPV_PLUGIN_FILES=( + thumbfast.lua +) + +DOCS=( + thumbfast.conf + README.md +) + +pkg_postinst() { + mpv-plugin_pkg_postinst + einfo "thumbfast requires using a supported ui (such as mpv-plugin/mfpbar)." + # TODO(NRK): add a useflag for the vanilla-osc fork?? + # https://github.com/po5/thumbfast/blob/vanilla-osc/player/lua/osc.lua +} From 92aa07107c7347355186db7424d5a2b2a0506f1b Mon Sep 17 00:00:00 2001 From: NRK Date: Sat, 17 Feb 2024 01:44:02 +0000 Subject: [PATCH 13/14] mpv-plugin/mfpbar: tidy up Signed-off-by: NRK --- mpv-plugin/mfpbar/mfpbar-20240215.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild index 1d56ee1a82..7b8264d207 100644 --- a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild +++ b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit mpv-plugin +inherit mpv-plugin optfeature RDEPEND=">=media-video/mpv-0.33.0[lua]" @@ -17,17 +17,11 @@ LICENSE="GPL-3+" KEYWORDS="~amd64" MPV_PLUGIN_FILES=( mfpbar.lua ) - -src_install() { - mpv-plugin_src_install - dodoc mfpbar.conf - dodoc README.md -} +DOCS=( mfpbar.conf README.md ) pkg_postinst() { mpv-plugin_pkg_postinst einfo "mfpbar requires disabling the default osc." einfo "put 'osc=no' in your 'mpv.conf' in order to do so." - einfo "" - einfo "for thumbnail support install: https://github.com/po5/thumbfast" # TODO(NRK): package thumbfast + optfeature "thumbnail support" mpv-plugin/thumbfast } From 5055a593944b15a581287942bc530a9cd34b263a Mon Sep 17 00:00:00 2001 From: NRK Date: Sat, 17 Feb 2024 01:54:42 +0000 Subject: [PATCH 14/14] mpv-plugin/mpv_sponsorblock_minimal: update snapshot also add myself as maintainer Signed-off-by: NRK --- mpv-plugin/mpv_sponsorblock_minimal/Manifest | 2 +- mpv-plugin/mpv_sponsorblock_minimal/metadata.xml | 11 +++++++---- ...ild => mpv_sponsorblock_minimal-2023.08.20.ebuild} | 9 ++++----- 3 files changed, 12 insertions(+), 10 deletions(-) rename mpv-plugin/mpv_sponsorblock_minimal/{mpv_sponsorblock_minimal-2022.02.07.ebuild => mpv_sponsorblock_minimal-2023.08.20.ebuild} (75%) diff --git a/mpv-plugin/mpv_sponsorblock_minimal/Manifest b/mpv-plugin/mpv_sponsorblock_minimal/Manifest index 6830cf5808..85bc663b19 100644 --- a/mpv-plugin/mpv_sponsorblock_minimal/Manifest +++ b/mpv-plugin/mpv_sponsorblock_minimal/Manifest @@ -1 +1 @@ -DIST mpv_sponsorblock_minimal-2022.02.07.tar.gz 14172 BLAKE2B 200249e6fcdf0580aae81dffe4ae1da24d98385ddd51d3b6bac23ed399a22f6e78089b9bbfb79d568a174eb886744bc3267a777651e480616ef13290801c72f3 SHA512 b7af7409d5496857dac064137cd417c85ab7389ed8539664a2cf305285da9a0932b37c7ab3e4aa9cbd97817adf588f4d329460276e0425528f00763ae7983862 +DIST mpv_sponsorblock_minimal-2023.08.20.tar.gz 14419 BLAKE2B bb055273d1dc6f1aaeb6cc4a77f1686dc4f98930b59eeb185c379f0e9da172f960d194cc7b26fe914fd54b0fcafc6600eda5f4690561e5ba669a3243c8abf6a3 SHA512 f790ae06e26bd78b686790245d2aa135af2f0f71e11a800ad916e6ba9cc863f4be9ec7829945ac9dfe1349c51ac9f2bcba5fd4c4c3c7b08660ecce1289c7ec21 diff --git a/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml b/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml index f0fa831ec9..d65256fb63 100644 --- a/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml +++ b/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml @@ -1,8 +1,11 @@ - - - jouni/mpv_sponsorblock_minimal - + + nrk@disroot.org + NRK + + + jouni/mpv_sponsorblock_minimal + diff --git a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2022.02.07.ebuild b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild similarity index 75% rename from mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2022.02.07.ebuild rename to mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild index 741fae11fd..720ae9bd7c 100644 --- a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2022.02.07.ebuild +++ b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ USE_MPV="rdepend" MPV_REQ_USE="lua" inherit mpv-plugin -COMMIT="b71beb60eb71eb7df1266abfccd14c8cc451c643" +COMMIT="ca2844b8cf7674bfccd282d389a50427742251d3" DESCRIPTION="A minimal script to skip sponsored segments of YouTube videos" HOMEPAGE="https://codeberg.org/jouni/mpv_sponsorblock_minimal" SRC_URI="https://codeberg.org/jouni/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" @@ -19,6 +19,5 @@ KEYWORDS="~amd64" # TODO: package Lua-cURL RDEPEND="net-misc/curl" -MPV_PLUGIN_FILES=( - sponsorblock_minimal.lua -) +MPV_PLUGIN_FILES=( sponsorblock_minimal.lua ) +DOCS=( README )