From 25922912c7e37f3bc3000e71b647e77677d8f2c5 Mon Sep 17 00:00:00 2001 From: coast Date: Mon, 12 Oct 2026 14:41:07 +0330 Subject: sync --- .../cachyos-settings-1.4.1.exheres-0 | 87 ++++++++++++++++++++++ .../dmemcg-booster/dmemcg-booster-0.1.3.exheres-0 | 40 ++++++++++ .../app-misc/ente-auth/ente-auth-4.4.25.exheres-0 | 76 +++++++++++++++++++ .../app-misc/ente-auth/files/enteauth-launcher | 3 + .../app-misc/nvchecker/nvchecker-2.22.exheres-0 | 19 +++++ .../app-misc/protonplus/protonplus-0.6.8.exheres-0 | 55 ++++++++++++++ packages/app-misc/shuck/shuck-0.2.4.exheres-0 | 10 +++ packages/app-misc/ydotool/ydotool-1.0.4.exheres-0 | 29 ++++++++ 8 files changed, 319 insertions(+) create mode 100644 packages/app-misc/cachyos-settings/cachyos-settings-1.4.1.exheres-0 create mode 100644 packages/app-misc/dmemcg-booster/dmemcg-booster-0.1.3.exheres-0 create mode 100644 packages/app-misc/ente-auth/ente-auth-4.4.25.exheres-0 create mode 100644 packages/app-misc/ente-auth/files/enteauth-launcher create mode 100644 packages/app-misc/nvchecker/nvchecker-2.22.exheres-0 create mode 100644 packages/app-misc/protonplus/protonplus-0.6.8.exheres-0 create mode 100644 packages/app-misc/shuck/shuck-0.2.4.exheres-0 create mode 100644 packages/app-misc/ydotool/ydotool-1.0.4.exheres-0 (limited to 'packages/app-misc') diff --git a/packages/app-misc/cachyos-settings/cachyos-settings-1.4.1.exheres-0 b/packages/app-misc/cachyos-settings/cachyos-settings-1.4.1.exheres-0 new file mode 100644 index 0000000..38bfe29 --- /dev/null +++ b/packages/app-misc/cachyos-settings/cachyos-settings-1.4.1.exheres-0 @@ -0,0 +1,87 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require systemd-service [ systemd_files=[ usr/lib/systemd/system/pci-latency.service ] ] \ + udev-rules [ udev_files=[ usr/lib/udev/rules.d/{20-audio-pm,40-hpet-permissions,50-sata,60-ioschedulers,69-hdparm,71-nvidia,99-cpu-dma-latency}.rules ] ] + +SUMMARY="Configuration files and tweaks from CachyOS" +HOMEPAGE="https://github.com/CachyOS/CachyOS-Settings" +DOWNLOADS="${HOMEPAGE}/archive/refs/tags/${PV}.tar.gz -> ${PNV}.tar.gz" + +LICENCES="GPL-3" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="zram" + +DEPENDENCIES=" + run: + app-shells/bash + sys-apps/hdparm + sys-apps/pciutils + sys-apps/systemd + sys-process/procps + zram? ( + app-arch/zstd + sys-apps/zram-generator + ) +" + +WORK="${WORKBASE}/CachyOS-Settings-${PV}" + +src_prepare() { + edo sed -i "s@ExecStart=/usr/bin/pci-latency@ExecStart=/usr/$(exhost --target)/bin/pci-latency@" \ + usr/lib/systemd/system/pci-latency.service +} + +src_compile() { + : +} + +src_install() { + insinto /etc/security/limits.d + doins etc/security/limits.d/20-audio.conf + + exeinto /usr/$(exhost --target)/bin + doexe usr/bin/{dlss-swapper,dlss-swapper-dll,pci-latency,zink-run,game-performance,kerver} + + insinto /usr/$(exhost --target)/lib/modprobe.d + doins usr/lib/modprobe.d/{amdgpu,blacklist,nvidia}.conf + + insinto /usr/$(exhost --target)/lib/modules-load.d + doins usr/lib/modules-load.d/ntsync.conf + + insinto /usr/$(exhost --target)/lib/sysctl.d + doins usr/lib/sysctl.d/70-cachyos-settings.conf + + local systemd_dir="/usr/$(exhost --target)/lib/systemd" + insinto "${systemd_dir}/journald.conf.d" + doins usr/lib/systemd/journald.conf.d/00-journal-size.conf + + insinto "${systemd_dir}/system.conf.d" + doins usr/lib/systemd/system.conf.d/{00-timeout,10-limits}.conf + + install_systemd_files + + insinto "${SYSTEMDSYSTEMUNITDIR}" + doins -r usr/lib/systemd/system/{rtkit-daemon,user@}.service.d + doins -r usr/lib/systemd/system/{session.slice,system.slice,user-.slice}.d + + insinto "${systemd_dir}/user.conf.d" + doins usr/lib/systemd/user.conf.d/{00-timeout,10-limits}.conf + + if option zram; then + insinto "${systemd_dir}" + doins usr/lib/systemd/zram-generator.conf + + insinto "${UDEVRULESDIR}" + doins usr/lib/udev/rules.d/30-zram.rules + fi + + insinto "${SYSTEMDTMPFILESDIR}" + doins usr/lib/tmpfiles.d/{coredump,thp-shrinker,thp}.conf + + install_udev_files + + insinto /usr/share/X11/xorg.conf.d + doins usr/share/X11/xorg.conf.d/20-touchpad.conf +} diff --git a/packages/app-misc/dmemcg-booster/dmemcg-booster-0.1.3.exheres-0 b/packages/app-misc/dmemcg-booster/dmemcg-booster-0.1.3.exheres-0 new file mode 100644 index 0000000..66548df --- /dev/null +++ b/packages/app-misc/dmemcg-booster/dmemcg-booster-0.1.3.exheres-0 @@ -0,0 +1,40 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require cargo [ rust_minimum_version=1.85 ] \ + gitlab [ prefix=https://gitlab.steamos.cloud user=holo tag=${PV} new_download_scheme=true ] \ + systemd-service [ systemd_files=[ dmemcg-booster-system.service ] systemd_user_files=[ dmemcg-booster-user.service ] ] + +SUMMARY="Boost foreground games with dmem cgroup limits" + +LICENCES="MIT" +SLOT="0" +PLATFORMS="~amd64" + +DEPENDENCIES+=" + build: + dev-util/pkgconf + + build+run: + sys-apps/dbus + + run: + sys-apps/systemd +" + +src_unpack() { + gitlab_src_unpack + edo cd "${WORK}" + ecargo_fetch +} + +src_prepare() { + default + edo sed -i "s@ExecStart=/usr/bin/dmemcg-booster@ExecStart=/usr/$(exhost --target)/bin/dmemcg-booster@" \ + dmemcg-booster-{system,user}.service +} + +src_install() { + cargo_src_install + install_systemd_files +} diff --git a/packages/app-misc/ente-auth/ente-auth-4.4.25.exheres-0 b/packages/app-misc/ente-auth/ente-auth-4.4.25.exheres-0 new file mode 100644 index 0000000..e839cbd --- /dev/null +++ b/packages/app-misc/ente-auth/ente-auth-4.4.25.exheres-0 @@ -0,0 +1,76 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require freedesktop-desktop freedesktop-mime gtk-icon-cache + +SUMMARY="End-to-end encrypted two-factor authenticator" +HOMEPAGE="https://ente.io/auth/ https://github.com/ente-io/ente" +DOWNLOADS="https://github.com/ente-io/ente/releases/download/auth-v${PV}/ente-auth-v${PV}-x86_64.AppImage -> ${PNV}.AppImage" + +LICENCES="AGPL-3+" +SLOT="0" +PLATFORMS="~amd64" +RESTRICT="mirror strip test" + +DEPENDENCIES=" + build: + sys-fs/squashfs-tools + + run: + dev-libs/libayatana-appindicator + dev-libs/libepoxy + dev-libs/libsecret:1 + dev-libs/openssl:3 + net-misc/curl + sys-libs/zlib + x11-libs/gtk+:3 +" + +WORK="${WORKBASE}/squashfs-root" + +pkg_setup() { + exdirectory --allow /opt +} + +src_unpack() { + local checksum + checksum=$(sha256sum "${FETCHEDDIR}/${PNV}.AppImage") || die "Cannot checksum Ente Auth AppImage" + [[ ${checksum%% *} == c85f4a9a75e8b97a54f99a7f6db4307275b42f6465d76515354fe42231e12b85 ]] || + die "Ente Auth AppImage changed; check version before updating checksum" + + edo unsquashfs -offset 944632 -dest "${WORK}" "${FETCHEDDIR}/${PNV}.AppImage" +} + +src_install() { + edo mkdir -p "${IMAGE}/opt/enteauth" + edo cp -a "${WORK}/data" "${WORK}/lib" "${WORK}/enteauth" "${IMAGE}/opt/enteauth/" + edo rm "${IMAGE}/opt/enteauth/lib/libdartjni.so" + + exeinto /usr/$(exhost --target)/bin + newexe "${FILES}/enteauth-launcher" enteauth + + insinto /usr/share/applications + edo sed 's@^Exec=.*@Exec=enteauth %u@' "${WORK}/enteauth.desktop" > "${WORKBASE}/enteauth.desktop" || die + doins "${WORKBASE}/enteauth.desktop" + + insinto /usr/share/icons + doins -r "${WORK}/usr/share/icons/hicolor" + + insinto /usr/share/pixmaps + doins "${WORK}/enteauth.png" + + insinto /usr/share/metainfo + doins "${WORK}/usr/share/metainfo/ente_auth.appdata.xml" +} + +pkg_postinst() { + freedesktop-mime_pkg_postinst + freedesktop-desktop_pkg_postinst + gtk-icon-cache_pkg_postinst +} + +pkg_postrm() { + freedesktop-mime_pkg_postrm + freedesktop-desktop_pkg_postrm + gtk-icon-cache_pkg_postrm +} diff --git a/packages/app-misc/ente-auth/files/enteauth-launcher b/packages/app-misc/ente-auth/files/enteauth-launcher new file mode 100644 index 0000000..2478e84 --- /dev/null +++ b/packages/app-misc/ente-auth/files/enteauth-launcher @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/enteauth || exit 1 +exec ./enteauth "$@" diff --git a/packages/app-misc/nvchecker/nvchecker-2.22.exheres-0 b/packages/app-misc/nvchecker/nvchecker-2.22.exheres-0 new file mode 100644 index 0000000..d840b0c --- /dev/null +++ b/packages/app-misc/nvchecker/nvchecker-2.22.exheres-0 @@ -0,0 +1,19 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require pypi py-pep517 [ backend=setuptools blacklist="3.9" multibuild=false ] + +SUMMARY="New version checker for software" + +LICENCES="MIT" +SLOT="0" +PLATFORMS="~amd64" + +DEPENDENCIES=" + run: + dev-python/structlog[python_abis:*(-)?] + dev-python/platformdirs[python_abis:*(-)?] + dev-python/tornado[>=6][python_abis:*(-)?] + dev-python/pycurl[python_abis:*(-)?] + python_abis:3.10? ( dev-python/tomli[python_abis:3.10] ) +" diff --git a/packages/app-misc/protonplus/protonplus-0.6.8.exheres-0 b/packages/app-misc/protonplus/protonplus-0.6.8.exheres-0 new file mode 100644 index 0000000..62f36e1 --- /dev/null +++ b/packages/app-misc/protonplus/protonplus-0.6.8.exheres-0 @@ -0,0 +1,55 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require meson vala [ vala_dep=true vala_slots=[ 0.56 ] ] gsettings gtk-icon-cache + +SUMMARY="A modern compatibility tools manager" +HOMEPAGE="https://github.com/Vysp3r/ProtonPlus" +DOWNLOADS="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz -> ${PNV}.tar.gz" + +LICENCES="GPL-3+" +SLOT="0" +PLATFORMS="~amd64" + +DEPENDENCIES+=" + build: + dev-util/desktop-file-utils + sys-devel/gettext + virtual/pkg-config + + build+run: + app-arch/libarchive + base/libgee:0.8 + core/json-glib + dev-libs/appstream:5.3 + dev-libs/glib:2 + dev-libs/libadwaita:1[>=1.6][vapi] + gnome-desktop/libsoup:3.0[vapi] + media-libs/SDL:3[>=3.2.0] + x11-libs/cairo + x11-libs/gtk:4.0 + x11-libs/libnotify +" + +MESON_SOURCE="${WORKBASE}/ProtonPlus-${PV}" + +pkg_setup() { + meson_pkg_setup + vala_pkg_setup +} + +src_install() { + export GSETTINGS_DISABLE_SCHEMAS_COMPILE=1 + meson_src_install + unset GSETTINGS_DISABLE_SCHEMAS_COMPILE +} + +pkg_postinst() { + gsettings_pkg_postinst + gtk-icon-cache_pkg_postinst +} + +pkg_postrm() { + gsettings_pkg_postrm + gtk-icon-cache_pkg_postrm +} diff --git a/packages/app-misc/shuck/shuck-0.2.4.exheres-0 b/packages/app-misc/shuck/shuck-0.2.4.exheres-0 new file mode 100644 index 0000000..e63bc20 --- /dev/null +++ b/packages/app-misc/shuck/shuck-0.2.4.exheres-0 @@ -0,0 +1,10 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require cargo [ rust_minimum_version=1.94.1 crate_path=crates/shuck-cli ] github [ user=ewhauser tag=v${PV} ] + +SUMMARY="Shell script linter" + +LICENCES="MIT" +SLOT="0" +PLATFORMS="~amd64" diff --git a/packages/app-misc/ydotool/ydotool-1.0.4.exheres-0 b/packages/app-misc/ydotool/ydotool-1.0.4.exheres-0 new file mode 100644 index 0000000..f5cb832 --- /dev/null +++ b/packages/app-misc/ydotool/ydotool-1.0.4.exheres-0 @@ -0,0 +1,29 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require cmake systemd-service + +SUMMARY="Generic command-line automation tool without X" +HOMEPAGE="https://github.com/ReimuNotMoe/ydotool" +DOWNLOADS="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${PNV}.tar.gz" + +LICENCES="AGPL-3+" +SLOT="0" +PLATFORMS="~amd64" + +DEPENDENCIES=" + build: + app-doc/scdoc + dev-util/pkgconf + sys-kernel/linux-headers + + run: + sys-apps/systemd +" + +CMAKE_SRC_CONFIGURE_PARAMS=( -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ) + +src_prepare() { + default + edo sed -i "/^add_subdirectory(Daemon)/i set(SD_UNITDIR \"${SYSTEMDUSERUNITDIR}\")" "${CMAKE_SOURCE}/CMakeLists.txt" +} -- cgit v1.3