diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest index 6ef1a42022..14b37904a9 100644 --- a/app-office/obsidian/Manifest +++ b/app-office/obsidian/Manifest @@ -1,2 +1,4 @@ -DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3 DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe +DIST obsidian-1.4.13-amd64.tar.gz 99706160 BLAKE2B 3da6f0c2422bd6c8af611ccfe8f52a1a07ad1985a96c3e23a26daaa98d5cff67c137cba7eefa1b59f7d459888d12af4a00331f0cc184d980c316186ed4d6b1a2 SHA512 20b0fdba156bf4dac46e4bd3ddb49dedf005612bcb3687bb5da2cc5c2a8cafc9f43fa911488441adf9ee3c4e65d78158ca22665837894ca50e319774c22742b9 +DIST obsidian-1.4.13-arm64.tar.gz 100139943 BLAKE2B e132df95e4cc8f282fd0c8c81f4fc4a2642a325d0c203d774ee14e6f32a28b2c0c0b7346647e5eb42a0a125a5e74bf4fa8662c473436f79edc9ebd83939616c2 SHA512 046be9f527f4de1070b4bcbd9d3a89e484f55e7e065fd69cb5e8581b8fda4a23db05fba1b5b46af9cc1ff2c520bd5bfd565143bdf5cc7d17cd46d60fcf2fa3da +DIST obsidian-1.4.13.gh.deb 73357626 BLAKE2B d9e8623781b9777eeb9ff24267bfe5aefd02dd6a450063983f12f596c3fb713b3316bb25e4d040939939e554233718f90e4bb00c43b0f153625d922824df2146 SHA512 18806df0d5a77d99a044e2b365133fd6c719289505323e3c8c5555141532e6b5abedd6d45f882562368a4400bdd251e6afb964b68975a88c22bcf906f7885e4d diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml index ea4fe5bcb6..863411a516 100644 --- a/app-office/obsidian/metadata.xml +++ b/app-office/obsidian/metadata.xml @@ -5,6 +5,10 @@ rahul@sandhuservices.dev Rahul Sandhu + + artemis@artemis.sh + Artemis Everfree + Obsidian is a powerful and extensible knowledge base that works on top of your local folder of plain text files. diff --git a/app-office/obsidian/obsidian-1.2.8.ebuild b/app-office/obsidian/obsidian-1.2.8.ebuild deleted file mode 100644 index 7c6ac6f333..0000000000 --- a/app-office/obsidian/obsidian-1.2.8.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop unpacker xdg - -DESCRIPTION="A second brain, for you, forever." -HOMEPAGE="https://obsidian.md/" -SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb" - -LICENSE="Obsidian-EULA" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="app-accessibility/at-spi2-core:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/fontconfig - media-libs/mesa - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango -" - -DIR="/opt/${PN^}" -S="${WORKDIR}" - -QA_PREBUILT="${DIR#/}/chrome-sandbox - ${DIR#/}/chrome_crashpad_handler - ${DIR#/}/libGLESv2.so - ${DIR#/}/libEGL.so - ${DIR#/}/libffmpeg.so - ${DIR#/}/libvk_swiftshader.so - ${DIR#/}/libvulkan.so.1 - ${DIR#/}/obsidian - ${DIR#/}/resources/app.asar.unpacked/node_modules/* -" - -src_install() { - insinto ${DIR} - doins -r ${DIR#/}/* - - domenu usr/share/applications/obsidian.desktop - - for size in 16 32 48 64 128 256 512; do - doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png - done - - fperms 4755 ${DIR}/chrome-sandbox - fperms +x ${DIR}/obsidian - - dosym -r ${DIR}/obsidian /usr/bin/obsidian -} diff --git a/app-office/obsidian/obsidian-1.4.13.ebuild b/app-office/obsidian/obsidian-1.4.13.ebuild new file mode 100644 index 0000000000..47c9e43c29 --- /dev/null +++ b/app-office/obsidian/obsidian-1.4.13.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="102" +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" +inherit chromium-2 desktop linux-info unpacker xdg + +DESCRIPTION="A second brain, for you, forever." +HOMEPAGE="https://obsidian.md/" + +# For some reason, the main binary tarballs don't include the .desktop file or +# icon. The .deb does. One would hope then, that we could just download the .deb +# for each arch, but they only generate a .deb for amd64. Maybe we can get them +# to fix this, but in the meantime, we download the .deb purely to get the +# .desktop file and app icon out of it. +SRC_URI=" + https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb + amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz ) + +" + +RESTRICT="mirror strip bindist" + +LICENSE="Obsidian-EULA" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="appindicator wayland" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + appindicator? ( dev-libs/libayatana-appindicator ) +" + +DIR="/opt/${PN^}" + +# deb gets extracted to WORKDIR. actual program gets extracted to its own dir +# which depends on CPU arch. +S="${WORKDIR}" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +set_obsidian_src_dir() { + if use amd64; then + S_OBSIDIAN="${WORKDIR}/${P}" + elif use arm64; then + S_OBSIDIAN="${WORKDIR}/${P}-arm64" + else + die "Obsidian only supports amd64 and arm64" + fi +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # cleanup languages + set_obsidian_src_dir + pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed" + chromium_remove_language_paks + popd >/dev/null || die "location reset for language cleanup failed" + if use wayland; then + sed -i '/Exec/s/obsidian/obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations/' \ + "usr/share/applications/obsidian.desktop" || + die "sed failed for wayland" + fi +} + +src_install() { + insinto "${DIR}" + exeinto "${DIR}" + + set_obsidian_src_dir + pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed" + + doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1 + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \ + v8_context_snapshot.bin vk_swiftshader_icd.json + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DIR}/chrome-sandbox" + fperms 4711 "${DIR}/chrome-sandbox" + + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + popd >/dev/null || die "location reset for main install failed" + + dosym "${DIR}/obsidian" "/usr/bin/obsidian" + + if use appindicator; then + dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so" + fi + + domenu usr/share/applications/obsidian.desktop + + for size in 16 32 48 64 128 256 512; do + doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png + done +} diff --git a/app-shells/zsh-autosuggestions/Manifest b/app-shells/zsh-autosuggestions/Manifest index 9483341be9..ce4a3ffbcb 100644 --- a/app-shells/zsh-autosuggestions/Manifest +++ b/app-shells/zsh-autosuggestions/Manifest @@ -1,2 +1 @@ -DIST zsh-autosuggestions-0.6.4.tar.gz 29154 BLAKE2B 73bef916e4abb53f6bd7d8daa67040a78e30aaaf3d71ed04e2f32d4fbbbc35bda1fa8cbcb8957324b52c39bf7ed454132ede657b2caee03798a41a2c330df0d9 SHA512 226b99048577ecdbe198501e6e4b3156c3d849994f0a2f7e15687cd244d4cac472cbcf746aaa32b2886652f6962852a475777b5f2bfcb3a6d0279be98a6020bb DIST zsh-autosuggestions-0.7.0.tar.gz 27953 BLAKE2B b12c387a7a6424f1e3e2bc76a4d9f11a3bddb4bc1d69236249722a829c53f3136ff0cbf8aaf02faff54f49f7b7363fcd06576a2dc6c8026c62951da2d0ebc2c2 SHA512 b1a0a11a89095e4f142061525f92836588561e3bfab015bb96eabe3f1f68d0cfcd7483014dac8c5b2911e65640e9182c5fc4cb4fb53e3a05ef7997c006ff76a6 diff --git a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.4.ebuild b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.4.ebuild deleted file mode 100644 index 8cf8877692..0000000000 --- a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -USE_RUBY="ruby26 ruby27 ruby30" - -inherit ruby-fakegem - -DESCRIPTION="Fish-like autosuggestions for zsh" -HOMEPAGE="https://github.com/zsh-users/zsh-autosuggestions" -SRC_URI="https://github.com/zsh-users/zsh-autosuggestions/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -RDEPEND=">=app-shells/zsh-4.3.11" -BDEPEND=" - test? ( - ${RDEPEND} - app-misc/tmux - dev-ruby/bundler - dev-ruby/pry - dev-ruby/pry-byebug - dev-ruby/rspec-wait - ) -" - -RESTRICT="!test? ( test )" - -src_install() { - insinto "/usr/share/zsh/site-functions/" - doins "${WORKDIR}/all/${P}/${PN}.zsh" -} - -pkg_postinst() { - elog "In order to use ${CATEGORY}/${PN} add ". /usr/share/zsh/site-functions/zsh-autosuggestions.zsh" at the end of your ~/.zshrc (including the dot)" -} diff --git a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0-r1.ebuild b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0-r2.ebuild similarity index 91% rename from app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0-r1.ebuild rename to app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0-r2.ebuild index 834a9c1b9b..99ee170438 100644 --- a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0-r1.ebuild +++ b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" +USE_RUBY="ruby31 ruby32" RUBY_OPTIONAL="yes" inherit readme.gentoo-r1 ruby-ng @@ -50,6 +50,8 @@ src_prepare() { # FIXME: Disable failing tests rm "spec/options/buffer_max_size_spec.rb" \ || die "Could not remove tests" + rm "spec/integrations/auto_cd_spec.rb" \ + || die "Could not remove tests" if use test; then ruby-ng_src_prepare diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest index 301216c4b6..517548e387 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/Manifest +++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest @@ -1,2 +1,3 @@ DIST xdg-desktop-hyprland-0.4.0.tar.gz 50645 BLAKE2B 7f4e2d3102e848c15dfa6eeefa3d1375ea5b7dc34ae9c3b7fb42caded4090bf877a4d1eef1dfb42be37b7b9374487297b2b9366b619bb7f6700676222d218d81 SHA512 3b6955f15ae86a7552d39bf107cfd153fe0fff68cc4b87b277b8010f40a267446cc9c8f51975197f2fc4333b854e2e2a549e03cbdde63675a51dd12b0ce185f3 DIST xdg-desktop-hyprland-0.5.0.tar.gz 50608 BLAKE2B 7e2c7098f4be1a35c9093b1454c828467dfd52057dc30948ff1824c506115e0a1df8c037d7e85d79c0b845f682285c0fbf6786708537126cc3c94cd05e819a4a SHA512 1efbd3378e9d84f47189264b1b98e65cc73aeea916e31f085ba4503b9e4e25f8121894433adf21d0174ceae3588048a6a83c440cb57e8d2e62301629e93f8c91 +DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10 diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild new file mode 100644 index 0000000000..62aa1bd3e5 --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs + +DESCRIPTION="xdg-desktop-portal backend for hyprland" +HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \ + -> xdg-desktop-hyprland-${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0/9999" +IUSE="elogind systemd" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=media-video/pipewire-0.3.41:= + dev-cpp/sdbus-c++ + dev-libs/inih + dev-libs/wayland + dev-qt/qtbase + dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtwayland:6 + dev-qt/qtwidgets + media-libs/mesa + sys-apps/util-linux + x11-libs/libdrm + || ( + systemd? ( >=sys-apps/systemd-237 ) + elogind? ( >=sys-auth/elogind-237 ) + sys-libs/basu + ) +" +RDEPEND=" + ${DEPEND} + sys-apps/xdg-desktop-portal +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.24 + dev-libs/hyprland-protocols + virtual/pkgconfig +" + +pkg_setup() { + [[ ${MERGE_TYPE} == binary ]] && return + + if tc-is-gcc; then + STDLIBVER=$(echo '#include ' | $(tc-getCXX) -x c++ -dM -E - | \ + grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/') + + if [[ ${STDLIBVER} -lt 13 ]]; then + die "XDPH requires >=sys-devel/gcc-13.0.0 to build" + fi + else + die "XDPH 1.1.0 won't build with clang.\ + See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81"; + fi +} + +src_compile() { + meson_src_compile + emake -C hyprland-share-picker all +} + +src_install() { + meson_src_install + dobin "${S}/hyprland-share-picker/build/hyprland-share-picker" +} diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild index 17ebcc66ec..62aa1bd3e5 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit meson +inherit meson toolchain-funcs DESCRIPTION="xdg-desktop-portal backend for hyprland" HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland" @@ -24,6 +24,7 @@ REQUIRED_USE="?? ( elogind systemd )" DEPEND=" >=media-video/pipewire-0.3.41:= + dev-cpp/sdbus-c++ dev-libs/inih dev-libs/wayland dev-qt/qtbase @@ -50,16 +51,20 @@ BDEPEND=" virtual/pkgconfig " -src_configure() { - local emesonargs=() - if use systemd; then - emesonargs+=(-Dsd-bus-provider=libsystemd) - elif use elogind; then - emesonargs+=(-Dsd-bus-provider=libelogind) +pkg_setup() { + [[ ${MERGE_TYPE} == binary ]] && return + + if tc-is-gcc; then + STDLIBVER=$(echo '#include ' | $(tc-getCXX) -x c++ -dM -E - | \ + grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/') + + if [[ ${STDLIBVER} -lt 13 ]]; then + die "XDPH requires >=sys-devel/gcc-13.0.0 to build" + fi else - emesonargs+=(-Dsd-bus-provider=basu) + die "XDPH 1.1.0 won't build with clang.\ + See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81"; fi - meson_src_configure } src_compile() { diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest deleted file mode 100644 index f1202584c5..0000000000 --- a/gui-wm/dwl/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10 SHA512 c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215 -DIST dwl-0.4.tar.gz 55527 BLAKE2B a4c6d763574f2bf88db959a4730447874de61d4d868d12285feebc121204c4dbda82ab3cfef791999e138898daa5564d295d4943aff015d91d62d9c9ade6d005 SHA512 6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2 diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild deleted file mode 100644 index 8438f673a7..0000000000 --- a/gui-wm/dwl/dwl-0.3.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic savedconfig toolchain-funcs desktop - -DESCRIPTION="dwm for Wayland" -HOMEPAGE="https://github.com/djpohly/dwl" -SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC0-1.0 GPL-3 MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X" - -RDEPEND=" - dev-libs/libinput - dev-libs/wayland - gui-libs/wlroots:0/15[X(-)?] - x11-libs/libxkbcommon - X? ( x11-libs/libxcb ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/wayland-protocols - dev-util/wayland-scanner - virtual/pkgconfig -" - -src_prepare() { - default - - restore_config config.h -} - -src_configure() { - use X && append-cppflags -DXWAYLAND - tc-export CC -} - -src_install() { - emake PREFIX="${ED}/usr" install - - domenu "${FILESDIR}"/dwl.desktop - - einstalldocs - - save_config config.h -} diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r1.ebuild deleted file mode 100644 index a7cb0860f4..0000000000 --- a/gui-wm/dwl/dwl-0.4-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic savedconfig toolchain-funcs - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/djpohly/dwl" - inherit git-r3 - - # 9999-r0: main (latest wlroots release) - # 9999-r1: wlroots-next (wlroots-9999) - case ${PVR} in - 9999) - EGIT_BRANCH=main - WLROOTS_SLOT="0/16" - ;; - 9999-r1) - EGIT_BRANCH=wlroots-next - WLROOTS_SLOT="0/9999" - ;; - esac -else - WLROOTS_SLOT="0/16" - SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="dwm for Wayland" -HOMEPAGE="https://github.com/djpohly/dwl" - -LICENSE="CC0-1.0 GPL-3 MIT" -SLOT="0" -IUSE="X" - -RDEPEND=" - dev-libs/libinput:= - dev-libs/wayland - gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] - x11-libs/libxkbcommon - X? ( - x11-libs/libxcb:= - x11-libs/xcb-util-wm - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/wayland-protocols - dev-util/wayland-scanner - virtual/pkgconfig -" - -src_prepare() { - restore_config config.h - - default -} - -src_configure() { - sed -i "s:/local::g" config.mk || die - - sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die - - tc-export CC - - if use X; then - append-cppflags '-DXWAYLAND' - append-libs '-lxcb' '-lxcb-icccm' - fi -} - -src_install() { - default - - insinto /usr/share/wayland-sessions - doins "${FILESDIR}"/dwl.desktop - - save_config config.h -} diff --git a/gui-wm/dwl/dwl-9999-r1.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild deleted file mode 100644 index 71b919a82b..0000000000 --- a/gui-wm/dwl/dwl-9999-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic savedconfig toolchain-funcs - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/djpohly/dwl" - inherit git-r3 - - # 9999-r0: main (latest wlroots release) - # 9999-r1: wlroots-next (wlroots-9999) - case ${PVR} in - 9999) - EGIT_BRANCH=main - WLROOTS_SLOT="0/16" - ;; - 9999-r1) - EGIT_BRANCH=wlroots-next - WLROOTS_SLOT="0/9999" - ;; - esac -else - WLROOTS_SLOT="0/16" - SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="dwm for Wayland" -HOMEPAGE="https://github.com/djpohly/dwl" - -LICENSE="CC0-1.0 GPL-3 MIT" -SLOT="0" -IUSE="X" - -RDEPEND=" - dev-libs/libinput:= - dev-libs/wayland - gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] - x11-libs/libxkbcommon - X? ( - x11-libs/libxcb:= - x11-libs/xcb-util-wm - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-libs/wayland-protocols-1.32 - dev-util/wayland-scanner - virtual/pkgconfig -" - -src_prepare() { - restore_config config.h - - default -} - -src_configure() { - sed -i "s:/local::g" config.mk || die - - sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die - - tc-export CC - - if use X; then - append-cppflags '-DXWAYLAND' - append-libs '-lxcb' '-lxcb-icccm' - fi -} - -src_install() { - default - - insinto /usr/share/wayland-sessions - doins "${FILESDIR}"/dwl.desktop - - save_config config.h -} diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild deleted file mode 100644 index a7cb0860f4..0000000000 --- a/gui-wm/dwl/dwl-9999.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic savedconfig toolchain-funcs - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/djpohly/dwl" - inherit git-r3 - - # 9999-r0: main (latest wlroots release) - # 9999-r1: wlroots-next (wlroots-9999) - case ${PVR} in - 9999) - EGIT_BRANCH=main - WLROOTS_SLOT="0/16" - ;; - 9999-r1) - EGIT_BRANCH=wlroots-next - WLROOTS_SLOT="0/9999" - ;; - esac -else - WLROOTS_SLOT="0/16" - SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="dwm for Wayland" -HOMEPAGE="https://github.com/djpohly/dwl" - -LICENSE="CC0-1.0 GPL-3 MIT" -SLOT="0" -IUSE="X" - -RDEPEND=" - dev-libs/libinput:= - dev-libs/wayland - gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] - x11-libs/libxkbcommon - X? ( - x11-libs/libxcb:= - x11-libs/xcb-util-wm - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/wayland-protocols - dev-util/wayland-scanner - virtual/pkgconfig -" - -src_prepare() { - restore_config config.h - - default -} - -src_configure() { - sed -i "s:/local::g" config.mk || die - - sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die - - tc-export CC - - if use X; then - append-cppflags '-DXWAYLAND' - append-libs '-lxcb' '-lxcb-icccm' - fi -} - -src_install() { - default - - insinto /usr/share/wayland-sessions - doins "${FILESDIR}"/dwl.desktop - - save_config config.h -} diff --git a/gui-wm/dwl/files/dwl.desktop b/gui-wm/dwl/files/dwl.desktop deleted file mode 100644 index 343f5d4cd4..0000000000 --- a/gui-wm/dwl/files/dwl.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=dwl -Comment=dwm for Wayland -Exec=/usr/bin/dwl -TryExec=dwl -Icon= -Type=Application diff --git a/gui-wm/dwl/metadata.xml b/gui-wm/dwl/metadata.xml deleted file mode 100644 index edea311e77..0000000000 --- a/gui-wm/dwl/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - leohdz172@proton.me - Leonardo Hernández Hernández - - - svdm-gentoo@protonmail.com - Simon van der Maas - - - efe.izbudak@metu.edu.tr - Efe İzbudak - - - djpohly/dwl - - diff --git a/media-sound/musikcube/Manifest b/media-sound/musikcube/Manifest index e6427367e9..0ce1f179d3 100644 --- a/media-sound/musikcube/Manifest +++ b/media-sound/musikcube/Manifest @@ -1 +1,2 @@ DIST musikcube-3.0.1.tar.gz 4759002 BLAKE2B c312067fefaeaeb1c56b15fdcc83e1a73be648d88db54dc43d5c0f3e2ed1f226480612461b7239087ebfadcbcc38ed432622873fc40d3739daca1d32d19bea7f SHA512 ff18b69bf9a295925ede561c80a66f3fce7c00fdc29906a39e89b520c49467ddaa88cb69406a8bd012eaa851716b6515e93a5a0d0f75f2f24e64ced3fef4b9c7 +DIST musikcube-3.0.2.tar.gz 4800648 BLAKE2B 64672127c90b6bfcc4e3dcb700b9fede0b88ac8d9dc3b2bd84f666b8ed000f9185a0622f06548b29ff03e143e1a49461d3b51727fddce189569a97904d834dc4 SHA512 33d7fa0768c235afa2d877fb2bd3523f47c2fcf1bd500daabbd3755645439c51a1d477e8e8fe7f2a6aba451121b0d600e413fa0a491da9947a4dff7cb0430d82 diff --git a/media-sound/musikcube/musikcube-3.0.2.ebuild b/media-sound/musikcube/musikcube-3.0.2.ebuild new file mode 100644 index 0000000000..f03889ccf1 --- /dev/null +++ b/media-sound/musikcube/musikcube-3.0.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Excellent terminal music player, support almost every known sound system." +HOMEPAGE="https://github.com/clangen/musikcube" +SRC_URI="https://github.com/clangen/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+alsa +libopenmpt pipewire pulseaudio +mpris portaudio sndio systemd elogind basu" + +REQUIRED_USE=" + mpris? ( ^^ ( systemd elogind basu ) ) +" + +DEPEND=" + net-libs/libmicrohttpd:= + sys-libs/ncurses:= + media-libs/libogg + media-video/ffmpeg:= + sys-libs/zlib:= + media-libs/libvorbis + net-misc/curl + media-sound/lame + dev-libs/libev + media-libs/taglib + dev-cpp/asio + libopenmpt? ( + media-libs/libopenmpt + media-sound/mpg123 + ) + mpris? ( + || ( + elogind? ( >=sys-auth/elogind-239 ) + systemd? ( sys-apps/systemd ) + basu? ( sys-libs/basu ) + ) + ) + pipewire? ( + media-video/pipewire:= + ) + portaudio? ( + media-libs/portaudio + ) + pulseaudio? ( + media-libs/libpulse + ) + sndio? ( + media-sound/sndio:= + ) + alsa? ( + media-libs/alsa-lib + ) +" + +RDEPEND="${DEPEND}" + +BDEPEND=" + dev-util/cmake + dev-util/patchelf +" +PATCHES=( + "${FILESDIR}/musikcube-3.0.1-tinfow.patch" +) + +src_configure() { + # Gentoo users enable ccache via e.g. FEATURES=ccache or + # other means. We don't want the build system to enable it for us. + sed -i -e '/find_program(CCACHE_FOUND ccache)/d' CMakeLists.txt || die + + use mpris || sed -i '/pkg_check_modules.*SDBUS/d' src/plugins/mpris/CMakeLists.txt || die + + local mycmakeargs=( + $(usex alsa '' -DLIBASOUND=LIBASOUND-NOTFOUND) + -DENABLE_PIPEWIRE=$(usex pipewire true false) + $(usex pulseaudio '' -DLIBPULSE=LIBPULSE-NOTFOUND) + $(usex portaudio '' -DLIBPORTAUDIO=LIBPORTAUDIO-NOTFOUND) + $(usex libopenmpt '' -DLIBOPENMPT=LIBOPENMPT-NOTFOUND) + $(usex sndio '' -DLIBSNDIO=LIBSNDIO-NOTFOUND) + -DBUILD_STANDALONE=false + ) + + if use mpris; then + if use elogind; then + mycmakeargs+=( -DUSE_ELOGIND=true ) + fi + if use basu; then + mycmakeargs+=( -DUSE_BASU=true ) + fi + fi + + cmake_src_configure +} diff --git a/net-voip/discover-overlay/Manifest b/net-voip/discover-overlay/Manifest index b9b08a79af..1807f385c2 100644 --- a/net-voip/discover-overlay/Manifest +++ b/net-voip/discover-overlay/Manifest @@ -1,3 +1,3 @@ DIST discover-overlay-0.4.5.tar.gz 76114 BLAKE2B c0c735cea547374f6f7338e09954930a105fc883ea9faa1f4e457800636694d47988726884360643eab9de0df2786ef1242fa036df15896301a48f0f2e684312 SHA512 6a7121c0923a68bf6b278b6985a82a3bba98b155c8812056cc0532961cb54ee5045c1279a32fdde8708a15f444d2a2ba0afdeea61f79a89cc542b3a1d5b2aed4 DIST discover-overlay-0.5.4.tar.gz 87273 BLAKE2B bb34ec75f575aadc1ede2ebc7118026bdc47c3c5f0a13a994e28811e6765c3f375c45b941f99aa72b7e779e5d0e94915089d4c8a8f2b7a262723e09d3032813b SHA512 8e1893636063b741335c19438a85c65353b0ea82269de8deb342a3537016b3324d3a8549dd6f7d08a029512d4a34870bfb4ef88e57bd2a32be7766536f6b2040 -DIST discover-overlay-0.6.5.tar.gz 98959 BLAKE2B 7b0e5cf79dbdd97793385e2ba2ed2859d7496cfcb762c7f26aa81d77db6f5415d624f971aaaf1e1b16199a9797c674e9683b2e2bd35ac92846d9b499e9771151 SHA512 ccd066a8be286053a3096f0c15a8417847a1b9e48321c98eee7a2f15338a0fa497f85ab27eaa30aa5987c448bb3383b0d6be7610abea891883cdaf79ec308cb5 +DIST discover-overlay-0.6.7.gh.tar.gz 102866 BLAKE2B a80cf04b1bcdfd40631b6f978cf631829655a3e6fcfbd017caff4b25daf73ba28167917e83b541e296e2b17757eb198bf4d7a0d070817747a60010b30836b374 SHA512 f989c91384d4e635cc02eb58178868c60587edfff392b69666d968aca25ab2c0828538b893c8a5874ae0800502f6bd1b76b1ecd5ed54275c25e791cae5f37e8d diff --git a/net-voip/discover-overlay/discover-overlay-0.6.5.ebuild b/net-voip/discover-overlay/discover-overlay-0.6.7.ebuild similarity index 96% rename from net-voip/discover-overlay/discover-overlay-0.6.5.ebuild rename to net-voip/discover-overlay/discover-overlay-0.6.7.ebuild index 4d78332040..947232b5df 100644 --- a/net-voip/discover-overlay/discover-overlay-0.6.5.ebuild +++ b/net-voip/discover-overlay/discover-overlay-0.6.7.ebuild @@ -10,7 +10,7 @@ inherit distutils-r1 xdg DESCRIPTION="Yet another Discord overlay for Linux written in Python using GTK3" HOMEPAGE="https://github.com/trigg/Discover" -SRC_URI="https://github.com/trigg/Discover/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/trigg/Discover/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest index 09b6613860..b8c06b52b0 100644 --- a/www-apps/code-server-bin/Manifest +++ b/www-apps/code-server-bin/Manifest @@ -6,3 +6,5 @@ DIST code-server-4.16.0-linux-amd64.tar.gz 99495017 BLAKE2B 3d4afbc0d64bc31bd1ca DIST code-server-4.16.0-linux-arm64.tar.gz 98257595 BLAKE2B 907cb8d0fd15e81eef3ed3cfa93018f289536cea480212424d89c90624dcd1bee3563008565fb8641fb2859989c211c1d1d791c42bf068e53bd43f71ecfa9eb5 SHA512 abc69af88743029d3bc2f1f4f7f2f46f671929f61dd193a531afba96bf678454b8ea0794709100aab5c6dbf86382bd9edb94582a2e6426219851e40e86bd489a DIST code-server-bin-4.16.1-amd64.tar.gz 99495970 BLAKE2B 361c07e00ba297b2a901a133685b53d31e3804ce31c21b279619d61ae867c91261f8af9d1049a6467a87e5f355b32177207e68bdd970788e7ba8ac653deade6f SHA512 d0f657a6e1a455d8d5155174ac7700f5562513dccb816333286221d881346cbc837b3fdb1562966249535d975c017cd5f4f0dada2526517ad2622d945f2bd665 DIST code-server-bin-4.16.1-arm64.tar.gz 98260104 BLAKE2B bc889fdfe577b7115d2a6411354b915b3da02a1a22bdf576aba99ade9819a613ec76d4b26130d06c49e8e42eeb3e3fdf40a89b1910e43f3704761494d315f3d9 SHA512 f9bd711fe2334501bf339c2bed73a9411d898bf44dd34cf0ff7a476b74ae7397032186aca3c911321ce6808cecb3e67f244eee58a55a50ae9c62d9fe65b39c28 +DIST code-server-bin-4.17.0-amd64.tar.gz 96605967 BLAKE2B 631bb923170d4530596d313540df4f96fbd4c6ab481206de6106880772645d953731bec15b391201d9da5e87fb34350456f6301b7db4a2b4489c393bc82c53d8 SHA512 5b2d2ae4bef758364fa8080ac4fb6f60a2136d616f76ffe09e64de51c2046c5d3ff86425ce02d6cce32e91c0ceeb9391e3e86e2ef852db5c9b9a4cf8ba2b9d79 +DIST code-server-bin-4.17.0-arm64.tar.gz 95927302 BLAKE2B 8953ef7979eb35ddadc4238f631c385a2343fef93501e83387b6cb85575c5bb2dbbcd895bb11c0eb4ebf39980eebd4f93eef21881c1aa9c931605134e84a1df4 SHA512 6448e715a5541e38bf0bc75eafe6c2c5edc6e4628350531b0021139aaa40bd13dface37f79bad6009cd1932695468043953fede5507e9c7b6825ca7ae33c6f90 diff --git a/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild new file mode 100644 index 0000000000..56d038b6d0 --- /dev/null +++ b/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" +MY_P="${MY_PN}-${PV}" +BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" + +inherit systemd + +DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" +HOMEPAGE="https://coder.com/" +SRC_URI=" + amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz ) +" +S="${WORKDIR}/${MY_P}-linux-${ARCH}" + +LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD" +LICENSE+=" LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +RESTRICT="test" + +RDEPEND=" + app-crypt/libsecret + >=net-libs/nodejs-18.0.0[ssl] + sys-apps/ripgrep + virtual/krb5 +" + +PATCHES=( "${FILESDIR}/${PN}-node.patch" ) + +DOCS=( README.md ThirdPartyNotices.txt ) + +QA_PREBUILT="*" + +# Relative +VSCODE_MODULES="lib/vscode/node_modules" +QA_PRESTRIPPED=" + opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node + opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node + opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node +" + +src_prepare() { + default + + # We remove as much precompiled code as we can, + # node modules not written in JS cannot be removed + # thus "-bin". + + # use system node + rm ./lib/node || die "Failed to remove bundled nodejs" + + # remove bundled ripgrep binary + rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \ + || die "Failed to remove bundled ripgrep" + + # Only required at build time + find "${S}" -type l -name python3 -delete || die + + # not needed + rm ./postinstall.sh || die + + # For windows + rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die + + if [[ $ELIBC != "musl" ]]; then + rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die + elif [[ $ELIBC != "glibc" ]]; then + rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die + rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die + rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die + fi + + rm -r ./lib/vscode/extensions/node_modules/.bin || die +} + +src_install() { + einstalldocs + + insinto "/opt/${PN}" + doins -r . + fperms +x "/opt/${PN}/bin/${MY_PN}" + dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}" + dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dosym -r "/usr/bin/rg" \ + "/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg" + + systemd_douserunit "${FILESDIR}/${PN}.service" + newinitd "${FILESDIR}/${PN}.rc" "${PN}" + newconfd "${FILESDIR}/${PN}.conf" "${PN}" +} + +pkg_postinst() { + elog "When using code-server systemd service run it as a user" + elog "For example: 'systemctl --user enable --now code-server'" +}