diff --git a/gui-apps/hyprpicker/Manifest b/gui-apps/hyprpicker/Manifest index dd0e501a39..ff4cd1c9c0 100644 --- a/gui-apps/hyprpicker/Manifest +++ b/gui-apps/hyprpicker/Manifest @@ -1,2 +1,3 @@ DIST hyprpicker-0.1.1.gh.tar.gz 23067 BLAKE2B 984b647ccba57d70bb6b43595c592f33189e90b9edfe0618dacfdfa14bce0307c5c79764e9c4b3b570287f54a1c1bfe3ff0f0337d24ad28fa35b40ab97a861f9 SHA512 6e08411918cf25b92d033f16f76e3004841dc48360a4f1e1d2d436ab2b4361caca0dd0b453c4c498b463606b88615958605e653fa0e501583988e7b2cea68c71 DIST hyprpicker-0.2.0.gh.tar.gz 24152 BLAKE2B efa16bdf799417e46a314eaaa5fb9fe9571fc122556d85c2981e919a2f76eefc2995f00663d69413567f422a79e602ccbe3c9ff21ca77fa634acc439884427c2 SHA512 307f993f6ae2cd6c5c0a13798a364ce66716c58d794886100eadc215674c605c4989d59ed1a5a23b9de188aa1f1dab86a909dd01b4c8a0f72562ceb7aac26de4 +DIST hyprpicker-0.3.0.gh.tar.gz 24591 BLAKE2B 5a2defcc6871a0fe0d6905097a9168934e5a5185b32f22349add43de4f4579d58a4b7f2e089ff42ac55589559575f6a7f923df128c289238dd812068ddfda6e3 SHA512 b6594e492bfaa17d16a6b5f864b939ab94963362575d50fc031145f7d17610e45e43c1c5ce5d098381297ab2089a2502ed69fcd97d11a9e9d8731d2e53359117 diff --git a/gui-apps/hyprpicker/hyprpicker-0.3.0.ebuild b/gui-apps/hyprpicker/hyprpicker-0.3.0.ebuild new file mode 100644 index 0000000000..6ae449d89d --- /dev/null +++ b/gui-apps/hyprpicker/hyprpicker-0.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A wlroots-compatible Wayland color picker that does not suck" +HOMEPAGE="https://github.com/hyprwm/hyprpicker" +SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/wayland + x11-libs/cairo + x11-libs/pango +" + +BDEPEND=" + ${RDEPEND} + dev-libs/wayland-protocols + dev-util/wayland-scanner + media-libs/libglvnd + media-libs/libjpeg-turbo + x11-libs/libxkbcommon +" + +src_compile() { + emake protocols + cmake_src_compile +} + +src_install() { + dobin "${BUILD_DIR}/${PN}" +} diff --git a/sys-power/amdfan/amdfan-0.2.1-r1.ebuild b/sys-power/amdfan/amdfan-0.2.1-r1.ebuild new file mode 100644 index 0000000000..4ce851552f --- /dev/null +++ b/sys-power/amdfan/amdfan-0.2.1-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 systemd autotools + +DESCRIPTION="Updated AMD Fan control utility forked from amdgpu-fan and updated. " +HOMEPAGE="https://mcgillij.dev/pages/amdfan.html" +SRC_URI="https://github.com/mcgillij/amdfan/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] +" +DEPEND="${PYTHON_DEPS}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DOCS=( README.md ) + +distutils_enable_tests unittest + +src_prepare() { + default + + sed -i '/^include = \["dist\/systemd\/amdfan.service"\]$/d' pyproject.toml || die + + eautoreconf +} + +src_configure() { + econf +} + +python_install_all() { + distutils-r1_python_install_all +} + +src_install() { + default + + newinitd dist/openrc/amdfan amdfan + systemd_dounit dist/systemd/amdfan.service +} + +python_test() { + "${EPYTHON}" -m unittest discover tests || die +}