diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild similarity index 70% rename from app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild index 3d8522225d..5976485241 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="alsa cups ssl test X" +IUSE="alsa cups nodejs ssl test X" RESTRICT="!test? ( test )" S="${WORKDIR}/atom-${PV}-amd64" @@ -23,13 +23,16 @@ RDEPEND=" app-crypt/libsecret dev-libs/atk dev-libs/nss + dev-vcs/git alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) + nodejs? ( net-libs/nodejs[npm] ) ssl? ( dev-libs/openssl ) X? ( x11-libs/cairo x11-libs/gdk-pixbuf x11-libs/gtk+ + x11-libs/libnotify x11-libs/libX11 x11-libs/libxcb x11-libs/libXcomposite @@ -47,13 +50,12 @@ RDEPEND=" ) " -QA_PREBUILT="/opt/atom/*" +QA_PREBUILT="/opt/atom-bin/*" +QA_PRESTRIPPED="/opt/atom-bin/resources/*" # Files are already stripped +DOCS=( resources/LICENSE.md ) src_prepare(){ default - - # Remove useless license files. - rm LICENSE LICENSES.chromium.html version } src_install(){ @@ -61,9 +63,20 @@ src_install(){ doins -r "${S}"/* dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom fperms +x /opt/"${PN}"/atom - fperms +x /opt/"${PN}"/resources/app/apm/bin/apm + if use nodejs; then + rm resources/app/apm/bin/npm + rm resources/app/apm/BUNDLED_NODE_VERSION + #Fix apm to use nodejs binary + sed -i "s#\$binDir\/\$nodeBin#\$\(which \$nodeBin\)#" resources/app/apm/bin/apm + else + fperms +x /opt/"${PN}"/resources/app/apm/bin/npm + fi fperms +x /opt/"${PN}"/resources/app/apm/bin/node - fperms +x /opt/"${PN}"/resources/app/apm/bin/npm + fperms +x /opt/"${PN}"/resources/app/apm/bin/apm make_desktop_entry /opt/${PN}/atom Atom atom Utility doicon atom.png + + einstalldocs + + find "${ED}" -name '*.la' -delete || die } diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e0..ada38d0707 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,4 +8,7 @@ atom/atom + + Enable nodejs support in USE + diff --git a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild index 4eaba507e6..0546b3ac03 100644 --- a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild +++ b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild @@ -5,15 +5,9 @@ EAPI=7 DESCRIPTION="A program to read and control device brightness" HOMEPAGE="https://github.com/Hummer12007/brightnessctl" +SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz" -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Hummer12007/brightnessctl.git" -else - SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - +KEYWORDS="~amd64" LICENSE="MIT" SLOT="0" IUSE="systemd udev" diff --git a/app-misc/brightnessctl/brightnessctl-9999.ebuild b/app-misc/brightnessctl/brightnessctl-9999.ebuild deleted file mode 100644 index 4eaba507e6..0000000000 --- a/app-misc/brightnessctl/brightnessctl-9999.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A program to read and control device brightness" -HOMEPAGE="https://github.com/Hummer12007/brightnessctl" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Hummer12007/brightnessctl.git" -else - SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="systemd udev" - -DEPEND=" - systemd? ( sys-apps/systemd ) - udev? ( virtual/udev ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - systemd? ( virtual/pkgconfig ) -" - -src_compile() { - use systemd && export ENABLE_SYSTEMD=1 - emake -} - -src_install() { - local myconf - - # Upstream does not install udev rules if systemd is enabled - # Following this behaviour if both flags are enabled here - if use systemd && use udev; then - myconf="INSTALL_UDEV_RULES=0" - elif use udev; then - myconf="INSTALL_UDEV_RULES=1" - else - myconf="INSTALL_UDEV_RULES=0" - fi - - emake install ${myconf} DESTDIR="${D}" - dodoc README.md -} diff --git a/app-misc/dragon/dragon-1.1.1.ebuild b/app-misc/dragon/dragon-1.1.1.ebuild index c6a78934c6..0620534a0f 100644 --- a/app-misc/dragon/dragon-1.1.1.ebuild +++ b/app-misc/dragon/dragon-1.1.1.ebuild @@ -5,15 +5,9 @@ EAPI=7 DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland" HOMEPAGE="https://github.com/mwh/dragon" +SRC_URI="https://github.com/mwh/dragon/archive/v${PV}.tar.gz -> ${P}.tar.gz" -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/mwh/dragon.git" - inherit git-r3 -else - SRC_URI="https://github.com/mwh/dragon/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - +KEYWORDS="~amd64" LICENSE="GPL-3" SLOT="0" diff --git a/app-misc/dragon/dragon-9999.ebuild b/app-misc/dragon/dragon-9999.ebuild deleted file mode 100644 index c6a78934c6..0000000000 --- a/app-misc/dragon/dragon-9999.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland" -HOMEPAGE="https://github.com/mwh/dragon" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/mwh/dragon.git" - inherit git-r3 -else - SRC_URI="https://github.com/mwh/dragon/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3" -SLOT="0" - -DEPEND=">=x11-libs/gtk+-3" -RDEPEND="${DEPEND}" - -src_install() { - emake PREFIX="${D}/usr/bin" install - dodoc README -} diff --git a/dev-python/injector/Manifest b/dev-python/injector/Manifest new file mode 100644 index 0000000000..e56b938b0c --- /dev/null +++ b/dev-python/injector/Manifest @@ -0,0 +1 @@ +DIST injector-0.18.4.tar.gz 23230 BLAKE2B 3cc344f5eab64f58575d4772b7d867988b4b3550b2cb9d7f24d169f66e05953cb395800d77fc9edcb5ccfdbc3b8688cae0f33170aa3312b19c2d44173f2e8ee1 SHA512 3afc5e69ade4d60f6f60c81b1067428852a39767a14c779436ed9137e922c47f0818b599afef0b13a1dd6fe3cd95a16fb85963e7fc5c3b6f0ae84ec54f219aca diff --git a/dev-python/injector/injector-0.18.4.ebuild b/dev-python/injector/injector-0.18.4.ebuild new file mode 100644 index 0000000000..0805fd9175 --- /dev/null +++ b/dev-python/injector/injector-0.18.4.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Python dependency injection framework" +HOMEPAGE=" + https://pypi.org/project/injector + https://github.com/alecthomas/injector +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="BSD" +SLOT="0" + +DEPEND="dev-python/typing-extensions[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" diff --git a/dev-python/injector/metadata.xml b/dev-python/injector/metadata.xml new file mode 100644 index 0000000000..c49178b70c --- /dev/null +++ b/dev-python/injector/metadata.xml @@ -0,0 +1,12 @@ + + + + + octiabrina@myrvogna.net + Octiabrina Terrien-Puig + + + injector + alecthomas/injector + + diff --git a/dev-python/py3nvml/Manifest b/dev-python/py3nvml/Manifest new file mode 100644 index 0000000000..a0da7741f6 --- /dev/null +++ b/dev-python/py3nvml/Manifest @@ -0,0 +1 @@ +DIST py3nvml-0.2.6.tar.gz 57550 BLAKE2B eac7bff77560fa97583e17a7988d87d373d6d1caa8a762565598d18685672723acb96e7e670183dc476c65784cf3c14d8829a5e90626f59de1b17728ee6e8a55 SHA512 c0fece187bc03a74da87d96a8157fc101ce4a0307049f5ce092555056286317d607158ce0eef492f94d024e55e29fa40bc8315b96417d17b8d1da56c5424dd57 diff --git a/dev-python/py3nvml/metadata.xml b/dev-python/py3nvml/metadata.xml new file mode 100644 index 0000000000..d6103abea9 --- /dev/null +++ b/dev-python/py3nvml/metadata.xml @@ -0,0 +1,12 @@ + + + + + octiabrina@myrvogna.net + Octiabrina Terrien-Puig + + + py3nvml + fbcotter/py3nvml + + diff --git a/dev-python/py3nvml/py3nvml-0.2.6.ebuild b/dev-python/py3nvml/py3nvml-0.2.6.ebuild new file mode 100644 index 0000000000..7f7b58005d --- /dev/null +++ b/dev-python/py3nvml/py3nvml-0.2.6.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Python 3 Bindings for the NVIDIA Management Library" +HOMEPAGE=" + https://pypi.org/project/py3nvml + https://github.com/fbcotter/py3nvml +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="BSD" +SLOT="0" diff --git a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild index 2d70136d48..b3ddea9659 100644 --- a/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild +++ b/dev-scheme/guile-gi/guile-gi-0.3.1.ebuild @@ -29,6 +29,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +QA_FLAGS_IGNORED=".*" + src_prepare() { default diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild index 2d70136d48..b3ddea9659 100644 --- a/dev-scheme/guile-gi/guile-gi-9999.ebuild +++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild @@ -29,6 +29,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +QA_FLAGS_IGNORED=".*" + src_prepare() { default diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest index b8dcec28f6..d5e1a7476e 100644 --- a/dev-vcs/lazygit/Manifest +++ b/dev-vcs/lazygit/Manifest @@ -1,2 +1,3 @@ DIST lazygit-0.25.1.tar.gz 2192584 BLAKE2B e2254ea3998f8be17f0c75d328975b30af21e1eddc070e6e1c2711b54e8a7e1a4f24d91a0eb80451480547d26c9b01ac23e43ea73d59cc4a6bcc158992c73987 SHA512 281a0e67b75c6dc69baf64bbcaeb20844874528564093ae2c64159d1c92eaaaebf73a176730fb80db9a2055cfcdd2c8ba77a12566ef94c182eb5ef16e2d677b9 DIST lazygit-0.26.1.tar.gz 2192018 BLAKE2B 9c48e6d0ee176ed1a49a684c4ad65ba139329c690af654508e866b6213ab3572d7f47915d849a0e65242f57b552568e1a34825a8050cd42e864d6b25f2e36559 SHA512 abdc8cfc509c77e4b7a249a32a000f3f80e9e5c11d26b48c3882fc49e9da1e477573590a16fa9c03ccb81d6342173f4abfa16031392d8180e7ca70071d503b3a +DIST lazygit-0.27.2.tar.gz 3214004 BLAKE2B fb6cdf0664ae5510c2bcca00f478a76bb3e4e69b6cc8714ab97d0cf1c638fef450e320b3072a8e3971847d55053245ad575466fcdf62942b176c1571d22f1bf1 SHA512 eba628a80465054355750cafc31ed31ea22356c548441c4397a9762efeddb752ce9be6f7a125333ad8d619aff0959226785bdb22b99d918da0f3ce1153fb59bc diff --git a/dev-vcs/lazygit/lazygit-0.27.2.ebuild b/dev-vcs/lazygit/lazygit-0.27.2.ebuild new file mode 100644 index 0000000000..233a104b0c --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.27.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/jesseduffield/lazygit" + +inherit golang-build golang-vcs-snapshot + +DESCRIPTION="Lazygit, a simple terminal UI for git commands" +HOMEPAGE="https://github.com/jesseduffield/lazygit" +SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND=( sys-libs/glibc ) +RDEPEND=( + ${DEPEND} + dev-vcs/git +) + +DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md ) + +src_compile() { + GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die +} + +src_install() { + dobin bin/lazygit + + use doc && dodoc -r "src/${EGO_PN}/docs/." + einstalldocs +} diff --git a/games-emulation/duckstation/duckstation-9999.ebuild b/games-emulation/duckstation/duckstation-9999.ebuild new file mode 100644 index 0000000000..aea62ead4f --- /dev/null +++ b/games-emulation/duckstation/duckstation-9999.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit xdg cmake desktop git-r3 + +DESCRIPTION="Fast Sony PlayStation (PSX) emulator" +HOMEPAGE="https://github.com/stenzek/duckstation" +EGIT_REPO_URI="https://github.com/stenzek/duckstation.git" +EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" +EGIT_SUBMODULES=() + +LICENSE="GPL-3" +SLOT="0" +IUSE="discord egl evdev fbdev +gamepad gbm +nogui qt5 retroachievements wayland X" + +# Either or both frontends must be built +REQUIRED_USE=" + ?? ( fbdev gbm ) + gbm? ( egl ) + wayland? ( egl ) +" + +BDEPEND=" + virtual/pkgconfig + wayland? ( kde-frameworks/extra-cmake-modules ) +" +DEPEND=" + evdev? ( dev-libs/libevdev ) + gamepad? ( media-libs/libsdl2 ) + gbm? ( x11-libs/libdrm ) + qt5? ( + dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtnetwork + ) + retroachievements? ( net-misc/curl[curl_ssl_gnutls] ) + X? ( + x11-libs/libX11 + x11-libs/libXrandr + ) +" +RDEPEND="${DEPEND}" + +# Set working directory to checkout directory +S="${WORKDIR}/${PN}" + +src_configure() { + local mycmakeargs=( + -DBUILD_NOGUI_FRONTEND=$(usex nogui) + -DBUILD_QT_FRONTEND=$(usex qt5) + -DENABLE_CHEEVOS=$(usex retroachievements) + –DENABLE_DISCORD_PRESENCE=$(usex discord) + -DUSE_DRMKMS=$(usex gbm) + -DUSE_EGL=$(usex egl) + -DUSE_EVDEV=$(usex evdev) + -DUSE_FBDEV=$(usex fbdev) + -DUSE_SDL2=$(usex gamepad) + -DUSE_WAYLAND=$(usex wayland) + -DUSE_X11=$(usex X) + + -DBUILD_SHARED_LIBS=OFF + ) + + cmake_src_configure +} + +src_install() { + dodoc README.md + + # Binary and resources files must be in same directory – installing in /opt + insinto /opt/${PN} + doins -r "${BUILD_DIR}"/bin/{database,inputprofiles,resources,shaders} + + if use nogui; then + newicon -s 16 appimage/icon-16px.png duckstation-nogui + newicon -s 32 appimage/icon-32px.png duckstation-nogui + newicon -s 48 appimage/icon-48px.png duckstation-nogui + newicon -s 64 appimage/icon-64px.png duckstation-nogui + domenu "${FILESDIR}"/duckstation-nogui.desktop + doins "${BUILD_DIR}"/bin/duckstation-nogui + fperms +x /opt/${PN}/duckstation-nogui + fi + + if use qt5; then + newicon -s 16 appimage/icon-16px.png duckstation-qt + newicon -s 32 appimage/icon-32px.png duckstation-qt + newicon -s 48 appimage/icon-48px.png duckstation-qt + newicon -s 64 appimage/icon-64px.png duckstation-qt + domenu "${FILESDIR}"/duckstation-qt.desktop + doins "${BUILD_DIR}"/bin/duckstation-qt + fperms +x /opt/${PN}/duckstation-qt + fi +} diff --git a/games-emulation/duckstation/files/duckstation-nogui.desktop b/games-emulation/duckstation/files/duckstation-nogui.desktop new file mode 100644 index 0000000000..dccebffdcb --- /dev/null +++ b/games-emulation/duckstation/files/duckstation-nogui.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=DuckStation NoGUI +GenericName=PlayStation 1 Emulator +Comment=Fast-ish PlayStation 1 emulator +Icon=duckstation-nogui +TryExec=/opt/duckstation/duckstation-nogui +Exec=/opt/duckstation/duckstation-nogui %f +Terminal=false +Categories=Game;Emulator; diff --git a/games-emulation/duckstation/files/duckstation-qt.desktop b/games-emulation/duckstation/files/duckstation-qt.desktop new file mode 100644 index 0000000000..26e02be15f --- /dev/null +++ b/games-emulation/duckstation/files/duckstation-qt.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=DuckStation Qt +GenericName=PlayStation 1 Emulator +Comment=Fast-ish PlayStation 1 emulator +Icon=duckstation-qt +TryExec=/opt/duckstation/duckstation-qt +Exec=/opt/duckstation/duckstation-qt %f +Terminal=false +Categories=Game;Emulator;Qt; diff --git a/games-emulation/duckstation/metadata.xml b/games-emulation/duckstation/metadata.xml new file mode 100644 index 0000000000..836f45531e --- /dev/null +++ b/games-emulation/duckstation/metadata.xml @@ -0,0 +1,26 @@ + + + + + octiabrina@myrvogna.net + Octiabrina Terrien-Puig + + + stenzek/duckstation + + + DuckStation is a fast emulator of the Sony PlayStation (PSX), + focused on playability, speed, and long-term maintainability. + + + Enable Discord Rich Presence to show the current game on Discord + Enable EGL support + Support EVDev controller interface + Support FBDev OpenGL contexts + Link with SDL2 for controller support + Support DRM/KMS OpenGL contexts + Build the NoGUI frontend + Build the QT frontend + Build with RetroAchievements supports + + diff --git a/media-gfx/qview/qview-4.0.ebuild b/media-gfx/qview/qview-4.0.ebuild index eb4a2d4218..6993884a49 100644 --- a/media-gfx/qview/qview-4.0.ebuild +++ b/media-gfx/qview/qview-4.0.ebuild @@ -14,7 +14,11 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -DEPEND="dev-qt/qtgui:5" +DEPEND="dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtnetwork:5 +" + RDEPEND="${DEPEND}" src_configure() { diff --git a/media-gfx/sic/sic-0.18.0.ebuild b/media-gfx/sic/sic-0.18.0.ebuild index e356a55288..2ca06cff03 100644 --- a/media-gfx/sic/sic-0.18.0.ebuild +++ b/media-gfx/sic/sic-0.18.0.ebuild @@ -173,3 +173,5 @@ RESTRICT="mirror" LICENSE="Apache-2.0 MIT" SLOT="0" KEYWORDS="~amd64" +QA_FLAGS_IGNORED="usr/bin/sic" +DEPEND=">=dev-lang/nasm-2.14.02" diff --git a/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild b/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild index 6313469107..2dafd58711 100644 --- a/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild +++ b/net-misc/can-utils/can-utils-2020.12.0-r1.ebuild @@ -5,8 +5,8 @@ EAPI=7 inherit autotools systemd -DESCRIPTION="CAN userspace utilities and tools" -HOMEPAGE="https://github.com/linux-can/" +DESCRIPTION="SocketCAN userspace utilities and tools" +HOMEPAGE="https://github.com/linux-can/can-utils" SRC_URI="https://github.com/linux-can/can-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" diff --git a/net-misc/can-utils/can-utils-2020.12.0.ebuild b/net-misc/can-utils/can-utils-2020.12.0.ebuild deleted file mode 100644 index a1eb63c7d7..0000000000 --- a/net-misc/can-utils/can-utils-2020.12.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools systemd - -DESCRIPTION="CAN userspace utilities and tools" -HOMEPAGE="https://github.com/linux-can/" -SRC_URI="https://github.com/linux-can/can-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="systemd" - -DEPEND="" - -src_prepare() { - default - - eautoreconf -} - -# Default src_install + newconfd and newinitd -src_install() { - - emake DESTDIR="${D}" install - - einstalldocs - - if use systemd ; then - systemd_dounit "${FILESDIR}/slcan.service" - systemd_install_serviced "${FILESDIR}/slcan.service.conf" - else - newconfd "${FILESDIR}/slcand.confd" slcand - newinitd "${FILESDIR}/slcand.initd" slcand - fi -} diff --git a/net-misc/can-utils/files/slcand.initd b/net-misc/can-utils/files/slcand.initd index ffe08a9bf2..d4b6d92f69 100644 --- a/net-misc/can-utils/files/slcand.initd +++ b/net-misc/can-utils/files/slcand.initd @@ -1,6 +1,4 @@ -#!/sbin/runscript -# Copyright 2013 Brunvoll AS - +#!/sbin/openrc-run start() { diff --git a/net-misc/rpki-client/rpki-client-6.8_p1.ebuild b/net-misc/rpki-client/rpki-client-6.8_p1.ebuild index a240427e04..84362d0568 100644 --- a/net-misc/rpki-client/rpki-client-6.8_p1.ebuild +++ b/net-misc/rpki-client/rpki-client-6.8_p1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,7 +35,7 @@ src_install() { emake DESTDIR="${D}" BINDIR="/usr/bin" MANDIR="/usr/share/man" install insinto /etc/rpki doins *.tal - keedir "/var/cache/rpki-client/" + keepdir "/var/cache/rpki-client/" keepdir "/var/db/rpki-client/" fowners -R _rpki-client "/var/db/rpki-client/" } diff --git a/net-p2p/lbry/Manifest b/net-p2p/lbry/Manifest index 3c7f0ab922..1066bee05c 100644 --- a/net-p2p/lbry/Manifest +++ b/net-p2p/lbry/Manifest @@ -1,2 +1,3 @@ DIST lbry-0.48.2.deb 157526062 BLAKE2B fe030ab4df3c41313caafb5ce63f42e2a44d9789cd5359c54ae50ec58fc3bc39600ba36972087f2a2feb5a97be2b048efbcf0f704134d66e5aaefc1bfe406f9c SHA512 be282f6f53de2db4fe1256e8a9e1d7dce10978925cf3bebccfa086783183349aaf9e6acee5680df6bb041efbfd1bf3881585b94ad0f09e7c4782f1e08a1f548b DIST lbry-0.49.1.deb 158503494 BLAKE2B c547338ac5cfa524d75d002f43900becabbbf3d65a4343bfa8bd562ddd6f8169e6fc303481f1bfc4556cf6ce487094430f0662c9db62220188ef7a21a9d48d70 SHA512 eef6288dbe95e87b870ae5cf1cf6a8f65bcd08f9f77a79c12686fa9a436de33d08193ced1beb44d274447f7dfe14ea12fdb6fa52493784d219c19fe48875830a +DIST lbry-0.50.2.deb 171020830 BLAKE2B b6c54dcbc0dd49bc615cbcea97e3d1620c2c47b7fac6e0250ed366377d3b915bceaf0e185eacd2f4241057370c048cce0f6c3041fb6d4ad051ded5d05f0a957b SHA512 034726bdc634e5fc6d7b74f1accd6976f0299a5115eb4dc34de3973071d69db317970e88a42c7246dbc417823beb71906c0b394d09b8a216f52cef1e3a83f696 diff --git a/net-p2p/lbry/lbry-0.48.2.ebuild b/net-p2p/lbry/lbry-0.48.2.ebuild index b6e8d76546..d4df7b1395 100644 --- a/net-p2p/lbry/lbry-0.48.2.ebuild +++ b/net-p2p/lbry/lbry-0.48.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -34,4 +34,5 @@ src_install() { doins -r * rm -rd "${ED}"/usr/share/doc || die fperms 0755 /opt/LBRY/lbry || die + fperms 0755 /opt/LBRY/resources/static/daemon/lbrynet || die } diff --git a/net-p2p/lbry/lbry-0.49.1.ebuild b/net-p2p/lbry/lbry-0.49.1.ebuild index b6e8d76546..d4df7b1395 100644 --- a/net-p2p/lbry/lbry-0.49.1.ebuild +++ b/net-p2p/lbry/lbry-0.49.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -34,4 +34,5 @@ src_install() { doins -r * rm -rd "${ED}"/usr/share/doc || die fperms 0755 /opt/LBRY/lbry || die + fperms 0755 /opt/LBRY/resources/static/daemon/lbrynet || die } diff --git a/net-p2p/lbry/lbry-0.50.2.ebuild b/net-p2p/lbry/lbry-0.50.2.ebuild new file mode 100644 index 0000000000..d4df7b1395 --- /dev/null +++ b/net-p2p/lbry/lbry-0.50.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit xdg + +DESCRIPTION="A browser for the LBRY network, a digital marketplace controlled by its users." +HOMEPAGE="https://lbry.com/" +SRC_URI="https://github.com/lbryio/lbry-desktop/releases/download/v${PV}/LBRY_${PV}.deb -> ${P}.deb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +QA_PREBUILT="*" + +RDEPEND=" + dev-libs/libappindicator + dev-libs/nss + gnome-base/gconf + x11-libs/libnotify + x11-libs/libXtst +" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + unpack "${S}"/data.tar.xz + rm "${S}"/{control,data,debian}* || die +} + +src_install() { + doins -r * + rm -rd "${ED}"/usr/share/doc || die + fperms 0755 /opt/LBRY/lbry || die + fperms 0755 /opt/LBRY/resources/static/daemon/lbrynet || die +} diff --git a/sys-power/gwe/Manifest b/sys-power/gwe/Manifest new file mode 100644 index 0000000000..4b1465161a --- /dev/null +++ b/sys-power/gwe/Manifest @@ -0,0 +1 @@ +DIST gwe-0.15.2.tar.gz 365396 BLAKE2B 166afc622c13829f727304f9d5ba0a39a0c6f8225222f26e342b3791ed9e2d45c2bb996129cc09b88b6a1ee4effe51a160825fa70a92d1e6ae5458d0eaf431d8 SHA512 f6e0e0cb6e5139fd81371fc3e6eb50d2f87193608de4db99d87891da3ecc90828a80e8a7d0c653ea781bee9ced14353e73d0362e92d1c2b4e29b6c3df2d46a57 diff --git a/sys-power/gwe/gwe-0.15.2.ebuild b/sys-power/gwe/gwe-0.15.2.ebuild new file mode 100644 index 0000000000..3f74dc80c3 --- /dev/null +++ b/sys-power/gwe/gwe-0.15.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit xdg gnome2-utils meson python-single-r1 + +DESCRIPTION="NVIDIA settings alternative with overclocking, fan control, and information" +HOMEPAGE="https://gitlab.com/leinardi/gwe" +SRC_URI="https://gitlab.com/leinardi/gwe/-/archive/${PV}/${P}.tar.gz" + +KEYWORDS="~amd64" +SLOT="0" +LICENSE="GPL-3" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/gobject-introspection + dev-libs/libappindicator:3 + dev-libs/libdazzle + + $(python_gen_cond_dep ' + dev-python/injector[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/peewee[${PYTHON_USEDEP}] + dev-python/py3nvml[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/Rx[${PYTHON_USEDEP}] + ') +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} + dev-libs/appstream-glib + virtual/pkgconfig +" + +src_prepare() { + # Disable post-inst script – let the ebuild handle it + sed -i meson.build \ + -e "s:meson.add_install_script('scripts/meson_post_install.py')::g" \ + || die + + default +} + +src_install() { + meson_src_install + python_optimize +} diff --git a/sys-power/gwe/metadata.xml b/sys-power/gwe/metadata.xml new file mode 100644 index 0000000000..6535f7da78 --- /dev/null +++ b/sys-power/gwe/metadata.xml @@ -0,0 +1,11 @@ + + + + + octiabrina@myrvogna.net + Octiabrina Terrien-Puig + + + leinardi/gwe + + diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest index 7691c15993..2bd588b3e4 100644 --- a/www-apps/code-server-bin/Manifest +++ b/www-apps/code-server-bin/Manifest @@ -1,6 +1,6 @@ -DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524c44554f72cdb4e0a8c48d6be8ac0942736994481fed3a5d30970091f1790b47edbae8e91a4c5ce50055761654f4129c583b0b930ea4 SHA512 46f9e24bdaef075f06ab487ada24910a6fdd7b68a23beddefd049ae4735e8cb16a6bccd014ac7227fe70df95aaf83e1e7a271a01c5b1efa0677f872c7484322e -DIST code-server-3.9.0-linux-arm64.tar.gz 78939000 BLAKE2B fef14756b2d55cad2899dad7ec7332f753e18134f92c199f3e4d403880577c85a7772bdd56f71a0e8c3c38541e44a618fa9926b428a90f39f06c80ee6a5c4720 SHA512 e3f06076f70ceddd5a350e384c5fe1a8b23845a0ab6c6469ffabc2fe781cefd0bdbda6426196bee4e7cd6a2902b780b22aaae69fe25cf49b8e98374515ae055c DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9 DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03 DIST code-server-3.9.2-linux-arm64.tar.gz 71753560 BLAKE2B df5cc9bb91ea6529a64fb8ee572ae451a83f9b0b2b2ef1a27755c67b56fbb73f5cfc43ed3e3a15ad62d1d81f7c780912661b9cad4aa631eed4bb0bce46174ee5 SHA512 bf9863d3877ce692f2a9f1e129f25edb05e7323a49db6dfc0fbd3b5df153f6a0edecc7395c75acda81eb4fdae0ed2cfdffccc8c155785e2bd994ebb58b39462f +DIST code-server-3.9.3-linux-amd64.tar.gz 73054713 BLAKE2B fc9424ab592e7f7aed6f4dfcb9d881585f3eaf8477100935a940c409044400f137a8bea5489dac6a35c232ea9c35c8210a2695fbec2c33eec0ec60dcaef5ab6f SHA512 f4c489bac2c73a075183f378a3fa65787f10bb9829502956fb8ded6869cf770fdcbf4f5df151d1f5aaf20e79db2188cb95b12b1ea875cc0863a12a295fd8b5a0 +DIST code-server-3.9.3-linux-arm64.tar.gz 71436268 BLAKE2B eb1ce6ec5da7d9c448c3c8105bd483c2fec92a46ca35975deefa9850c0bfd4d800cdcd686836ed75d05cda2af16023ca7ad2f3028fcdf3440d0be1a30a85fe0b SHA512 e1c0ec1fdebfa67fa372b54de97b8d1b71d912cf496cad5d41376a9770d977948672a048c26baaca81867d6050b04a4a0501ffd822121955b6e8fe279a704533 diff --git a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild similarity index 87% rename from www-apps/code-server-bin/code-server-bin-3.9.0.ebuild rename to www-apps/code-server-bin/code-server-bin-3.9.3.ebuild index 2ad76805aa..553092c685 100644 --- a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild +++ b/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild @@ -37,11 +37,17 @@ RDEPEND=" S="${WORKDIR}/${MY_P}-linux-${ARCH}" -PATCHES=( - "${FILESDIR}/${PN}-node.patch" -) +PATCHES=( "${FILESDIR}/${PN}-node.patch" ) -DOCS=( README.md ThirdPartyNotices.txt ) +DOCS=( "README.md" "ThirdPartyNotices.txt" ) + +QA_PREBUILT=" + /usr/lib/code-server/lib/coder-cloud-agent + /usr/lib/code-server/lib/vscode/node_modules/* +" +QA_PRESTRIPPED=" + /usr/lib/code-server/lib/coder-cloud-agent +" src_prepare() { default @@ -64,11 +70,6 @@ src_prepare() { # already in /usr/portage/licenses/MIT rm ./LICENSE.txt || die - - if ! use gnome-keyring; then - rm -r ./lib/vscode/node_modules/keytar \ - || die "failed to remove bundled keytar" - fi } src_install() { diff --git a/x11-misc/gammy/gammy-0.9.58a.ebuild b/x11-misc/gammy/gammy-0.9.58a.ebuild index ef6ae59c9d..a636e31a00 100644 --- a/x11-misc/gammy/gammy-0.9.58a.ebuild +++ b/x11-misc/gammy/gammy-0.9.58a.ebuild @@ -22,6 +22,8 @@ IUSE="" RDEPEND=" dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 x11-libs/libXxf86vm " DEPEND=" @@ -36,12 +38,7 @@ src_configure() { src_install() { default - local sizes=" - 128 - 16 - 32 - 64 - " + local sizes="128 16 32 64" cd ./icons || die for size in ${sizes}; do convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die diff --git a/x11-misc/gammy/gammy-0.9.59.ebuild b/x11-misc/gammy/gammy-0.9.59.ebuild index ef6ae59c9d..a636e31a00 100644 --- a/x11-misc/gammy/gammy-0.9.59.ebuild +++ b/x11-misc/gammy/gammy-0.9.59.ebuild @@ -22,6 +22,8 @@ IUSE="" RDEPEND=" dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 x11-libs/libXxf86vm " DEPEND=" @@ -36,12 +38,7 @@ src_configure() { src_install() { default - local sizes=" - 128 - 16 - 32 - 64 - " + local sizes="128 16 32 64" cd ./icons || die for size in ${sizes}; do convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die diff --git a/x11-misc/gammy/gammy-0.9.60.ebuild b/x11-misc/gammy/gammy-0.9.60.ebuild index ef6ae59c9d..a636e31a00 100644 --- a/x11-misc/gammy/gammy-0.9.60.ebuild +++ b/x11-misc/gammy/gammy-0.9.60.ebuild @@ -22,6 +22,8 @@ IUSE="" RDEPEND=" dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 x11-libs/libXxf86vm " DEPEND=" @@ -36,12 +38,7 @@ src_configure() { src_install() { default - local sizes=" - 128 - 16 - 32 - 64 - " + local sizes="128 16 32 64" cd ./icons || die for size in ${sizes}; do convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die diff --git a/x11-misc/gammy/gammy-9999.ebuild b/x11-misc/gammy/gammy-9999.ebuild index ef6ae59c9d..a636e31a00 100644 --- a/x11-misc/gammy/gammy-9999.ebuild +++ b/x11-misc/gammy/gammy-9999.ebuild @@ -22,6 +22,8 @@ IUSE="" RDEPEND=" dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 x11-libs/libXxf86vm " DEPEND=" @@ -36,12 +38,7 @@ src_configure() { src_install() { default - local sizes=" - 128 - 16 - 32 - 64 - " + local sizes="128 16 32 64" cd ./icons || die for size in ${sizes}; do convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die