diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest index 21689b2f50..826a916fe4 100644 --- a/app-editors/pulsar-bin/Manifest +++ b/app-editors/pulsar-bin/Manifest @@ -1,3 +1,4 @@ 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 DIST pulsar-bin-1.106.0-amd64.tar.gz 230175989 BLAKE2B c26238659ec32918b06563aa14462d2a47f87612d18d0e309ebdeaafb8282c5c2f839264eda7cc3151bb9643b783ac47e0e008eccf59fb8347d7b71995137da5 SHA512 9ce4e1ba0ca375a035863ca955592ebde9e20c16aa06d6ab3bd803d32edbd35d916b5ef94c2072f21f3d9a60546798fa2aaa74608299101713e92cce367fd0f6 +DIST pulsar-bin-1.106.0-arm64.tar.gz 191577179 BLAKE2B cf0ec650ad6bdafb513aae261518ce800b18be43008a12faee75230d488d2073d11eeda56474d26bf281e77a2ca27bc145ad67d9a53ca0bbf5ac16cf743b3017 SHA512 bc3789478998570231d956e1e73754b90856e366cb233fd5f9ad4643bf2c6f25b27c1fd54a4056bc099187205be4733e45cdd67be0f116c31472bbe884407ba8 diff --git a/app-editors/pulsar-bin/pulsar-bin-1.106.0.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.106.0.ebuild index a407bf09f7..0d6013dc95 100644 --- a/app-editors/pulsar-bin/pulsar-bin-1.106.0.ebuild +++ b/app-editors/pulsar-bin/pulsar-bin-1.106.0.ebuild @@ -8,15 +8,14 @@ inherit desktop xdg DESCRIPTION="A Community-led Hyper-Hackable Text Editor" HOMEPAGE="https://pulsar-edit.dev/" -# ARM64 build is missing upstream for 1.106.0 -# arm64? ( https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/ARM.Linux.pulsar-${PV}-arm64.tar.gz -> ${P}-arm64.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" -KEYWORDS="-* ~amd64" +KEYWORDS="-* ~amd64 ~arm64" # binary package; no tests available RESTRICT="test" diff --git a/app-emulation/LookingGlass/LookingGlass-1_beta6.ebuild b/app-emulation/LookingGlass/LookingGlass-1_beta6.ebuild new file mode 100644 index 0000000000..be30b690a9 --- /dev/null +++ b/app-emulation/LookingGlass/LookingGlass-1_beta6.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 desktop xdg-utils + +EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git" +EGIT_BRANCH="Release/B6" +DESCRIPTION="A low latency KVM FrameRelay implementation for guests with VGA PCI Passthrough" +HOMEPAGE="https://looking-glass.io https://github.com/gnif/LookingGlass" + +LICENSE="GPL-2" +SLOT="0" +IUSE="binutils gnome pipewire pulseaudio wayland X" +USE="pipewire pulseaudio" +REQUIRED_USE="|| ( binutils gnome pipewire pulseaudio wayland X ) pipewire? ( !pulseaudio ) pulseaudio? ( !pipewire ) " + +RDEPEND="dev-libs/libconfig + dev-libs/nettle + media-libs/freetype + media-libs/fontconfig + media-libs/libsdl2 + media-libs/sdl2-ttf + virtual/glu + media-libs/libsamplerate + binutils? ( sys-devel/binutils ) + X? ( x11-libs/libX11 x11-libs/libXfixes x11-libs/libXi x11-libs/libXScrnSaver x11-libs/libXpresent ) + wayland? ( dev-libs/wayland ) + pulseaudio? ( media-libs/libpulse ) + pipewire? ( media-video/pipewire ) + gnome? ( gui-libs/libdecor ) +" + +DEPEND="${RDEPEND} + app-emulation/spice-protocol + wayland? ( dev-libs/wayland-protocols ) +" +BDEPEND="virtual/pkgconfig" + +CMAKE_USE_DIR="${S}"/client + +src_prepare () { + default + + # Base on build.rst from the project + # doc/build.rst + MYCMAKEARGS=( + -DENABLE_BACKTRACE=$(usex binutils) \ + -DENABLE_X11=$(usex X) -DENABLE_WAYLAND=$(usex wayland) \ + -DENABLE_PIPEWIRE=$(usex pipewire) \ + -DENABLE_PULSEAUDIO=$(usex pulseaudio) \ + -DENABLE_LIBDECOR=$(usex gnome) + ) + + cmake_src_prepare +} + +src_install() { + einstalldocs + dobin "${BUILD_DIR}/looking-glass-client" + newicon -s 128 "${S}/resources/icon-128x128.png" looking-glass-client.png + + if use X && ! use wayland || ! use X && use wayland; then + domenu "${FILESDIR}/LookingGlass.desktop" + fi + + if use X && use wayland; then + domenu "${FILESDIR}/LookingGlass-X.desktop" + newmenu "${FILESDIR}/LookingGlass.desktop" LookingGlass-Wayland.desktop + fi +} + +pkg_postinst() { + xdg_icon_cache_update + if use X && ! use wayland || ! use X && use wayland; then + ewarn "The desktop file located located at /usr/share/applications/LookingGlass.desktop" + fi + if use X && use wayland; then + ewarn "The desktop files located located at /usr/share/applications/LookingGlass-X.desktop /usr/share/applications/LookingGlass-Wayland.desktop" + fi + ewarn "Use the Right Control (Control_R) as the modifier key to control the action in LookingGlass" + ewarn "Note: Key was change because my laptop dosent have ScrLk" + ewarn "Tip: If you press and hold the modfier key (Control_R) you get all the key shortcuts for all action" + ewarn "" + ewarn "Note: The modifier key can be change by editing the desktop file" + ewarn "More information on this link: https://looking-glass.io/wiki/Client/Keyboard_shortcuts" +} diff --git a/app-emulation/LookingGlass/LookingGlass-9999.ebuild b/app-emulation/LookingGlass/LookingGlass-9999.ebuild new file mode 100644 index 0000000000..dd0ff1ea22 --- /dev/null +++ b/app-emulation/LookingGlass/LookingGlass-9999.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 desktop xdg-utils + +EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git" +DESCRIPTION="A low latency KVM FrameRelay implementation for guests with VGA PCI Passthrough" +HOMEPAGE="https://looking-glass.io https://github.com/gnif/LookingGlass" + +LICENSE="GPL-2" +SLOT="0" +IUSE="binutils gnome pipewire pulseaudio wayland X" +USE="pipewire pulseaudio" +REQUIRED_USE="|| ( binutils gnome pipewire pulseaudio wayland X ) pipewire? ( !pulseaudio ) pulseaudio? ( !pipewire ) " + +RDEPEND="dev-libs/libconfig + dev-libs/nettle + media-libs/freetype + media-libs/fontconfig + media-libs/libsdl2 + media-libs/sdl2-ttf + virtual/glu + media-libs/libsamplerate + binutils? ( sys-devel/binutils ) + X? ( x11-libs/libX11 x11-libs/libXfixes x11-libs/libXi x11-libs/libXScrnSaver x11-libs/libXpresent ) + wayland? ( dev-libs/wayland ) + pulseaudio? ( media-libs/libpulse ) + pipewire? ( media-video/pipewire ) + gnome? ( gui-libs/libdecor ) +" + +DEPEND="${RDEPEND} + app-emulation/spice-protocol + wayland? ( dev-libs/wayland-protocols ) +" +BDEPEND="virtual/pkgconfig" + +CMAKE_USE_DIR="${S}"/client + +src_prepare () { + default + + # Base on build.rst from the project + # doc/build.rst + MYCMAKEARGS=( + -DENABLE_BACKTRACE=$(usex binutils) \ + -DENABLE_X11=$(usex X) -DENABLE_WAYLAND=$(usex wayland) \ + -DENABLE_PIPEWIRE=$(usex pipewire) \ + -DENABLE_PULSEAUDIO=$(usex pulseaudio) \ + -DENABLE_LIBDECOR=$(usex gnome) + ) + + cmake_src_prepare +} + +src_compile() { + cmake_src_compile +} + +src_install() { + einstalldocs + dobin "${BUILD_DIR}/looking-glass-client" + newicon -s 128 "${S}/resources/icon-128x128.png" looking-glass-client.png + + if use X && ! use wayland || ! use X && use wayland; then + domenu "${FILESDIR}/LookingGlass.desktop" + fi + + if use X && use wayland; then + domenu "${FILESDIR}/LookingGlass-X.desktop" + newmenu "${FILESDIR}/LookingGlass.desktop" LookingGlass-Wayland.desktop + fi +} + +pkg_postinst() { + xdg_icon_cache_update + if use X && ! use wayland || ! use X && use wayland; then + ewarn "The desktop file located located at /usr/share/applications/LookingGlass.desktop" + fi + if use X && use wayland; then + ewarn "The desktop files located located at /usr/share/applications/LookingGlass-X.desktop /usr/share/applications/LookingGlass-Wayland.desktop" + fi + ewarn "Use the Right Control (Control_R) as the modifier key to control the action in LookingGlass" + ewarn "Note: Key was change because my laptop dosent have ScrLk" + ewarn "Tip: If you press and hold the modfier key (Control_R) you get all the key shortcuts for all action" + ewarn "" + ewarn "Note: The modifier key can be change by editing the desktop file" + ewarn "More information on this link: https://looking-glass.io/wiki/Client/Keyboard_shortcuts" +} diff --git a/app-emulation/LookingGlass/files/LookingGlass-X.desktop b/app-emulation/LookingGlass/files/LookingGlass-X.desktop new file mode 100644 index 0000000000..321f1bdcbd --- /dev/null +++ b/app-emulation/LookingGlass/files/LookingGlass-X.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=LookingGlass Client (X11/XWayland) +StartupNotify=true +Exec=env -u WAYLAND_DISPLAY looking-glass-client -m 97 +Terminal=false +Icon=looking-glass-client +Type=Application \ No newline at end of file diff --git a/app-emulation/LookingGlass/files/LookingGlass.desktop b/app-emulation/LookingGlass/files/LookingGlass.desktop new file mode 100644 index 0000000000..0db75fff7a --- /dev/null +++ b/app-emulation/LookingGlass/files/LookingGlass.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=LookingGlass Client +StartupNotify=true +Exec=/usr/bin/looking-glass-client -m 97 +Terminal=false +Icon=looking-glass-client +Type=Application \ No newline at end of file diff --git a/app-emulation/LookingGlass/metadata.xml b/app-emulation/LookingGlass/metadata.xml new file mode 100644 index 0000000000..9b22b17c81 --- /dev/null +++ b/app-emulation/LookingGlass/metadata.xml @@ -0,0 +1,11 @@ + + + + + build backtrace support + enable media-video/pipewire support + + + gnif/LookingGlass + + \ No newline at end of file diff --git a/app-emulation/box64/Manifest b/app-emulation/box64/Manifest new file mode 100644 index 0000000000..ab68231378 --- /dev/null +++ b/app-emulation/box64/Manifest @@ -0,0 +1 @@ +DIST box64-0.2.2.tar.gz 3359829 BLAKE2B 52e4be1daadaffa16ed494d06441252dc27e68a82dbe13b1f3b0deeac59cc91a6f3c23e52fa9a574e5a1475fd38c8e41f05c3349b501cc1c6f338e70c7ad5c50 SHA512 3213e112aad44118209733960523d459bf74a07b7a1cc1b1b86d5938af2052fc298c8d2b28237cd7186751bdfcf791741a82fdf461c02b58f7e98461b794ef95 diff --git a/app-emulation/box64/box64-0.2.2.ebuild b/app-emulation/box64/box64-0.2.2.ebuild new file mode 100644 index 0000000000..bf960ad1be --- /dev/null +++ b/app-emulation/box64/box64-0.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature + +DESCRIPTION="Linux Userspace x86_64 Emulator with a twist" +HOMEPAGE="https://box86.org" +SRC_URI="https://github.com/ptitSeb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~arm64 ~ppc64" +IUSE="aot" +REQUIRED_USE="aot? ( arm64 )" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local -a mycmakeargs=( + -DNOGIT=1 + -DARM_DYNAREC=$(usex aot) + ) + + use ppc64 && mycmakeargs+=( -DPPC64LE=1 ) + use riscv && mycmakeargs+=( -DRV64=1 ) + use loong && mycmakeargs+=( -DLARCH64=1 ) + use amd64 && mycmakeargs+=( -DLD80BITS=1 -DNOALIGN=1 ) + + cmake_src_configure +} + +pkg_postinst() { + optfeature "OpenGL for GLES devices" \ + "media-libs/gl4es" +} diff --git a/app-emulation/box64/metadata.xml b/app-emulation/box64/metadata.xml new file mode 100644 index 0000000000..a14dd74f9d --- /dev/null +++ b/app-emulation/box64/metadata.xml @@ -0,0 +1,15 @@ + + + + + rrogalski@tutanota.com + Richard Rogalski + + + + Enables the dynamic ahead of time recompiler for increased performance on ARM + + + ptitSeb/box64 + + diff --git a/app-emulation/box86/Manifest b/app-emulation/box86/Manifest new file mode 100644 index 0000000000..608cb619f5 --- /dev/null +++ b/app-emulation/box86/Manifest @@ -0,0 +1 @@ +DIST box86-0.3.0.tar.gz 3175056 BLAKE2B 4fdef0301a53278da82eb18f235c38694d3d5b59c1386e4be14f6efd676499c5082c061f56fe9222f5994f7f043a0aa82019c42bf9b867ab8215c11ed3782f82 SHA512 133957b5b3194a034f383dd2cba503797468b973127b10b3a4bac458e1dce43b4f61efd4ff9ad0cabf7935f9b34a5287cbf3b9fee8c40c9b4bfbe206b0566957 diff --git a/app-emulation/box86/box86-0.3.0.ebuild b/app-emulation/box86/box86-0.3.0.ebuild new file mode 100644 index 0000000000..e32f3b2c1d --- /dev/null +++ b/app-emulation/box86/box86-0.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature flag-o-matic + +DESCRIPTION="Linux Userspace x86 Emulator with a twist" +HOMEPAGE="https://box86.org" +SRC_URI="https://github.com/ptitSeb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~arm ~arm64" +IUSE="aot" +REQUIRED_USE="aot? ( || ( arm arm64 ) )" #depends on NEON, VFPv3, and non-thumb ABI, I see no good way to check + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local -a mycmakeargs=( + -DNOGIT=1 + -DARM_DYNAREC=$(usex aot) + ) + + use amd64 && mycmakeargs+=( -DLD80BITS=1 -DNOALIGN=1 ) + + append-flags "-m32" + + cmake_src_configure +} + +pkg_postinst() { + optfeature "OpenGL for GLES devices" \ + "media-libs/gl4es" +} diff --git a/app-emulation/box86/metadata.xml b/app-emulation/box86/metadata.xml new file mode 100644 index 0000000000..bba51e27a6 --- /dev/null +++ b/app-emulation/box86/metadata.xml @@ -0,0 +1,15 @@ + + + + + rrogalski@tutanota.com + Richard Rogalski + + + + Enables the dynamic ahead of time recompiler for increased performance on ARM + + + ptitSeb/box86 + + diff --git a/dev-nim/nake/nake-1.9.4.ebuild b/dev-nim/nake/nake-1.9.4-r1.ebuild similarity index 94% rename from dev-nim/nake/nake-1.9.4.ebuild rename to dev-nim/nake/nake-1.9.4-r1.ebuild index 8c3ac2d069..8d024eef45 100644 --- a/dev-nim/nake/nake-1.9.4.ebuild +++ b/dev-nim/nake/nake-1.9.4-r1.ebuild @@ -13,6 +13,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +RDEPEND="dev-libs/libpcre:3" + src_test() { local PATH="${BUILD_DIR}:${PATH}" diff --git a/dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild b/dev-python/pygdbmi/pygdbmi-0.11.0.0-r1.ebuild similarity index 95% rename from dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild rename to dev-python/pygdbmi/pygdbmi-0.11.0.0-r1.ebuild index 296d732890..a5864e1d49 100644 --- a/dev-python/pygdbmi/pygdbmi-0.11.0.0.ebuild +++ b/dev-python/pygdbmi/pygdbmi-0.11.0.0-r1.ebuild @@ -16,7 +16,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND="" +RDEPEND="sys-devel/gdb" DEPEND="${RDEPEND}" distutils_enable_tests pytest diff --git a/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild index 9a8d154f02..482a395b51 100644 --- a/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild +++ b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild @@ -38,12 +38,13 @@ EPYTEST_DESELECT=( distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-autoapi \ - dev-python/sphinx-notfound-page \ - dev-python/sphinx-prompt \ - dev-python/sphinx-tabs \ - dev-python/sphinx-version-warning \ - dev-python/sphinx-rtd-theme \ - dev-python/sphinxcontrib-bibtex \ - dev-python/sphinxemoji +# Bug #883189 +#distutils_enable_sphinx docs \ +# dev-python/sphinx-autoapi \ +# dev-python/sphinx-notfound-page \ +# dev-python/sphinx-prompt \ +# dev-python/sphinx-tabs \ +# dev-python/sphinx-version-warning \ +# dev-python/sphinx-rtd-theme \ +# dev-python/sphinxcontrib-bibtex \ +# dev-python/sphinxemoji diff --git a/dev-util/bash-language-server/Manifest b/dev-util/bash-language-server/Manifest index 83797ff9fe..0797797ff7 100644 --- a/dev-util/bash-language-server/Manifest +++ b/dev-util/bash-language-server/Manifest @@ -1,4 +1,4 @@ -DIST bash-language-server-4.10.0-deps.tar.xz 2218344 BLAKE2B 59b62cc8323befee2fa06cc00242c34d90c191a4655ff2e3c0d7563772b65cd340fb9e65c887d894030819f8d18eb317317387fc197e421c280a2a0e07051d9a SHA512 eb7f476ee64169eb155477de5f0182b904b4bed69866b54c3d44f9dc3245ac4a75c777df21f77367b8e6e771bd75fedaffee5bd50c981ffcabe0d7614492569b -DIST bash-language-server-4.10.0.tgz 192648 BLAKE2B 865ed6ebb23ac9974de295dd10c664caf25d2f58b1e180a3f343673e4de7e7d9de9254ecb1ecf4b184b442120de7d45465b7f80717f6e4c3de3c359073bb6385 SHA512 306adffaf6eed4741adadf01450435463b6bc9638ec73ba6a72bafd1018da4c1871a61e3e25bf68888ad35ab1ea3672e53243f7152d9923e8b327019979901c9 DIST bash-language-server-4.10.1-deps.tar.xz 2219720 BLAKE2B ad855946c2ce535bc49a0ac889be82b83953304d1dea91637bcb68d11b5845f2761795be23af3406e10f2271ddf12c5664c3a9066218c5325d61aaa01f422a32 SHA512 905a91219e38dbda0bbb032f8ee04240517573a8b12f118777ec0e6a1a55fb972f1c679dd999132024d6289f3b73db837fdd17d3e9373a334928996c6a7bf9f6 DIST bash-language-server-4.10.1.tgz 192886 BLAKE2B e1594531dcd0db241416aa25475b5fa5db11a66eca40fbe5f8f7efb1ca0eb8009ec719a03b8e782c80faf2a048b0974e8d5749854d0653e63b427a4b0f012b30 SHA512 c8d1c0a4d6549deb510bcc3a1a2a06752fc7acdaf7a5e70c4d35dbdb461934bc6a03bd077d4c13dfb1adb3e90267a5cb1047df9302f98fa3edde7cc00816556b +DIST bash-language-server-4.10.2-deps.tar.xz 2222584 BLAKE2B aef78fff4beb736694d7319a23c991364603c34c1c1f32c75eb0e4fa99945175830723497a4fa9d485951bbfd74a4fddf3c1fa68d7e2a6e97af7fb9471d769e9 SHA512 70b140a7d15d0f492627334172e254f91742f7b403c91ecfd4668de28357e8f9607feae53482371efd05ea7098d8c6f1c0a12dd63cd48c2a262ade545c8e6335 +DIST bash-language-server-4.10.2.tgz 192887 BLAKE2B 71f3a648ac62e359e6b338d7a587f535c04ec4f77f1b7b2a5a36bfde5960cc3b4e3b0fb34224fdde7a864b0c7f6451fe6ec6a5473cb746ff795bdd32027341f8 SHA512 3672c82c264b23e7858f5a3298145383ee826d9d43d22361ded7acf75cac34513efcb0949a3e6a52dbe45261c881c0b30b8d0a4e5a26f82ae3d9a2b0cd2f4368 diff --git a/dev-util/bash-language-server/bash-language-server-4.10.0.ebuild b/dev-util/bash-language-server/bash-language-server-4.10.2.ebuild similarity index 93% rename from dev-util/bash-language-server/bash-language-server-4.10.0.ebuild rename to dev-util/bash-language-server/bash-language-server-4.10.2.ebuild index 344c04d3ec..792e8acc60 100644 --- a/dev-util/bash-language-server/bash-language-server-4.10.0.ebuild +++ b/dev-util/bash-language-server/bash-language-server-4.10.2.ebuild @@ -24,8 +24,8 @@ LICENSE=" SLOT="0" KEYWORDS="~amd64" -RDEPEND="net-libs/nodejs" -BDEPEND="net-libs/nodejs[npm]" +RDEPEND=">=net-libs/nodejs-18.16.18" +BDEPEND=">=net-libs/nodejs-18.16.18[npm]" src_unpack() { cd "${T}" || die "Could not cd to temporary directory" diff --git a/dev-util/lottieconverter/Manifest b/dev-util/lottieconverter/Manifest new file mode 100644 index 0000000000..349cc9c0c4 --- /dev/null +++ b/dev-util/lottieconverter/Manifest @@ -0,0 +1 @@ +DIST lottieconverter-0.2.tar.gz 343708 BLAKE2B a4dcd785fc742b382ba853fa40ad05094830349323a372f5c30286c75c2aee5c97c88742b58783309eb294a4da586aaf2a8e172f85d6d4fb5d2dc6994e539e6d SHA512 163c38c3588b20d58ff8c896b8656cbc27e21ec30ef33b24ddd70a993113c1a2a9e24045f6d9aa9b420f642ba50b9e4a12350e6fbbe520099e54fbcd9b90e99a diff --git a/dev-util/lottieconverter/lottieconverter-0.2.ebuild b/dev-util/lottieconverter/lottieconverter-0.2.ebuild new file mode 100644 index 0000000000..a88add7c16 --- /dev/null +++ b/dev-util/lottieconverter/lottieconverter-0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Simple lottie (telegram animated sticker) converter." +HOMEPAGE="https://github.com/sot-tech/LottieConverter" +SRC_URI="https://github.com/sot-tech/${PN}/archive/refs/tags/r${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +S="${WORKDIR}/LottieConverter-r0.2" + +DEPEND="media-libs/rlottie media-libs/libpng media-libs/giflib" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + # -DSYSTEM_PNG=0 -DSYSTEM_RL=1 -DSYSTEM_GL=0 + local mycmakeargs=(-DSYSTEM_PNG=1 -DSYSTEM_RL=1 -DSYSTEM_GL=1) + cmake_src_configure +} + +src_install() { + dobin "${S}_build/lottieconverter" +} diff --git a/dev-util/lottieconverter/metadata.xml b/dev-util/lottieconverter/metadata.xml new file mode 100644 index 0000000000..1ebde9a647 --- /dev/null +++ b/dev-util/lottieconverter/metadata.xml @@ -0,0 +1,11 @@ + + + + + rrogalski@tutanota.com + Richard Rogalski + + + sot-tech/LottieConverter + + diff --git a/dev-util/lua-language-server/Manifest b/dev-util/lua-language-server/Manifest index 1e93282188..1a84e70623 100644 --- a/dev-util/lua-language-server/Manifest +++ b/dev-util/lua-language-server/Manifest @@ -1 +1 @@ -DIST lua-language-server-3.6.22.zip 31238168 BLAKE2B dfd357d979b48f241146d546b754cfaa0a4e5b4675da942f28730de2616a284cee0a8d53020d75d74912e60830c0bdd8f69a50e5b64d4e09e13a73bb0cd8be9c SHA512 13ad6d4e74a5e7ccb124b8389c1b88f7bb1697eecb18ca3d176b5f207529cd84b2a6fb178875426e09a7b4db95008b8ccb2eff98f8f7a87ed07bf5fbdebc6309 +DIST lua-language-server-3.6.23.zip 31241611 BLAKE2B 59ead98e1c95170f7739e5b8812dd3d7db9de8e101e90feee70cb55996b09dfc2aac64be8c9b0349b9b78fa93958b25ca7abba0aa3b12690f3a064ddc60b2364 SHA512 1c69ffd08fa8c7e8a93d3373080e79228a38544776dc41af7b4fbea011d8d6194d75111ce9edac0ef15563316486b95f345b3a8b0cfa762c770258b21ef66f7a diff --git a/dev-util/lua-language-server/lua-language-server-3.6.22.ebuild b/dev-util/lua-language-server/lua-language-server-3.6.23.ebuild similarity index 100% rename from dev-util/lua-language-server/lua-language-server-3.6.22.ebuild rename to dev-util/lua-language-server/lua-language-server-3.6.23.ebuild diff --git a/games-puzzle/atris/atris-1.0.7.ebuild b/games-puzzle/atris/atris-1.0.7.ebuild index dc61f8b204..1d21cf5914 100644 --- a/games-puzzle/atris/atris-1.0.7.ebuild +++ b/games-puzzle/atris/atris-1.0.7.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop +inherit autotools desktop DESCRIPTION="Alizarin tetris" HOMEPAGE="https://www.wkiri.com/projects/atris/" @@ -26,8 +26,14 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-fno-common.patch "${FILESDIR}"/${P}-path-and-fullscreen.patch + "${FILESDIR}"/${P}-no-implicit.patch ) +src_prepare() { + default + eautoreconf +} + src_install() { dobin atris insinto /usr/share/${PN} diff --git a/games-puzzle/atris/files/atris-1.0.7-no-implicit.patch b/games-puzzle/atris/files/atris-1.0.7-no-implicit.patch new file mode 100644 index 0000000000..68c796f2be --- /dev/null +++ b/games-puzzle/atris/files/atris-1.0.7-no-implicit.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -69,7 +69,7 @@ + :, + AC_MSG_ERROR([*** SDL version $SDL_VERSION not found! Get it from http://www.libsdl.org ]) + ) +-CFLAGS="$CFLAGS -Wall -Wimplicit -Wsign-compare -Wpointer-arith $SDL_CFLAGS -DATRIS_LIBDIR=\\\"$GAME_INSTALLDIR\\\"" ++CFLAGS="$CFLAGS -Wall -Wsign-compare -Wpointer-arith $SDL_CFLAGS -DATRIS_LIBDIR=\\\"$GAME_INSTALLDIR\\\"" + LIBS="$LIBS $SDL_LIBS" + + # Finally create all the generated files diff --git a/games-util/HeroicGamesLauncher-bin/files/HeroicGamesLauncher-gamescope.desktop b/games-util/HeroicGamesLauncher-bin/files/HeroicGamesLauncher-gamescope.desktop index 8b7836f917..5defa7da26 100644 --- a/games-util/HeroicGamesLauncher-bin/files/HeroicGamesLauncher-gamescope.desktop +++ b/games-util/HeroicGamesLauncher-bin/files/HeroicGamesLauncher-gamescope.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=Heroic Games Launcher (Gamescope) -Exec=env GDK_BACKEND=wayland gamescope -w 1920 -h 1080 -f -Y -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --sharpness 15 -- /opt/heroic/heroic --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations +Exec=env GDK_BACKEND=wayland gamescope -w 1920 -h 1080 -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --sharpness 15 -- /opt/heroic/heroic --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations Terminal=false Type=Application Icon=heroic diff --git a/gui-apps/fnott/Manifest b/gui-apps/fnott/Manifest index d54eeb504e..1c7d5ea296 100644 --- a/gui-apps/fnott/Manifest +++ b/gui-apps/fnott/Manifest @@ -1,2 +1,3 @@ DIST fnott-1.2.1.tar.gz 377573 BLAKE2B ed167a7a8d069c75acc8cf7c8ad80afb88b2ed13f590b61f70cd6b8355c77ae25bd95f7401388dbf4650311e8514a9e0c52fa13f500eb18c4f9f0de79de78884 SHA512 7818a01893dd2e8ea7a55355981f83e2d358ce68e36af81fe062c05e1a3405662fb5e221a0509b7212c57ce431e3591d6e4c5d2a1242f2b76c48a00c66e23932 DIST fnott-1.3.0.tar.gz 380852 BLAKE2B ba1ef8210ec9ade6dbaa7a3f3e7ad6e283a8838b11e845e7dae481c0429e64984778a3add947b53a6c32be7c8ec630846c1fd7c2a99e56ec3126083a42787808 SHA512 701823cc50e8432b72e1b17ffb62cd3de7b7e6d08e571c2fbe301bd024820eb72dcb49d9d2e07cf62a81b27175072683dec54d9d8ac9fec0dda0cdf90a23d8c0 +DIST fnott-1.4.1.tar.gz 472835 BLAKE2B f91e6ae87eba6fc4db2aedb1807eabead3a94edb2b32ce481a7901b73088e0197d2029d798e087627a594db4ffe5500afb619a8f54c539e7ce45549a6d04fda7 SHA512 130ec5cd8897cc6ee171a09ea786c6cef1d042f7b8830ec3b1e05668f33b9ebc2a56f77f09fab3ff9c9b8f91fda39fca8213daf5afb470b807331e701feb4202 diff --git a/gui-apps/fnott/fnott-1.4.1.ebuild b/gui-apps/fnott/fnott-1.4.1.ebuild new file mode 100644 index 0000000000..65451529a2 --- /dev/null +++ b/gui-apps/fnott/fnott-1.4.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Keyboard driven and lightweight Wayland notification daemon." +HOMEPAGE="https://codeberg.org/dnkl/fnott" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fnott.git" +else + SRC_URI="https://codeberg.org/dnkl/fnott/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + KEYWORDS="~amd64" +fi + +LICENSE="MIT ZLIB" +SLOT="0" + +DEPEND=" + x11-libs/pixman + media-libs/libpng + dev-libs/wayland + sys-apps/dbus + media-libs/fcft + media-libs/freetype + media-libs/fontconfig +" +RDEPEND="${DEPEND} +" +BDEPEND=" + dev-util/wayland-scanner + dev-libs/wayland-protocols + app-text/scdoc + dev-libs/tllist +" + +src_install() { + local DOCS=( CHANGELOG.md README.md LICENSE ) + meson_src_install + + rm -r "${ED}"/usr/share/doc/"${PN}" || die +} diff --git a/gui-apps/fuzzel/Manifest b/gui-apps/fuzzel/Manifest index b3c27f3e9d..442d8f5f25 100644 --- a/gui-apps/fuzzel/Manifest +++ b/gui-apps/fuzzel/Manifest @@ -1,2 +1 @@ -DIST fuzzel-1.8.2.tar.gz 426759 BLAKE2B 107b59afa4bac54d27e679d484e3ff9c87c62c0934a6ed93e17e5c0c498d46c38174ad6e5c91aa1ef1018171f5833011b3ccb1173b59812219009257e4240b46 SHA512 53a7fd1e6fa44c702d7819970d0e55a35bd75ad5f61beb2de5e5f8007b864792af2dab93aba7defd063e117e7c3723fbfcd4df9ef0b3680ba2219aefde4a9982 -DIST fuzzel-1.9.1.tar.gz 431460 BLAKE2B 3e066c7b8050644c4e18f76e01a16c923ed6a37e09231343cdae824aa1c18de85c509d6c2ea8efd293a7704629f3885ae5a9312eadadcd4783cfdf4bf3d624e3 SHA512 73d531c34ad9b166745e6c0125f45d579ed13adc26f23252a26659be2e0517e6b1c526a5076f8dd8d19a0bb02b5b0dc66c9deb7433cf86912a4a533d99f74a0c +DIST fuzzel-1.9.2.tar.gz 433292 BLAKE2B 7b0533f7bb705b330e9c5c0fb89831283cc5e349891408d398d26f20c7c78c599ae28c18e92379df8888a8099ec4b7736ea356b6342ff3b1c3fde57085580f23 SHA512 a92f0b6eb9470aa099651c2f5d095986347565bbd7366bffe0719801dbb1ae4f7e413460c59872d40e910bb1d3bc8195e9d9038a73c2de835bcda77f9372b393 diff --git a/gui-apps/fuzzel/fuzzel-1.9.1.ebuild b/gui-apps/fuzzel/fuzzel-1.9.1.ebuild deleted file mode 100644 index 3e66166046..0000000000 --- a/gui-apps/fuzzel/fuzzel-1.9.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://codeberg.org/dnkl/fuzzel.git" -else - SRC_URI="https://codeberg.org/dnkl/fuzzel/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}" -fi - -DESCRIPTION="Application launcher for wlroots based Wayland compositors." -HOMEPAGE="https://codeberg.org/dnkl/fuzzel" -LICENSE="MIT" -SLOT="0" -IUSE="cairo png svg" - -DEPEND=" - dev-libs/wayland - =media-libs/fcft-3.0.0 - x11-libs/libxkbcommon - x11-libs/pixman - cairo? ( x11-libs/cairo ) - png? ( media-libs/libpng ) - svg? ( gnome-base/librsvg ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-text/scdoc - >=dev-libs/tllist-1.0.1 - dev-libs/wayland-protocols - dev-util/wayland-scanner -" - -src_configure() { - local emesonargs=( - -Dpng-backend=$(usex png libpng none) - -Dsvg-backend=$(usex svg librsvg none) - $(meson_feature cairo enable-cairo) - ) - meson_src_configure -} - -src_install() { - meson_src_install - rm -rf "${ED}/usr/share/doc/fuzzel" || die -} diff --git a/gui-apps/fuzzel/fuzzel-1.8.2.ebuild b/gui-apps/fuzzel/fuzzel-1.9.2.ebuild similarity index 100% rename from gui-apps/fuzzel/fuzzel-1.8.2.ebuild rename to gui-apps/fuzzel/fuzzel-1.9.2.ebuild diff --git a/gui-libs/libdecor/Manifest b/gui-libs/libdecor/Manifest new file mode 100644 index 0000000000..c0eb0f8534 --- /dev/null +++ b/gui-libs/libdecor/Manifest @@ -0,0 +1 @@ +DIST libdecor-0.1.1.tar.bz2 37286 BLAKE2B 32a0ef9711fc0b830f2b2997a05e2ac8ce60ef6f972d8a4c17cebe987b49828c81f3888e42dde0627ce71dbc825ddfd336be3f591ca1f76168c3efd13c2e24ae SHA512 3a5a293a58d40a1d5377912c90ede7670caffbb6b4539ffb00f33667fd84ecaf8a90e05100ddc22c4af34482aac8d2deb67ba25ddbede67e7952b1054e359409 diff --git a/gui-libs/libdecor/libdecor-0.1.1.ebuild b/gui-libs/libdecor/libdecor-0.1.1.ebuild new file mode 100644 index 0000000000..031c890807 --- /dev/null +++ b/gui-libs/libdecor/libdecor-0.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="A client-side decorations library for Wayland clients" +HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor" +SRC_URI="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+dbus examples" + +DEPEND=" + >=dev-libs/wayland-1.18 + >=dev-libs/wayland-protocols-1.15 + x11-libs/pango + dbus? ( sys-apps/dbus ) + examples? ( + virtual/opengl + media-libs/mesa[egl(+)] + x11-libs/libxkbcommon + ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + # Avoid auto-magic, built-in feature of meson + -Dauto_features=disabled + + $(meson_feature dbus) + $(meson_use examples demo) + -Dinstall_demo=true + ) + + meson_src_configure +} diff --git a/gui-libs/libdecor/libdecor-9999.ebuild b/gui-libs/libdecor/libdecor-9999.ebuild new file mode 100644 index 0000000000..3dcc9ad2ce --- /dev/null +++ b/gui-libs/libdecor/libdecor-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson git-r3 + +DESCRIPTION="A client-side decorations library for Wayland clients" +HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor" +EGIT_REPO_URI="https://gitlab.freedesktop.org/libdecor/libdecor.git" + +LICENSE="MIT" +SLOT="0" +IUSE="+dbus examples" + +DEPEND=" + >=dev-libs/wayland-1.18 + >=dev-libs/wayland-protocols-1.15 + x11-libs/pango + dbus? ( sys-apps/dbus ) + examples? ( + virtual/opengl + media-libs/mesa[egl(+)] + x11-libs/libxkbcommon + ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + # Avoid auto-magic, built-in feature of meson + -Dauto_features=disabled + + $(meson_feature dbus) + $(meson_use examples demo) + -Dinstall_demo=true + ) + + meson_src_configure +} diff --git a/gui-libs/libdecor/metadata.xml b/gui-libs/libdecor/metadata.xml new file mode 100644 index 0000000000..fce1053054 --- /dev/null +++ b/gui-libs/libdecor/metadata.xml @@ -0,0 +1,11 @@ + + + + + Enable dbus to query current cursor theme + Build and install examples + + + libdecor/libdecor + + \ No newline at end of file diff --git a/media-sound/qpwgraph/Manifest b/media-sound/qpwgraph/Manifest index 4dbc81e33f..0ccabec61d 100644 --- a/media-sound/qpwgraph/Manifest +++ b/media-sound/qpwgraph/Manifest @@ -1 +1 @@ -DIST qpwgraph-0.3.9.tar.bz2 448732 BLAKE2B 68415f75accf29da138367239755375affbe585a469bbaf387a942c34a7f6a866dc38e276ba7ae659adf9ee26996cce08fa0da53734c943baf82c4b74a1cdcda SHA512 c8fba3edd93dd466a5f1655e1ff260cbdd054ba13a962afb5f2ba8634eb850f748faac0b6073576090c4e31520ea634e08d1d746809563a887ffc701ffa4b30a +DIST qpwgraph-0.4.4.tar.bz2 452078 BLAKE2B c20400f4535bdb5986ff73850984d86e57ccbf3adb05692f5dee8c39d3c0c8d9af0fc84e7de66d702f3ddbd9d6807812fe66bc8fc222eb39519ed629b5e50afc SHA512 ed64e290e2dab7b0a2d04fe938e0f2a2ac5ad2dc7ccf6d7940c8a1e7d8552304c24f396e26dedea8a99010b7b7c6ab5c935a4383d5d56ed9f66e8c9efd299a29 diff --git a/media-sound/qpwgraph/qpwgraph-0.3.9.ebuild b/media-sound/qpwgraph/qpwgraph-0.4.4.ebuild similarity index 100% rename from media-sound/qpwgraph/qpwgraph-0.3.9.ebuild rename to media-sound/qpwgraph/qpwgraph-0.4.4.ebuild diff --git a/net-im/go-sendxmpp/Manifest b/net-im/go-sendxmpp/Manifest index bb342419e3..d1633e7d6a 100644 --- a/net-im/go-sendxmpp/Manifest +++ b/net-im/go-sendxmpp/Manifest @@ -1,4 +1,4 @@ -DIST go-sendxmpp-0.5.5-vendor.tar.xz 1352944 BLAKE2B 5bfd87286989b73f59e24576d550daaaa5e305c6066f9bfcc319d4e54c756ffd170bf3313159e1c8bb9a2fc73978057830837ff7fb997095e3bdcea2b323b26b SHA512 bc10809b90e69ebf8efb716b362cd249ac460b40e910242fc4cc06bf08b061e88d6177121b269fa87dd616c66da9dadc72391d1de576b344a09576f5e01867b6 -DIST go-sendxmpp-0.5.5.tar.bz2 28743 BLAKE2B a25f569486e130a055f576de12b12ac0d426a22a87da77ae2cfb97a4189cd89359fc00ba0b55a3bcd80c702c3fda705da46817277cebc09f0dd2d6178a044dd9 SHA512 30f8dff625ffa9be83ffcbd0d4a0f5ea28476894a61d7ac7bee3757447a064ed1d73175aaa464d5403bb4f28aead63b87bec2f79815f38f399a17646dff56448 DIST go-sendxmpp-0.5.6-vendor.tar.xz 1381836 BLAKE2B 1854a7d8fe37da69020c9f9e5df85abd12dde180c27b5242dd2bcf9ae0c7b6dec750dc22dbcdcf39b6ab2a7da89c1c5fe0eb330fa07af731bb7bda4ba40510d2 SHA512 eeaf60e6d0a82ed38d4ee0c3f95822d5d4b1e48f220e19d16f59602a822a27b6041b66abbca20e405aaf95f7e77e17a3e5715a4af444137653c1da7ac5914e54 DIST go-sendxmpp-0.5.6.tar.bz2 28854 BLAKE2B 30932bc6f6c5665b59f2c3b1586ed7eb6f959b8a08cb861cf136612152c36999bda05727994a5583aa56f0c987f357c9e01d2c6392204c68339e6dd9d92b0c71 SHA512 a5d1241db6fd40a87ec46d5878d9e3f663614d76e6f375cb0f9a208c3960cc3661ac3bd5967cf6f6991c0b408a64facadab36642720a5387644d55fd774c0792 +DIST go-sendxmpp-0.6.0-vendor.tar.xz 1387104 BLAKE2B de7eed4eb45bb12199f3eb92ac2d84a0d6ee9ad648b6d0d5a70f059c510bdd317d5ff60345a443d03f5b02f72048f7962b73a635449a0818a4f30fcd5513c550 SHA512 c396cfacb92723285f3eee410a17ac6e7bae346e1783cf14ae812cd6809cf76cbfec2d37461617ce9938461df6a2387bb54570eca67434bb343d383cdf45857e +DIST go-sendxmpp-0.6.0.tar.bz2 30272 BLAKE2B 488caef5d0f5d1f7b248d6374588e8f640684b7b95d87e26f99e8653123715a682e3e89e065c5751e28619f5e07230f04d8a5032a5b3b666ad657f3447884044 SHA512 2f11a72650ef32c5fb2caacc68b3d331025d651d858ba50632914c467a9108366f5bb6c1dd938bd7e3869ef014bba60595c8b82bdb3ae8797159fd048cfd828d diff --git a/net-im/go-sendxmpp/go-sendxmpp-0.5.5.ebuild b/net-im/go-sendxmpp/go-sendxmpp-0.6.0.ebuild similarity index 74% rename from net-im/go-sendxmpp/go-sendxmpp-0.5.5.ebuild rename to net-im/go-sendxmpp/go-sendxmpp-0.6.0.ebuild index bea4ccb3b4..5d3cadb774 100644 --- a/net-im/go-sendxmpp/go-sendxmpp-0.5.5.ebuild +++ b/net-im/go-sendxmpp/go-sendxmpp-0.6.0.ebuild @@ -1,10 +1,13 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module +# NOTE: To create the vendor tarball, run: +# `go mod vendor && cd .. && tar -caf ${P}-vendor.tar.xz ${P/-0/-v0}/vendor` + DESCRIPTION="A little tool to send messages to an XMPP contact or MUC" HOMEPAGE="https://salsa.debian.org/mdosch/go-sendxmpp" SRC_URI=" @@ -13,7 +16,7 @@ SRC_URI=" " S="${WORKDIR}/${PN}-v${PV}" -LICENSE="BSD-2 BSD MIT MIT-with-advertising" +LICENSE="BSD-2 BSD MIT" SLOT="0" KEYWORDS="~amd64" diff --git a/net-im/go-sendxmpp/metadata.xml b/net-im/go-sendxmpp/metadata.xml index b8a1cfeae3..8e60416f4a 100644 --- a/net-im/go-sendxmpp/metadata.xml +++ b/net-im/go-sendxmpp/metadata.xml @@ -1,10 +1,6 @@ - - gentoo@tastytea.de - tastytea - https://salsa.debian.org/mdosch/go-sendxmpp/-/issues diff --git a/net-im/mautrix-discord/mautrix-discord-0.4.0-r1.ebuild b/net-im/mautrix-discord/mautrix-discord-0.4.0-r1.ebuild new file mode 100644 index 0000000000..e0b34adae8 --- /dev/null +++ b/net-im/mautrix-discord/mautrix-discord-0.4.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="A Matrix-Discord puppeting bridge" +HOMEPAGE="https://github.com/mautrix/discord" +SRC_URI="https://github.com/mautrix/discord/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://jroy.ca/dist/${P}.tar.xz +" +S="${WORKDIR}/discord-${PV}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/${PN} + dev-libs/olm + dev-util/lottieconverter +" +DEPEND="${RDEPEND}" + +src_compile() { + ego build +} + +src_install() { + dobin mautrix-discord + + keepdir /var/log/mautrix/discord + fowners -R root:mautrix /var/log/mautrix + fperms -R 770 /var/log/mautrix + sed -i -e "s/\.\/logs/\/var\/log\/${PN/-/\\\/}/" "example-config.yaml" || die + + insinto "/etc/mautrix" + newins "example-config.yaml" "${PN/-/_}.yaml" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners -R root:mautrix /etc/mautrix + fperms -R 770 /etc/mautrix +} + +pkg_postinst() { + einfo + elog "" + elog "Before you can use ${PN}, you must configure it correctly" + elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\"" + elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}" + elog "Then, you must register the bridge with your homeserver" + elog "Refer your homeserver's documentation for instructions" + elog "The registration file is located at /var/lib/${PN/-/\/}/registration.yaml" + elog "Finally, you may start the ${PN} daemon" + einfo +} + +pkg_config() { + su - "${PN}" -s /bin/sh -c \ + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" +} diff --git a/net-im/mautrix-discord/mautrix-discord-0.4.0.ebuild b/net-im/mautrix-discord/mautrix-discord-0.4.0.ebuild index b1edd45144..a2c6ca47db 100644 --- a/net-im/mautrix-discord/mautrix-discord-0.4.0.ebuild +++ b/net-im/mautrix-discord/mautrix-discord-0.4.0.ebuild @@ -59,5 +59,5 @@ pkg_postinst() { pkg_config() { su - "${PN}" -s /bin/sh -c \ - "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" } diff --git a/net-im/mautrix-discord/mautrix-discord-0.5.0-r1.ebuild b/net-im/mautrix-discord/mautrix-discord-0.5.0-r1.ebuild new file mode 100644 index 0000000000..e0b34adae8 --- /dev/null +++ b/net-im/mautrix-discord/mautrix-discord-0.5.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="A Matrix-Discord puppeting bridge" +HOMEPAGE="https://github.com/mautrix/discord" +SRC_URI="https://github.com/mautrix/discord/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://jroy.ca/dist/${P}.tar.xz +" +S="${WORKDIR}/discord-${PV}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/${PN} + dev-libs/olm + dev-util/lottieconverter +" +DEPEND="${RDEPEND}" + +src_compile() { + ego build +} + +src_install() { + dobin mautrix-discord + + keepdir /var/log/mautrix/discord + fowners -R root:mautrix /var/log/mautrix + fperms -R 770 /var/log/mautrix + sed -i -e "s/\.\/logs/\/var\/log\/${PN/-/\\\/}/" "example-config.yaml" || die + + insinto "/etc/mautrix" + newins "example-config.yaml" "${PN/-/_}.yaml" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners -R root:mautrix /etc/mautrix + fperms -R 770 /etc/mautrix +} + +pkg_postinst() { + einfo + elog "" + elog "Before you can use ${PN}, you must configure it correctly" + elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\"" + elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}" + elog "Then, you must register the bridge with your homeserver" + elog "Refer your homeserver's documentation for instructions" + elog "The registration file is located at /var/lib/${PN/-/\/}/registration.yaml" + elog "Finally, you may start the ${PN} daemon" + einfo +} + +pkg_config() { + su - "${PN}" -s /bin/sh -c \ + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" +} diff --git a/net-im/mautrix-discord/mautrix-discord-0.5.0.ebuild b/net-im/mautrix-discord/mautrix-discord-0.5.0.ebuild index b1edd45144..a2c6ca47db 100644 --- a/net-im/mautrix-discord/mautrix-discord-0.5.0.ebuild +++ b/net-im/mautrix-discord/mautrix-discord-0.5.0.ebuild @@ -59,5 +59,5 @@ pkg_postinst() { pkg_config() { su - "${PN}" -s /bin/sh -c \ - "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" } diff --git a/net-misc/openbgpd/Manifest b/net-misc/openbgpd/Manifest index 41c12287e3..9b118b62d2 100644 --- a/net-misc/openbgpd/Manifest +++ b/net-misc/openbgpd/Manifest @@ -1,2 +1,2 @@ -DIST openbgpd-6.8p0.tar.gz 701164 BLAKE2B 458e3aeab026b3c2ee3f676d35d657ef2b8b9b2cb11efc6a32f18c387e6f08594fa3e736b53f9413e9ec59139adfd3c89d26da780bcdcb4b2925124cf9a1ea05 SHA512 0c99a94a9a1401c22a3400d424ac1e682bdab92d09844717f8bb576c0ede67140d918f48c15b318abebf21b39468333f8f1c2d963a1541f4ead9067f85434a94 DIST openbgpd-6.9p0.tar.gz 719173 BLAKE2B 13360fdec909fbb18e4b9f71cb6751c406bb58a685d51bbb9caa38302f4dd1d91ba7a3ed90eac308f57851410fdf9b21652266f29488f086bba4b3ec24844efe SHA512 ba6f73aeb03e798fd081f67fc500d24e0b2efdb9564fe5f294460abc8e66762692177a1238f8f0372ca74e0ad9c11aa9f640e50cd0978198639655b3985240bc +DIST openbgpd-8.0.tar.gz 837979 BLAKE2B 64c9ea56e1e9944271d3ab72e2eed738841c3e2904b919f987a52e1adf95b137c20d31a738595ff48a113cdde603e8e5aac2cb4d0c7f7e17399111358b0e7a72 SHA512 9d0c8b6e8c3d46b2510817c750e2faf1e79609becbe66eb02731317db3c2c455273a1135abfae3d32bcc970e02f55c90091e478334ec94dcd46ba5074d3b9b12 diff --git a/net-misc/openbgpd/files/openbgpd-6.6_p0-config.c.patch b/net-misc/openbgpd/files/openbgpd-6.6_p0-config.c.patch deleted file mode 100644 index 32be6531f9..0000000000 --- a/net-misc/openbgpd/files/openbgpd-6.6_p0-config.c.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100 -+++ b/src/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100 -@@ -343,7 +343,8 @@ - fatal("getifaddrs"); - - for (ifa = ifap; ifa; ifa = ifa->ifa_next) { -- if (ifa->ifa_addr->sa_family != AF_INET) -+ if (ifa->ifa_addr == NULL || -+ ifa->ifa_addr->sa_family != AF_INET) - continue; - cur = ((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr; - if ((cur & localnet) == localnet) /* skip 127/8 */ diff --git a/net-misc/openbgpd/openbgpd-6.8_p0.ebuild b/net-misc/openbgpd/openbgpd-8.0.ebuild similarity index 86% rename from net-misc/openbgpd/openbgpd-6.8_p0.ebuild rename to net-misc/openbgpd/openbgpd-8.0.ebuild index fc029efd14..f6272cfcbd 100644 --- a/net-misc/openbgpd/openbgpd-6.8_p0.ebuild +++ b/net-misc/openbgpd/openbgpd-8.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic systemd +inherit systemd MY_PV="${PV/_p/p}" MY_P="${PN}-${MY_PV}" @@ -20,7 +20,7 @@ IUSE="" DEPEND="" RDEPEND=" ${DEPEND} - !!net-misc/quagga + !!net-misc/frr acct-group/_bgpd acct-user/_bgpd " @@ -38,11 +38,6 @@ src_install() { systemd_newunit "${FILESDIR}/${PN}.service" bgpd.service } -src_configure() { - append-cflags -fcommon - default -} - pkg_postinst() { if [ -z "${REPLACING_VERSIONS}" ]; then ewarn "" diff --git a/net-news/newsraft/Manifest b/net-news/newsraft/Manifest new file mode 100644 index 0000000000..12e2284641 --- /dev/null +++ b/net-news/newsraft/Manifest @@ -0,0 +1 @@ +DIST newsraft-0.19.tar.gz 175794 BLAKE2B 6d665c0bf56da68e123e4662cbdc857599206f9a90e753c7d0f16ffdea2b0f67d4a338f7954eb5f5f2426e1ae7238f64623939f11e5a07e37846e7c11d76c293 SHA512 d9f59f500891b37ef15796a8ec66a5249c3ef3cc5112d2230bf1f606d78f7332ccc17d5846bf9c30a268951059d3a805de651c2b8c3a607572f59126b3d308f0 diff --git a/net-news/newsraft/newsraft-0.19.ebuild b/net-news/newsraft/newsraft-0.19.ebuild new file mode 100644 index 0000000000..750cc84726 --- /dev/null +++ b/net-news/newsraft/newsraft-0.19.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat." +HOMEPAGE="https://codeberg.org/grisha/newsraft" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/grisha/newsraft.git" +else + SRC_URI="https://codeberg.org/grisha/newsraft/archive/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +LICENSE="ISC" +SLOT="0" + +DEPEND=" + dev-db/sqlite:3 + dev-libs/expat + dev-libs/gumbo + dev-libs/yajl + net-misc/curl + sys-libs/ncurses +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/scdoc + virtual/pkgconfig +" + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + einstalldocs +} diff --git a/net-news/newsraft/newsraft-9999.ebuild b/net-news/newsraft/newsraft-9999.ebuild new file mode 100644 index 0000000000..750cc84726 --- /dev/null +++ b/net-news/newsraft/newsraft-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat." +HOMEPAGE="https://codeberg.org/grisha/newsraft" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/grisha/newsraft.git" +else + SRC_URI="https://codeberg.org/grisha/newsraft/archive/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +LICENSE="ISC" +SLOT="0" + +DEPEND=" + dev-db/sqlite:3 + dev-libs/expat + dev-libs/gumbo + dev-libs/yajl + net-misc/curl + sys-libs/ncurses +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/scdoc + virtual/pkgconfig +" + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + einstalldocs +} diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild index f40ab04a16..802eb86857 100644 --- a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild +++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild @@ -1,9 +1,10 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit desktop xdg-utils -DESCRIPTION="Dogecoin Core Qt 1.14.6 (with Graphical User Interface) with ultra-low transaction fees. Fast and lightweight; the default installation for desktop keeps downloaded blockchain size below 2.2GB, making it ideal for daily transactions, even on systems where disk space could be limited." +WANT_AUTOCONF="2.5" +inherit autotools desktop xdg-utils +DESCRIPTION="Dogecoin Core Qt-GUI for desktop. Keeps downloaded blockchain size below 2.2GB." HOMEPAGE="https://github.com/dogecoin" SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" @@ -14,17 +15,13 @@ KEYWORDS="~amd64" IUSE="cpu_flags_x86_avx2 tests +wallet +prune zmq" DOGEDIR="/opt/${PN}" DEPEND=" + sys-libs/db:"${DB_VER}"=[cxx] dev-libs/libevent:= dev-libs/protobuf dev-libs/openssl sys-devel/libtool sys-devel/automake:= >=dev-libs/boost-1.81.0-r1 - cpu_flags_x86_avx2? ( app-crypt/intel-ipsec-mb ) - wallet? ( - sys-libs/db:"${DB_VER}"=[cxx] - media-gfx/qrencode - ) dev-qt/qtcore dev-qt/qtgui dev-qt/qtwidgets @@ -32,6 +29,8 @@ DEPEND=" dev-qt/qtnetwork dev-qt/qtprintsupport dev-qt/linguist-tools:= + cpu_flags_x86_avx2? ( app-crypt/intel-ipsec-mb ) + wallet? ( media-gfx/qrencode ) zmq? ( net-libs/cppzmq ) " RDEPEND="${DEPEND}" @@ -40,34 +39,40 @@ BDEPEND=" sys-devel/automake " - PATCHES=( - "${FILESDIR}"/"${PV}"-net_processing.patch - "${FILESDIR}"/"${PV}"-paymentserver.patch - "${FILESDIR}"/"${PV}"-transactiondesc.patch - "${FILESDIR}"/"${PV}"-deque.patch - "${FILESDIR}"/"${PV}"-gcc13.patch - ) +PATCHES=( + "${FILESDIR}"/"${PV}"-net_processing.patch + "${FILESDIR}"/"${PV}"-paymentserver.patch + "${FILESDIR}"/"${PV}"-transactiondesc.patch + "${FILESDIR}"/"${PV}"-deque.patch + "${FILESDIR}"/"${PV}"-gcc13.patch +) WORKDIR_="${WORKDIR}/dogecoin-${PV}" S=${WORKDIR_} +src_prepare() { + default + + einfo "Generating autotools files..." + eaclocal -I "${WORKDIR_}" + eautoreconf +} + src_configure() { - chmod 755 ./autogen.sh - ./autogen.sh || die "autogen failed" local my_econf=( --enable-cxx - $(use_with cpu_flags_x86_avx2 intel-avx2) - $(use_with wallet incompatible-bdb) --bindir="${DOGEDIR}/bin" + --with-gui=qt5 + --with-qt-incdir="/usr/include/qt5" + --disable-bench BDB_CFLAGS="-I/usr/include/db${DB_VER}" BDB_LIBS="-L/usr/lib64 -ldb_cxx-${DB_VER}" - --with-gui=qt5 - --with-qt-incdir=/usr/include/qt5 - $(use_enable zmq) + $(use_with cpu_flags_x86_avx2 intel-avx2) $(use_enable wallet) + $(use_enable zmq) $(use_enable tests tests) - --disable-bench ) + econf "${my_econf[@]}" } @@ -79,11 +84,9 @@ src_install() { dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" if use prune ; then - domenu "${FILESDIR}"/"${PN}-prune.desktop" - fi - - if ! use prune ; then - domenu "${FILESDIR}"/"${PN}.desktop" + domenu "${FILESDIR}"/"${PN}-prune.desktop" + else + domenu "${FILESDIR}"/"${PN}.desktop" fi find "${ED}" -type f -name '*.la' -delete || die @@ -101,4 +104,3 @@ pkg_postrm() { xdg_desktop_database_update xdg_mimeinfo_database_update } - diff --git a/net-wireless/rtl8821cu/Manifest b/net-wireless/rtl8821cu/Manifest index 399882072f..3b095d5cff 100644 --- a/net-wireless/rtl8821cu/Manifest +++ b/net-wireless/rtl8821cu/Manifest @@ -1 +1 @@ -DIST rtl8821cu-0_pre20230624.tar.gz 13822129 BLAKE2B 2866228ac37d1922488e484223c1abe66ff4e2233f3e14047ebf2285a354682b3045d8a4035533e958a14fdbe86ddc2e322dc51ef1c7d7672c45f030189ececf SHA512 22e62236344fd229c0751397c75c253cc2175a4a259f4fc54ba4d5cdc54e6c57af18200cb6d0435f863a99a3cf2fc9a0d3a03c0aa1c198850c693ad3c564b7d6 +DIST rtl8821cu-0_pre20230713.tar.gz 13821458 BLAKE2B f72b073ed186c47bf7317680c3be7c54f8fc5b14a695c637bdd5b3de3a7983103a514c637ca936410050be320d903ee4a6e2d76ce2d2119756cd8110bdeacb76 SHA512 00b415cc34c9c26b78cf9e650af4ae1c4e5c75ea4f5df007ee9b509759590ff0b7c8d7b930b5331ae7ff63e1f000e178c790a3a02117d2a671ea23d2bbc485d1 diff --git a/net-wireless/rtl8821cu/rtl8821cu-0_pre20230624.ebuild b/net-wireless/rtl8821cu/rtl8821cu-0_pre20230713.ebuild similarity index 92% rename from net-wireless/rtl8821cu/rtl8821cu-0_pre20230624.ebuild rename to net-wireless/rtl8821cu/rtl8821cu-0_pre20230713.ebuild index f43d0a02fe..58bd208e49 100644 --- a/net-wireless/rtl8821cu/rtl8821cu-0_pre20230624.ebuild +++ b/net-wireless/rtl8821cu/rtl8821cu-0_pre20230713.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit linux-mod-r1 MY_PN="8821cu-20210916" -COMMIT="dc9ee6c6a8b47d0e365fcf1977439c7243da71d5" +COMMIT="e31f613ffa57c20250fc9ad3c4b8dd3ca2fbcc66" DESCRIPTION="Realtek 8821CU/RTL8811CU module for Linux kernel" HOMEPAGE="https://github.com/morrownr/8821cu-20210916" SRC_URI="https://github.com/morrownr/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" diff --git a/sys-firmware/LenovoLegionLinux/LenovoLegionLinux-9999.ebuild b/sys-firmware/LenovoLegionLinux/LenovoLegionLinux-9999.ebuild index 904b0413e7..de5f1723a2 100644 --- a/sys-firmware/LenovoLegionLinux/LenovoLegionLinux-9999.ebuild +++ b/sys-firmware/LenovoLegionLinux/LenovoLegionLinux-9999.ebuild @@ -103,4 +103,8 @@ pkg_postinst() { ewarn "Note the CPU and APU control command both for undervolt an ryzenadj are edit in /etc/legion_linux/.env command" ewarn "Note: use flag downgrade-nvidia in need for nvidia TDP control\n" fi + ewarn "Note for 2023-2023 Legion user: It need help for testing the features" + ewarn "Pls test the feature how is decribe in the README of the project!" + ewarn "and also go to this issue in github: https://github.com/johnfanv2/LenovoLegionLinux/issues/46" + } diff --git a/sys-power/envycontrol/Manifest b/sys-power/envycontrol/Manifest new file mode 100644 index 0000000000..8b60754349 --- /dev/null +++ b/sys-power/envycontrol/Manifest @@ -0,0 +1 @@ +DIST envycontrol-3.2.0.tar.gz 75600 BLAKE2B 8a6cd9c5a08299285a1994bca8a745fe070b4eebd11ebcf70566e797aad66c484918e93f39cad7a8411452ea125a5d5f6812c70c0adf201cf1b50c1e6d2ba91a SHA512 e54e297cc5bf4b3c63143c5aafd05fe9d80ebbec275cb671e0692bb855ab0312196ff74bb789e1902208251640f3a9c35e46dfb7354769169e4363e97e390c08 diff --git a/sys-power/envycontrol/envycontrol-3.2.0.ebuild b/sys-power/envycontrol/envycontrol-3.2.0.ebuild new file mode 100644 index 0000000000..8108e4e67f --- /dev/null +++ b/sys-power/envycontrol/envycontrol-3.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 + +SRC_URI="https://github.com/bayasdev/envycontrol/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Easy GPU switching for Nvidia Optimus laptops under Linux " +HOMEPAGE="https://github.com/bayasdev/envycontrol" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} diff --git a/sys-power/envycontrol/envycontrol-9999.ebuild b/sys-power/envycontrol/envycontrol-9999.ebuild new file mode 100644 index 0000000000..23f9d4b9d6 --- /dev/null +++ b/sys-power/envycontrol/envycontrol-9999.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit git-r3 distutils-r1 + +EGIT_REPO_URI="https://github.com/bayasdev/envycontrol.git" +DESCRIPTION="Easy GPU switching for Nvidia Optimus laptops under Linux" +HOMEPAGE="https://github.com/bayasdev/envycontrol" + +LICENSE="MIT" +SLOT="0" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} diff --git a/sys-power/envycontrol/metadata.xml b/sys-power/envycontrol/metadata.xml new file mode 100644 index 0000000000..383164ce53 --- /dev/null +++ b/sys-power/envycontrol/metadata.xml @@ -0,0 +1,7 @@ + + + + + bayasdev/envycontrol + + diff --git a/sys-power/nvidia-exec/Manifest b/sys-power/nvidia-exec/Manifest new file mode 100644 index 0000000000..ed4550f011 --- /dev/null +++ b/sys-power/nvidia-exec/Manifest @@ -0,0 +1 @@ +DIST nvidia-exec-0.1.1.tar.gz 17096 BLAKE2B d1711740cb07c73735d9c20292c652ea10b527e2d0b5143fa192498e282d7bb1af183f6355cde7c96b5041d614819f5f166bace2ec54abab8c269192947e7412 SHA512 8ab439c086aee9abd7eb4c8f87c1577ab91084d6b685ddf487762abd36cd2dca250e6c799184de3cb58d0b2de239a55a873578e772c619a4c9002f45cef5f996 diff --git a/sys-power/nvidia-exec/metadata.xml b/sys-power/nvidia-exec/metadata.xml new file mode 100644 index 0000000000..e93137094e --- /dev/null +++ b/sys-power/nvidia-exec/metadata.xml @@ -0,0 +1,8 @@ + + + + + pedro00dk/nvidia-exec + + + diff --git a/sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild b/sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild new file mode 100644 index 0000000000..34cdc38b9f --- /dev/null +++ b/sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit systemd + +SRC_URI="https://github.com/pedro00dk/nvidia-exec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Lenovo Legion Linux kernel module" +HOMEPAGE="https://github.com/pedro00dk/nvidia-exec" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +src_install() { + dobin "${WORKDIR}/${P}/nvx" + insinto /usr/lib/systemd/system-sleep + doins "${WORKDIR}/${P}/nvx-suspend-restore" + systemd_dounit "${WORKDIR}/${P}/nvx.service" + insinto /usr/lib/modprobe.d + newins "${WORKDIR}/${P}/modprobe.conf" nvx.conf +} + +pkg_postinst() { + ewarn "Don't forget to reload dbus to enable \"nvx\" service, \ +by runnning:\n \`systemctl daemon-reload && systemctl enable --now nvx\`\n" +} diff --git a/sys-power/nvidia-exec/nvidia-exec-9999.ebuild b/sys-power/nvidia-exec/nvidia-exec-9999.ebuild new file mode 100644 index 0000000000..7b9751ab99 --- /dev/null +++ b/sys-power/nvidia-exec/nvidia-exec-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit git-r3 systemd + +EGIT_REPO_URI="https://github.com/pedro00dk/nvidia-exec.git" + +DESCRIPTION="Lenovo Legion Linux kernel module" +HOMEPAGE="https://github.com/pedro00dk/nvidia-exec" + +LICENSE="GPL-3" +SLOT="0" + +src_install() { + dobin "${WORKDIR}/${P}/nvx" + insinto /usr/lib/systemd/system-sleep + doins "${WORKDIR}/${P}/nvx-suspend-restore" + systemd_dounit "${WORKDIR}/${P}/nvx.service" + insinto /usr/lib/modprobe.d + newins "${WORKDIR}/${P}/modprobe.conf" nvx.conf +} + +pkg_postinst() { + ewarn "Don't forget to reload dbus to enable \"nvx\" service, \ +by runnning:\n \`systemctl daemon-reload && systemctl enable --now nvx\`\n" +} diff --git a/sys-process/scron/Manifest b/sys-process/scron/Manifest new file mode 100644 index 0000000000..b8b0ff7253 --- /dev/null +++ b/sys-process/scron/Manifest @@ -0,0 +1 @@ +DIST scron-0.4.tar.gz 10263 BLAKE2B 87bcaa0157afd0fcf2eebfb3e17bad1eba187d503fe57089fe2fa9faa02f286ee5bc13c2ca216df31bdfd2a1700d82bb5ddfa161e451c31101e08be08339e38f SHA512 585c8dd1acab29d37890b62b4c8de2ae6a26bc67c3e95c1c8eaefc6672b6a1b0c3432a93b34d44eb693ba322f4b8f29495e1a825e87b376edb6c5c842da26f1f diff --git a/sys-process/scron/files/scron-0.4-initd b/sys-process/scron/files/scron-0.4-initd new file mode 100644 index 0000000000..54d5401f02 --- /dev/null +++ b/sys-process/scron/files/scron-0.4-initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/crond" +pidfile="/run/crond.pid" + +depend() { + use clock logger + need localmount + provide cron +} diff --git a/sys-process/scron/scron-0.4.ebuild b/sys-process/scron/scron-0.4.ebuild new file mode 100644 index 0000000000..d2d1250c54 --- /dev/null +++ b/sys-process/scron/scron-0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Simple cron daemon" +HOMEPAGE="https://git.2f30.org/scron/" +SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND=" + !sys-process/cronie + !sys-process/bcron + !sys-process/dcron + !sys-process/fcron + !sys-process/systemd-cron +" +BDEPEND="" + +src_install() { + emake MANPREFIX="/usr/share/man" PREFIX="/usr" DESTDIR="${D}" install + einstalldocs + newinitd "${FILESDIR}/${PN}-0.4-initd" ${PN} +} + +pkg_postinst() { + elog "Start scron as a system service with" + elog "'rc-service scron start'. Enable it at startup with" + elog "'rc-update add scron default'." +} diff --git a/www-apps/invidious/Manifest b/www-apps/invidious/Manifest index 66f42105a6..7f3b0c7572 100644 --- a/www-apps/invidious/Manifest +++ b/www-apps/invidious/Manifest @@ -1,4 +1,3 @@ -DIST invidious-2023.06.22.tar.gz 3267178 BLAKE2B 7d6a13dd878c1ce1b52009990cd0be4762482b901bcf58806fa43ab750ed20d867d80075f24beabb8ac5c13039163d1b9953d1045c3af24901ecfe717cc3aa14 SHA512 4f996d39a5de2472327c31b01d2ac0d4e5af6d65e199786570ddb95f4643328dd7064af4d602d786e9b5d1b27f233a800ac7fbb05eea2c4f20705355749d6e5d DIST invidious-2023.07.05.tar.gz 3267903 BLAKE2B a2b25c996c17151ace3a1ebea4ff34d746b84d640d04bd56b1ff34f03146a78550da976dac38c606072212ad9cc07016865128f276ab0039ed29b970f5d34616 SHA512 7b8f3b205721d021f1f0f9a32dbb466a4acbe2a6c231be77a5e0b19f20ac4c6e9884040fc65750b37a229e26f0ddf8a105fe0d0f0f56d77ba34deb00366c9a71 DIST invidious-mocks-11ec372.tar.gz 180392 BLAKE2B 899db54d4efdfc231d588155d52784d70a364c7382bd1652a3c384dc618435d646a50e957c1407f6ac7ade410e811438b23a16d9949e63f7791e34960bba1fc6 SHA512 7bc1aa17f555babaceca15fe51061400a6c8a9cb01ad15c5d22c155f3164aca7c6e49c8dcdbd894e1593c2c69d3ddaa201544b068510281e910b90a11a407e59 DIST video.js-7.12.1.tgz 3511060 BLAKE2B 9ae5b1f6a0afab918b7dc3555fff2708963d4abb6c7903e13145b2d5393fb80e4ab6302c423b0ba15c805a624a23c25dd3db7865f1510c44cfc5d1d5ab1dbf54 SHA512 d0ec25eeae196e6e981d7f783fd595a90daf9e97de3723ad4cdc2e4c41282a8bd9a20a2a57631c3949ac40633811db60e2f19388fef816fe8755ad55e857917e diff --git a/www-apps/invidious/invidious-2023.06.22.ebuild b/www-apps/invidious/invidious-2023.06.22.ebuild deleted file mode 100644 index 962b57d4c5..0000000000 --- a/www-apps/invidious/invidious-2023.06.22.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs shards systemd - -COMMIT="75c4c0b349cfa7bb9904824b268bc930911399da" -MOCKS_COMMIT="11ec372f72747c09d48ffef04843f72be67d5b54" -MOCKS_P="${PN}-mocks-${MOCKS_COMMIT:0:7}" -DESCRIPTION="Invidious is an alternative front-end to YouTube" -HOMEPAGE=" - https://invidious.io/ - https://github.com/iv-org/invidious -" -IV_ORG="https://github.com/iv-org" -NPM="https://registry.npmjs.org" -SRC_URI=" - ${IV_ORG}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz - ${NPM}/video.js/-/video.js-7.12.1.tgz - ${NPM}/videojs-contrib-quality-levels/-/videojs-contrib-quality-levels-2.1.0.tgz - ${NPM}/videojs-http-source-selector/-/videojs-http-source-selector-1.1.6.tgz - ${NPM}/videojs-markers/-/videojs-markers-1.0.1.tgz - ${NPM}/videojs-mobile-ui/-/videojs-mobile-ui-0.6.1.tgz - ${NPM}/videojs-overlay/-/videojs-overlay-2.1.4.tgz - ${NPM}/videojs-share/-/videojs-share-3.2.1.tgz - ${NPM}/videojs-vr/-/videojs-vr-1.8.0.tgz - ${NPM}/videojs-vtt-thumbnails/-/videojs-vtt-thumbnails-0.0.13.tgz - test? ( - ${IV_ORG}/mocks/archive/${MOCKS_COMMIT}.tar.gz -> ${MOCKS_P}.tar.gz - ) -" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="AGPL-3 Apache-2.0 MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-db/sqlite:3 - dev-libs/boehm-gc - dev-libs/libevent:= - dev-libs/libpcre2:= - dev-libs/libxml2:2 - dev-libs/libyaml - dev-libs/openssl:= - sys-libs/zlib:= -" -RDEPEND="${COMMON_DEPEND} - acct-user/invidious - gnome-base/librsvg -" -DEPEND="${COMMON_DEPEND} - dev-crystal/athena-negotiation - dev-crystal/crystal-pg - dev-crystal/crystal-sqlite3 - ~dev-crystal/kemal-1.1.2 - dev-crystal/kilt - >=dev-crystal/protodec-0.1.5 - test? ( - dev-crystal/spectator - ) -" - -DOCS=( {CHANGELOG,README}.md TRANSLATION ) - -CHECKREQS_MEMORY="2G" - -CRYSTAL_DEFINES=( - -Dskip_videojs_download - -Ddisable_quic -) - -src_unpack() { - local src depname destname js css - - for src in ${A}; do - if [[ ${src} == "${P}.tar.gz" ]]; then - unpack ${src} - elif [[ ${src} == "${MOCKS_P}.tar.gz" ]]; then - unpack "${src}" - mkdir -p "${S}"/mocks || die - rmdir "${S}"/mocks || die - mv mocks-${MOCKS_COMMIT} "${S}"/mocks || die - else - depname="${src%-*}" - - case ${depname} in - video.js) - js="video.js" ;; - *) - js="${depname}.js" ;; - esac - - case ${depname} in - video.js) - css="video-js.css" ;; - videojs-markers) - css="videojs.markers.css" ;; - *) - css="${depname}.css" ;; - esac - - # Create the destination directory - destname="${S}/assets/videojs/${depname}" - mkdir -p "${destname}" || die - - # Create a temporary directory - mkdir -p "${WORKDIR}"/${depname} || die - cd "${WORKDIR}"/${depname} || die - - # Copy assets - unpack ${src} - cd package/dist || die - mv ${js} ${destname} || die - if [[ -f ${css} ]]; then - mv ${css} ${destname} || die - fi - - cd "${WORKDIR}" || die - fi - done -} - -src_prepare() { - default - - local datadir="${EPREFIX}/usr/share/invidious" - sed -i src/invidious.cr \ - -e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \ - -e "s/\(CURRENT_COMMIT \) = .*/\1 = \"${COMMIT:0:7}\"/" \ - -e "s/\(CURRENT_VERSION\) = .*/\1 = \"${PV}\"/" \ - -e "s/\(ASSET_COMMIT\) = .*/\1 = \"${COMMIT:0:7}\"/" || die - - # fix paths - sed -i src/invidious.cr \ - -e "s|\(public_folder\) \"assets\"|\1 \"${datadir}/assets\"|" || die - sed -i src/invidious/helpers/i18n.cr \ - -e "s|File.read(\"locales/|File.read(\"${datadir}/locales/|" || die - sed -i src/invidious/database/base.cr \ - -e "s|config/sql|${datadir}/\0|g" || die - - rm shard.lock || die -} - -src_install() { - dobin invidious - einstalldocs - - insinto /usr/share/invidious - doins -r assets config locales - - insinto /etc/invidious - newins config/config.example.yml config.yml - - systemd_dounit "${FILESDIR}"/invidious.service - newinitd "${FILESDIR}"/invidious.initd ${PN} - newconfd "${FILESDIR}"/invidious.confd ${PN} -} diff --git a/www-apps/nitter/Manifest b/www-apps/nitter/Manifest index 7e1c5d7429..7e3752ba78 100644 --- a/www-apps/nitter/Manifest +++ b/www-apps/nitter/Manifest @@ -1,2 +1,2 @@ -DIST nitter-0.1.0_p20230306.tar.gz 1183393 BLAKE2B a3826f0b7a5f3c5ce24c865c7de70ec49b1fb236778b074cf8f6c4e3bc5a7a323ff4223c6a83ed5e7a25ce6dca604660c6064af5303428a8e6a1f407543fe258 SHA512 819061d121a6ebd4841e1640a52e40b2fa544548c0fbeb4942ab8b748dde2d9ce5716c9bb38f4a01c95552e94f025ce124546ddb3d859d1bf5e9f02fc18745a8 DIST nitter-2023.05.20.tar.gz 1184325 BLAKE2B aefeade24bd8b34303d3b0bd1280ad48e2b898c603bbaf5bf93a712fc0e59aec507340209483a72378bd4e72f94b262f13c37bca6323e07911e1f50d4cf556fd SHA512 03cbfef15eed61092cc03549755f3eb96be42999d1af652210df112fe41aea4b68aadd7a45faedb84702e8b852fa09c7ee29c908c983a5a9a8ec2d509d063c9a +DIST nitter-2023.07.12.tar.gz 1184928 BLAKE2B 02658a4d89205c5ac8d302e51b9628714c72e2bedb40785c0018ccddc3ca74185e1894228792e05e0c67f6527f7bd98cd10f76a9a880ee2c2083f43948fbf0ca SHA512 9ac70ae5e5f954e14dd1dd8cfc82d8ec8058ae228b61f5639a23a5959d7611833f99b7e6dd90b6cc26ab5ed4244c2027d5b5ca91daac338f877b63eabd275f8b diff --git a/www-apps/nitter/nitter-0.1.0_p20230306.ebuild b/www-apps/nitter/nitter-2023.07.12.ebuild similarity index 86% rename from www-apps/nitter/nitter-0.1.0_p20230306.ebuild rename to www-apps/nitter/nitter-2023.07.12.ebuild index 3bfe9d191a..66560453d0 100644 --- a/www-apps/nitter/nitter-0.1.0_p20230306.ebuild +++ b/www-apps/nitter/nitter-2023.07.12.ebuild @@ -5,8 +5,8 @@ EAPI=8 inherit nimble systemd -COMMIT="bc219aa792cc0e4117888b2036a969559f4f2689" -DESCRIPTION="An alternative front-end for Twitter" +COMMIT="afbdbd293e30f614ee288731717868c6d618b55f" +DESCRIPTION="Alternative front-end for Twitter" HOMEPAGE="https://github.com/zedeus/nitter" SRC_URI="https://github.com/zedeus/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" @@ -18,16 +18,11 @@ KEYWORDS="~amd64" RESTRICT="test" PROPERTIES="test_network" -COMMON_DEPEND=" - dev-libs/libpcre:3 -" RDEPEND=" - ${COMMON_DEPEND} acct-user/nitter dev-db/redis " DEPEND=" - ${COMMON_DEPEND} dev-nim/flatty dev-nim/jester dev-nim/jsony diff --git a/www-client/vimb/Manifest b/www-client/vimb/Manifest index a28a34d19d..1393a2e301 100644 --- a/www-client/vimb/Manifest +++ b/www-client/vimb/Manifest @@ -1 +1,2 @@ DIST vimb-3.6.0.tar.gz 144750 BLAKE2B bb5b3244198e657af6a2591f75bb44598d1fa384843aa948f15eb186cea526776a2f2ae00d20ae9a81bd634df1c980cf2017f22f99e062d22231dd2cb1c9f3b2 SHA512 0c1a131641c47ec0dd7a5346d5e7260f85293ecc105e04e6265680c53bbbdc8d98acc4f4e11443efc4e4148aa0b77c496cf7e5f59d44857e6e612c3d4a643c8f +DIST vimb-3.7.0.tar.gz 149769 BLAKE2B 79b9916ae6aa583147a8469d43e0f396e572d77ac02a1136c205a011341beac67028f21d0b0e38ccb7afa19e23e1bf4cd108714848ab0cc69ba7c5485f4d7bd6 SHA512 00101b799c33b7cdb91db407654cbccbf2041d06ae604541ba90806c6fa26345fbfe54fa42ad457817a186493b233e9ee24dc301eacf19d8cd15f546d87615a7 diff --git a/www-client/vimb/vimb-3.6.0.ebuild b/www-client/vimb/vimb-3.6.0.ebuild index 177a0dd036..5817181aba 100644 --- a/www-client/vimb/vimb-3.6.0.ebuild +++ b/www-client/vimb/vimb-3.6.0.ebuild @@ -1,29 +1,32 @@ # Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit savedconfig optfeature +inherit flag-o-matic optfeature savedconfig -DESCRIPTION="a fast, lightweight, vim-like browser based on webkit" +DESCRIPTION="A fast, lightweight, vim-like browser based on webkit" HOMEPAGE="https://fanglingsu.github.io/vimb/" -KEYWORDS="~amd64" -SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git" +else + SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="GPL-3" SLOT="0" IUSE="savedconfig adblock" DEPEND=" - virtual/pkgconfig adblock? ( www-misc/wyebadblock ) -" - -RDEPEND=" - x11-libs/gtk+:3 >=net-libs/webkit-gtk-2.20.0:4 + x11-libs/gtk+:3 " +BDEPEND="virtual/pkgconfig" +RDEPEND="${DEPEND}" src_prepare() { default @@ -31,13 +34,15 @@ src_prepare() { } src_compile() { - emake V=1 PREFIX="/usr" + has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1 + emake PREFIX="/usr" } src_install() { - emake V=1 PREFIX="/usr" DESTDIR="${D}" install + emake PREFIX="/usr" DESTDIR="${D}" install save_config src/config.def.h use adblock && dosym /usr/lib/wyebrowser/adblock.so /usr/lib/vimb/adblock.so + einstalldocs } pkg_postinst() { diff --git a/www-client/vimb/vimb-3.7.0.ebuild b/www-client/vimb/vimb-3.7.0.ebuild new file mode 100644 index 0000000000..23f02612f2 --- /dev/null +++ b/www-client/vimb/vimb-3.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit savedconfig flag-o-matic optfeature + +DESCRIPTION="A fast, lightweight, vim-like browser based on webkit" +HOMEPAGE="https://fanglingsu.github.io/vimb/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git" +else + SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="savedconfig" + +DEPEND=" + net-libs/webkit-gtk:4.1 + x11-libs/gtk+:3 +" +BDEPEND="virtual/pkgconfig" +RDEPEND="${DEPEND}" + +src_prepare() { + default + restore_config config.def.h +} + +src_compile() { + has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1 + emake PREFIX="/usr" +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + einstalldocs + save_config src/config.def.h +} + +pkg_postinst() { + optfeature "media decoding support" media-plugins/gst-plugins-libav media-libs/gst-plugins-good +} diff --git a/www-client/vimb/vimb-9999.ebuild b/www-client/vimb/vimb-9999.ebuild index e0dd30ceaa..23f02612f2 100644 --- a/www-client/vimb/vimb-9999.ebuild +++ b/www-client/vimb/vimb-9999.ebuild @@ -1,29 +1,31 @@ # Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit savedconfig +inherit savedconfig flag-o-matic optfeature -DESCRIPTION="a fast, lightweight, vim-like browser based on webkit" +DESCRIPTION="A fast, lightweight, vim-like browser based on webkit" HOMEPAGE="https://fanglingsu.github.io/vimb/" -inherit git-r3 -KEYWORDS="" -EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git" +else + SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="GPL-3" SLOT="0" IUSE="savedconfig" DEPEND=" - virtual/pkgconfig -" - -RDEPEND=" + net-libs/webkit-gtk:4.1 x11-libs/gtk+:3 - >=net-libs/webkit-gtk-2.20.0:4 " +BDEPEND="virtual/pkgconfig" +RDEPEND="${DEPEND}" src_prepare() { default @@ -31,10 +33,16 @@ src_prepare() { } src_compile() { - emake V=1 PREFIX="/usr" + has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1 + emake PREFIX="/usr" } src_install() { - emake V=1 PREFIX="/usr" DESTDIR="${D}" install + emake PREFIX="/usr" DESTDIR="${D}" install + einstalldocs save_config src/config.def.h } + +pkg_postinst() { + optfeature "media decoding support" media-plugins/gst-plugins-libav media-libs/gst-plugins-good +}