From b7e514e2dc987a8b3e10ea8ea3d6e1d197eeb355 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 May 2023 23:21:29 +0100 Subject: gentoo auto-resync : 01:05:2023 - 23:21:29 --- sys-apps/Manifest.gz | Bin 49345 -> 49334 bytes sys-apps/openrazer/Manifest | 2 + sys-apps/openrazer/openrazer-3.6.0.ebuild | 160 +++++++++++++++++++ sys-apps/pciutils/Manifest | 2 + sys-apps/pciutils/pciutils-3.10.0.ebuild | 174 +++++++++++++++++++++ sys-apps/polychromatic/Manifest | 6 +- sys-apps/polychromatic/metadata.xml | 5 +- .../polychromatic/polychromatic-0.7.3-r1.ebuild | 69 -------- sys-apps/polychromatic/polychromatic-0.8.1.ebuild | 69 ++++++++ 9 files changed, 413 insertions(+), 74 deletions(-) create mode 100644 sys-apps/openrazer/openrazer-3.6.0.ebuild create mode 100644 sys-apps/pciutils/pciutils-3.10.0.ebuild delete mode 100644 sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild create mode 100644 sys-apps/polychromatic/polychromatic-0.8.1.ebuild (limited to 'sys-apps') diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz index f345abaeed94..089bc7e8539f 100644 Binary files a/sys-apps/Manifest.gz and b/sys-apps/Manifest.gz differ diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest index ea17f9900499..9e0c459c45e0 100644 --- a/sys-apps/openrazer/Manifest +++ b/sys-apps/openrazer/Manifest @@ -1,3 +1,5 @@ DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487 SHA512 dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39 +DIST openrazer-3.6.0.tar.gz 243924 BLAKE2B 7b782990cf5afedb88adafe310bcba6512ff8009cee6bbf8e005f4780c711ccc724cacc3056f471002268c61e6d3bfce0ba6b5c72e502ad83b954c45f70b521a SHA512 fb08a8a38ce582099e6c1a98df73aacf9dd437beb4be9cc0e7e3e14f4da6e53de90058a8cc22daeda0bbcfe111b2bc5a38c0503e0020239d44dae2f199219695 EBUILD openrazer-3.5.1.ebuild 3703 BLAKE2B fda67f9e5979847b7607bc93bfacfd54018917ce856445054e54cd1476b41959d45d28e21ea6dff5d7631446011cb3897509880c3fcd404eaacf243a1b510f3d SHA512 111f3f3a8d604be9a5ae2cbee75758e5035efb9fe54139a9070e6be85919ec61430ea605c2a3259e3aae1f188993e3541322b3f9980a2d7d4e6cc596256debc0 +EBUILD openrazer-3.6.0.ebuild 3704 BLAKE2B 32c2bf5d14c10a2665d71c50c12b8fe1548ac328a37856810c4a5c97f4f0ce005715950841d266aba5128b21ef4c6b9ff6184ad95c11bc0b7b731f6e77f6f2a5 SHA512 700d25569fb0974368daed4153994632de2028b881331d4a9e0a24bf3c257ee7b66b666756345d5df9d99d72b423ba9a03871ad22b45b35154e6d3db447b91d3 MISC metadata.xml 557 BLAKE2B c7d8fe83eb9f1d3d5361d816e6bad6abd2eea172e743a3482b1e67bb77019251b26b2ecb7d9d8e7efd4ada69990ea07735446771a836a64bd110cac6b72a626a SHA512 87490d202ae606a8f4d1fe63e5631c7eae1ae13f0705dc6553f79b351d6181183cc81c69b5740647298a48e35db407821835c8309db725b609f4bcfd8d0bdd56 diff --git a/sys-apps/openrazer/openrazer-3.6.0.ebuild b/sys-apps/openrazer/openrazer-3.6.0.ebuild new file mode 100644 index 000000000000..754d171d5932 --- /dev/null +++ b/sys-apps/openrazer/openrazer-3.6.0.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod + +DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux" +HOMEPAGE="https://openrazer.github.io/ + https://github.com/openrazer/openrazer/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="+client +daemon" +REQUIRED_USE=" + client? ( daemon ) + daemon? ( ${PYTHON_REQUIRED_USE} ) + test? ( daemon ) +" + +RDEPEND=" + client? ( dev-python/numpy[${PYTHON_USEDEP}] ) + daemon? ( + acct-group/plugdev + dev-python/daemonize[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/notify2[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + x11-misc/xautomation + x11-misc/xdotool + ) +" +BDEPEND=" + ${RDEPEND} + virtual/linux-sources +" + +DOCS=( README.md ) + +DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module +(razeraccessory, razerkbd, razerkraken and/or razermouse), +add your user to the \"plugdev\" group and start the OpenRazer daemon. +To automatically start up the OpenRazer daemon on session login copy +/usr/share/openrazer/openrazer-daemon.desktop file into Your user's +~/.config/autostart/ directory." + +BUILD_TARGETS="clean driver" +BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}" +MODULE_NAMES=" + razeraccessory(hid:${S}/driver) + razerkbd(hid:${S}/driver) + razerkraken(hid:${S}/driver) + razermouse(hid:${S}/driver) +" + +distutils_enable_tests unittest + +python_compile() { + if use daemon ; then + ( cd "${S}"/daemon || die ; distutils-r1_python_compile ) + fi + if use client ; then + ( cd "${S}"/pylib || die ; distutils-r1_python_compile ) + fi +} + +python_install() { + if use daemon ; then + ( cd "${S}"/daemon || die ; distutils-r1_python_install ) + python_scriptinto /usr/bin + python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon + fi + if use client ; then + ( cd "${S}"/pylib || die ; distutils-r1_python_install ) + fi +} + +src_prepare() { + xdg_environment_reset + distutils-r1_src_prepare + + # Remove bad tests. + rm "${S}"/daemon/tests/test_effect_sync.py || die +} + +src_compile() { + linux-mod_src_compile + distutils-r1_src_compile + + if use daemon ; then + emake -C "${S}"/daemon PREFIX=/usr service + fi + + readme.gentoo_create_doc +} + +src_test() { + ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test ) +} + +src_install() { + linux-mod_src_install + distutils-r1_src_install + + udev_dorules "${S}"/install_files/udev/99-razer.rules + exeinto "$(get_udevdir)" + doexe "${S}"/install_files/udev/razer_mount + + # Install configuration example so that the daemon does not complain. + insinto /usr/share/${PN} + newins "${S}"/daemon/resources/razer.conf razer.conf.example + + if use daemon ; then + # dbus service + insinto /usr/share/dbus-1/services + doins "${S}"/daemon/org.razer.service + + # systemd unit + systemd_douserunit "${S}"/daemon/${PN}-daemon.service + + # xdg autostart example file + insinto /usr/share/${PN} + doins "${S}"/install_files/desktop/openrazer-daemon.desktop + + # Manpages + doman "${S}"/daemon/resources/man/${PN}-daemon.8 + doman "${S}"/daemon/resources/man/razer.conf.5 + fi +} + +pkg_postinst() { + linux-mod_pkg_postinst + udev_reload + + if use daemon ; then + xdg_icon_cache_update + xdg_desktop_database_update + fi + + readme.gentoo_print_elog +} + +pkg_postrm() { + linux-mod_pkg_postrm + udev_reload + + if use daemon ; then + xdg_icon_cache_update + xdg_desktop_database_update + fi +} diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest index 916274dea838..f40d8d264327 100644 --- a/sys-apps/pciutils/Manifest +++ b/sys-apps/pciutils/Manifest @@ -2,8 +2,10 @@ AUX conf.d-pciparm 988 BLAKE2B c51b826806c58411939d8987e103cba5775806abcbf12a932 AUX init.d-pciparm 1758 BLAKE2B a9dd930da942c73d7a150938b2b58543f517542c4c675334cca8f9eb02b83dad456e36ae1bf77ed8fcc0eac52e0dc638f19a41682fa3e1d3623011d09301945b SHA512 c5a527236039edf29f6876d3b07909045dd04e40d863d68014dd96cc021b7b61356470e67541b5b68487d996a299b60b3da46272259f9d0724ea1392e6243646 AUX pciutils-3.8.0-no-which.patch 1207 BLAKE2B 6012046e4d0831e5a20b351e43bde4c1450c076989ed42741eac76510e2bc279940c80a04d978f6947878adca3140f5fc205615540871eefc9d62a68482fd4fa SHA512 240bb7142f5af044a8fdac96fcc63af7938b1e7f5f3d1689d213df09e71c1d6da84d1d1ee421511fa4c07f212e5605485c1f5ad8ad30052d181f0020e256d387 AUX pciutils-3.8.0-pkg-config.patch 691 BLAKE2B c12a6a6f19a62d5d161479e401f5bd9e373821fb72648c6ef0d9a49312a0ed930e790a9153eddadfaca28b8c0c330166c915c43d9439e1163a385defa08760df SHA512 d616aadc83c40cde4f8e0261ad0a99259d5b66bf32c7db3f5b47cd0981b27ec93ff5547b1927806e3b045ac61d884cd5eb96e4ff58955b1881616056a95cab4c +DIST pciutils-3.10.0.tar.gz 931711 BLAKE2B 2e1255eb5508c9d1339f5bc772c2592a03cae4d8d097e8939748c9bb5d5d949be53d705d1b7d903f7ea88b2abeea91e39de16e39d2f46f0a1f62f8a9e32c6faa SHA512 3da1af4af8b0fa3cf4d3f06095524e25dc292182beec10aa2c16c5c6ba751fe469d0e7f54e43413b6f3f5bcdbd1fba3c66df1d8e39d2e1962ae36a2d9c06238e DIST pciutils-3.8.0.tar.gz 575255 BLAKE2B 7339189f7115af31ccc19663d54e12ef966fbcd75c6b6b4c28c8ddcaafa3e233313ca14300ef70100edb00f5f2e1e767af9d6527a9d836edd07b598f0a40f4f4 SHA512 4b0de02a54c6ed19d5ea85a01d89a62386000bc0f816498872479aba26fb007a8c394cba3f95e77a7ffe52d36ad2726169b7b83bda5ab0647f00e49d8a34bf15 DIST pciutils-3.9.0.tar.gz 908219 BLAKE2B 59d2a151b114691980b8f0a0bfdf8e48b9e1a0a9976df6dbc94962c251d8bfc61e7bd3b0f3c47a4295f52b5df67ad0e44ed6f2e6a87728e213e4ef0b8a55c028 SHA512 e17225c2adcc21c9ff4253998aec5805ae5e031888fa01841a1ff680796f7515f9dd6e5c2e0588edba854f66f1268ba8e28ae1a2f794574e715fec8a8c8def4f +EBUILD pciutils-3.10.0.ebuild 4956 BLAKE2B 5d3f92794f32ce2ead29e8c4e8f2ed3a0acc4f930c8cd276ac50dcf89c33858abaf713710d717a00f607387fa6d9f940eba7f6111d0388f7ad978e825545f4f4 SHA512 9f53a474df39481c80e81001c920a75977a4f374ddf326f6dd26731f839ad9a1bfa6ce495cf331d8b0b35a9e73aec75ddfdf9c9db6b7f1699ac671feab49a956 EBUILD pciutils-3.8.0-r1.ebuild 4915 BLAKE2B ddc1ba11cefb65a69392aad79260482827a62476200518f5d5aeac8209713b791f5fd389fcdd93c4acb3e40663180338584b17c04ea7148a5123a8bd274d0909 SHA512 ea895c2400ea0af258d0dc1151e81b3f972218f03054ddc20edf847fe053794d7286932fee44f008f53f641193bcdfd8cfac8b08800f4b0a620ae30e8591962a EBUILD pciutils-3.9.0.ebuild 4818 BLAKE2B cc031ea10caa35e700b2dff962f682d6cba393654b111b4ddcb61137f796e36c317527a7ff25a05f3b99902c8265cee496e11a52a8b430205fe8f3fe67aee520 SHA512 0d1c6d03f882c6fe593be6814005f44cd12f7d5a6750b85da55868af4066939a1b8551068378f45fe9d6b6e8e7c65aa1964a263c7184e6c6967c96acd30db9c5 MISC metadata.xml 616 BLAKE2B 0aefbd7995f4bf549cba3e9c60066675efb8dc8e4d38e320c8cb28f7f6a275527e90d2526248c57fd34d09125693e3f185f51c05d0ae10fd8a61d058d4f8a9d0 SHA512 5f44a15a2a18a40ac7a46a5c1dfed741082e48321d5ee3f53bebb6b12e310ea05070e03853cf15655ef800a768d49515f174e3a73ca923177ce0be3963154a59 diff --git a/sys-apps/pciutils/pciutils-3.10.0.ebuild b/sys-apps/pciutils/pciutils-3.10.0.ebuild new file mode 100644 index 000000000000..5e89fcabdfd5 --- /dev/null +++ b/sys-apps/pciutils/pciutils-3.10.0.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs multilib-minimal flag-o-matic + +DESCRIPTION="Various utilities dealing with the PCI bus" +HOMEPAGE="https://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git" +SRC_URI="https://mj.ucw.cz/download/linux/pci/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="dns +kmod static-libs +udev zlib" +REQUIRED_USE="static-libs? ( !udev )" + +# Have the sub-libs in RDEPEND with [static-libs] since, logically, +# our libpci.a depends on libz.a/etc... at runtime. +LIB_DEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] )" +DEPEND=" + kmod? ( sys-apps/kmod ) + udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] ) + static-libs? ( ${LIB_DEPEND} ) + !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} ) +" +RDEPEND=" + ${DEPEND} + sys-apps/hwdata +" +# See bug #847133 re binutils check +BDEPEND=" + || ( >=sys-devel/binutils-2.37:* sys-devel/lld sys-devel/native-cctools ) + kmod? ( virtual/pkgconfig ) +" + +MULTILIB_WRAPPED_HEADERS=( /usr/include/pci/config.h ) + +switch_config() { + [[ $# -ne 2 ]] && return 1 + local opt=$1 val=$2 + + sed "s@^\(${opt}=\).*\$@\1${val}@" -i Makefile || die + return 0 +} + +check_binutils_version() { + if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]] && ! tc-ld-is-gold && ! tc-ld-is-lld ; then + # Okay, hopefully it's Binutils' bfd. + # bug #847133 + + # Convert this: + # ``` + # GNU ld (Gentoo 2.38 p4) 2.38 + # Copyright (C) 2022 Free Software Foundation, Inc. + # This program is free software; you may redistribute it under the terms of + # the GNU General Public License version 3 or (at your option) a later version. + # This program has absolutely no warranty. + # ``` + # + # into... + # ``` + # 2.38 + # ``` + local ver=$($(tc-getLD) --version 2>&1 | head -n 1 | rev | cut -d' ' -f1 | rev) + + if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then + # Skip if unrecognised format so we don't pass something + # odd into ver_cut. + return + fi + + ver_major=$(ver_cut 1 "${ver}") + ver_minor=$(ver_cut 2 "${ver}") + + # We use 2.37 here, not 2.35, as https://github.com/pciutils/pciutils/issues/98 mentions + # because we've had other miscompiles with older Binutils (not just build failures!) + # and we don't want people running any unsupported versions of Binutils. An example + # of this is where glibc is completely broken with old binutils: bug #802036. It's + # just not sustainable to support. + if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then + eerror "Old version of binutils activated! ${P} cannot be built with an old version." + eerror "Please follow these steps:" + eerror "1. Select a newer binutils (>= 2.37) using binutils-config" + eerror " (If no such version is installed, run emerge -v1 sys-devel/binutils)" + eerror "2. Run: . /etc/profile" + eerror "3. Try emerging again with: emerge -v1 ${CATEGORY}/${P}" + eerror "4. Complete your world upgrade if you were performing one." + eerror "5. Perform a depclean (emerge -acv)" + eerror "\tYou MUST depclean after every world upgrade in future!" + die "Old binutils found! Change to a newer ld using binutils-config (bug #847133)." + fi + fi +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_binutils_version +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_binutils_version +} + +src_prepare() { + default + + if use static-libs ; then + cp -pPR "${S}" "${S}.static" || die + mv "${S}.static" "${S}/static" || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + # bug #640836, bug #852929 + # Seems to be fixed in 3.10.0: + # https://github.com/pciutils/pciutils/commit/2d16e3a7875a9cb5abd60713bb2e39b536a7dec4 + #filter-lto + + # bug #471102 + append-lfs-flags +} + +pemake() { + emake \ + HOST="${CHOST}" \ + CROSS_COMPILE="${CHOST}-" \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + RANLIB="$(tc-getRANLIB)" \ + DNS=$(usex dns) \ + IDSDIR='$(SHAREDIR)/hwdata' \ + MANDIR='$(SHAREDIR)/man' \ + PREFIX="${EPREFIX}/usr" \ + SHARED="yes" \ + STRIP="" \ + ZLIB=$(usex zlib) \ + PCI_COMPRESSED_IDS=0 \ + PCI_IDS=pci.ids \ + LIBDIR="\${PREFIX}/$(get_libdir)" \ + LIBKMOD=$(multilib_native_usex kmod) \ + HWDB=$(usex udev) \ + "$@" +} + +multilib_src_compile() { + pemake OPT="${CFLAGS}" all + + if use static-libs ; then + pemake \ + -C "${BUILD_DIR}"/static \ + OPT="${CFLAGS}" \ + SHARED="no" \ + lib/libpci.a + fi +} + +multilib_src_install() { + pemake DESTDIR="${D}" install install-lib + + use static-libs && dolib.a "${BUILD_DIR}"/static/lib/libpci.a +} + +multilib_src_install_all() { + dodoc ChangeLog README TODO + + rm "${ED}"/usr/sbin/update-pciids "${ED}"/usr/share/man/man8/update-pciids.8* || die + rm -r "${ED}"/usr/share/hwdata || die + + newinitd "${FILESDIR}"/init.d-pciparm pciparm + newconfd "${FILESDIR}"/conf.d-pciparm pciparm +} diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest index f64acad96f2f..4ec061121b89 100644 --- a/sys-apps/polychromatic/Manifest +++ b/sys-apps/polychromatic/Manifest @@ -1,6 +1,6 @@ -DIST polychromatic-0.7.3.tar.gz 1513522 BLAKE2B 85dab08c90843f050175de8b53c34dfab4c87dde6d7daaffb36bfad09e165aa8220a943b47ae7b09fb3c45589165051ae27b9c5e17f4c94479e6a8575b593ef4 SHA512 bdd816fcbae8ce2e12367afd455941afb754f7ddb9f6337c6b675a3059c1dc6d64b1a7809efce9b909b8aee2025b496dc0b870d2e56a09da7fde7f8b5d733c5f DIST polychromatic-0.8.0.tar.gz 1568480 BLAKE2B 26400829ef19c0155759f3fc146158631dc24379e0bde9d692f6fa0eaed8c18bc4d15e078fb8548f208d9b968a414b35fd4ad18e40f6297ce49e9cd9fc910e3b SHA512 a58e85e52a92ccb7fee837692bbf294fe376198582be0c0e982af37c3853667a80f8e67d074f0128a134ede05c4a064614036c847f8be22503e448b1385a1c5a -EBUILD polychromatic-0.7.3-r1.ebuild 1905 BLAKE2B 525f69c17166ecc5a77684539cef9123166205aee84db0162f49eb536e9462e9d6b80f7312d5745f400e2f45e312b812a3549edb545df59769743a5b651b091e SHA512 0bcd0e2eaafb3dcad881142a37654296828c44efc6b14083ac3f53d2012df2f61bb9b0943e4e666fce49d970026fd455719cafcb9c70862ef9e5a1b75fe77d66 +DIST polychromatic-0.8.1.tar.gz 1673716 BLAKE2B 9751985ac429d5da19e829f3b17565e1c42b7859df6ce3be031e34148e1c30bcb37bee3103b038e902a818a7ade9e3cc4400570135c34229494666f9a9a6012a SHA512 61add658825f99f729e6921c41aa97b2075e5cbd3dcdabb6602a7eeb6b505a3435d9231ed163490289374bf78737544cda77d45c39f245f20f07886824ea61fa EBUILD polychromatic-0.8.0.ebuild 1905 BLAKE2B 525f69c17166ecc5a77684539cef9123166205aee84db0162f49eb536e9462e9d6b80f7312d5745f400e2f45e312b812a3549edb545df59769743a5b651b091e SHA512 0bcd0e2eaafb3dcad881142a37654296828c44efc6b14083ac3f53d2012df2f61bb9b0943e4e666fce49d970026fd455719cafcb9c70862ef9e5a1b75fe77d66 +EBUILD polychromatic-0.8.1.ebuild 1905 BLAKE2B 525f69c17166ecc5a77684539cef9123166205aee84db0162f49eb536e9462e9d6b80f7312d5745f400e2f45e312b812a3549edb545df59769743a5b651b091e SHA512 0bcd0e2eaafb3dcad881142a37654296828c44efc6b14083ac3f53d2012df2f61bb9b0943e4e666fce49d970026fd455719cafcb9c70862ef9e5a1b75fe77d66 EBUILD polychromatic-9999.ebuild 1905 BLAKE2B 525f69c17166ecc5a77684539cef9123166205aee84db0162f49eb536e9462e9d6b80f7312d5745f400e2f45e312b812a3549edb545df59769743a5b651b091e SHA512 0bcd0e2eaafb3dcad881142a37654296828c44efc6b14083ac3f53d2012df2f61bb9b0943e4e666fce49d970026fd455719cafcb9c70862ef9e5a1b75fe77d66 -MISC metadata.xml 889 BLAKE2B 8ce971727662be8955ae194838e8985876bdd6ee07c12b1587506bda595b57aaa7313dc5ba6c337c621dcfcbbe1b8519169469f99f0cf5878902330e9c8c5dbf SHA512 660d890d895e8edaef63dfa77ee02baab65388e5533ff82d15618d8d6bcdee0966e1087667b4b4cbe2ac2547549e6c0fba8c75587bf8fb83f31a1b047813c4b4 +MISC metadata.xml 993 BLAKE2B 193ed9d7f922efa078e7856084b828ff4f97d8606a1979206b3ff4a36ddcc6ff88a1adc3d0d899261fef5ae5751a1204fb27a03b0a8ff7510578f431a89a0cd2 SHA512 245f395c90cfbe36dae2bc1da5f1c6d2513ebde78a44e7a785a4bb9c01cf24ea0be81405c82eb8f4fbc34d34a4990a36359e98658d1340e47172257a867aa8db diff --git a/sys-apps/polychromatic/metadata.xml b/sys-apps/polychromatic/metadata.xml index 41de43439b95..cb47444560e8 100644 --- a/sys-apps/polychromatic/metadata.xml +++ b/sys-apps/polychromatic/metadata.xml @@ -15,7 +15,8 @@ brand also supported by Polychromatic. - https://gitlab.com/polychromatic/polychromatic/-/issues/ - polychromatic/polychromatic + https://raw.githubusercontent.com/polychromatic/polychromatic/master/CHANGELOG + https://github.com/polychromatic/polychromatic/issues/ + polychromatic/polychromatic diff --git a/sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild b/sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild deleted file mode 100644 index f3045e367458..000000000000 --- a/sys-apps/polychromatic/polychromatic-0.7.3-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit meson python-single-r1 readme.gentoo-r1 xdg - -DESCRIPTION="RGB lighting management software for GNU/Linux powered by OpenRazer" -HOMEPAGE="https://polychromatic.app/ - https://github.com/polychromatic/polychromatic/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - >=x11-libs/gtk+-3.20:3[introspection] - $(python_gen_cond_dep ' - dev-python/PyQt5[svg,${PYTHON_USEDEP}] - dev-python/PyQtWebEngine[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/colour[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] - sys-apps/openrazer[client,${PYTHON_USEDEP}] - ') -" -BDEPEND=" - ${RDEPEND} - dev-util/intltool - dev-lang/sassc -" - -DOC_CONTENTS="To automatically start up Polychromatic on session login copy -/usr/share/polychromatic/polychromatic-autostart.desktop file into Your user's -~/.config/autostart/ directory." - -src_install() { - meson_src_install - python_optimize - readme.gentoo_create_doc - - python_doscript "${S}"/polychromatic-{cli,controller,helper,tray-applet} - - # Do not force polychromatic to autostart on session login. - # Move it into /usr/share/polychromatic and treat it as an example file - # that could be installed into user's ~/.config/autostart/ directory. - mv "${ED}"/etc/xdg/autostart/${PN}-autostart.desktop \ - "${ED}"/usr/share/${PN}/${PN}-autostart.desktop || die -} - -pkg_postinst() { - xdg_pkg_postinst - readme.gentoo_print_elog -} diff --git a/sys-apps/polychromatic/polychromatic-0.8.1.ebuild b/sys-apps/polychromatic/polychromatic-0.8.1.ebuild new file mode 100644 index 000000000000..f3045e367458 --- /dev/null +++ b/sys-apps/polychromatic/polychromatic-0.8.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit meson python-single-r1 readme.gentoo-r1 xdg + +DESCRIPTION="RGB lighting management software for GNU/Linux powered by OpenRazer" +HOMEPAGE="https://polychromatic.app/ + https://github.com/polychromatic/polychromatic/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=x11-libs/gtk+-3.20:3[introspection] + $(python_gen_cond_dep ' + dev-python/PyQt5[svg,${PYTHON_USEDEP}] + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/colour[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + sys-apps/openrazer[client,${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} + dev-util/intltool + dev-lang/sassc +" + +DOC_CONTENTS="To automatically start up Polychromatic on session login copy +/usr/share/polychromatic/polychromatic-autostart.desktop file into Your user's +~/.config/autostart/ directory." + +src_install() { + meson_src_install + python_optimize + readme.gentoo_create_doc + + python_doscript "${S}"/polychromatic-{cli,controller,helper,tray-applet} + + # Do not force polychromatic to autostart on session login. + # Move it into /usr/share/polychromatic and treat it as an example file + # that could be installed into user's ~/.config/autostart/ directory. + mv "${ED}"/etc/xdg/autostart/${PN}-autostart.desktop \ + "${ED}"/usr/share/${PN}/${PN}-autostart.desktop || die +} + +pkg_postinst() { + xdg_pkg_postinst + readme.gentoo_print_elog +} -- cgit v1.2.3