From d69399c7befdd98cda62d6a1788ae2aa7f104c5e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Jan 2025 06:41:06 +0000 Subject: gentoo auto-resync : 07:01:2025 - 06:41:06 --- app-misc/openrgb/Manifest | 4 +- app-misc/openrgb/openrgb-0.9-r1.ebuild | 102 +++++++++++++++++++++++++++++++++ app-misc/openrgb/openrgb-0.9.ebuild | 102 --------------------------------- app-misc/openrgb/openrgb-9999.ebuild | 4 +- 4 files changed, 106 insertions(+), 106 deletions(-) create mode 100644 app-misc/openrgb/openrgb-0.9-r1.ebuild delete mode 100644 app-misc/openrgb/openrgb-0.9.ebuild (limited to 'app-misc/openrgb') diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest index 6bfa36f9cad0..0d97a097b493 100644 --- a/app-misc/openrgb/Manifest +++ b/app-misc/openrgb/Manifest @@ -2,6 +2,6 @@ AUX OpenRGB-0.7-r1-udev.patch 410 BLAKE2B 10e4ba5cc32abed1c5c6bf15426033b03c3692 AUX OpenRGB-0.9-build-system.patch 667 BLAKE2B 905d0c4a73439b0f39bfbebc74fbcb43f7df8f5810869834f2cf72c200d8df5d189843977c359eb50acbba23cedae97f245b74870ee7e200319b911ad05c15c6 SHA512 9348c1cc2474ac2d2cfc7e9c4a215e1692310b53ceb42db927bac31e954f34e6f4b70956cf671cb2fbf49add7a9358373bff11b43cdb11526a4c059d10b80762 AUX OpenRGB-0.9-udev-check.patch 342 BLAKE2B 9778b67d7e99ae0c4fecef5295c248c39784123a413cd4f7c8847642c2d439c1fd985c6bb21302d5a80ef877c3961dd9cf7ee68e273cea9a9e2f9d3135e56cdd SHA512 0949be76e4fed14dff55ce914364d84ed03c0fa851a6372be6eb8554922130fca6bfb55cd4b229f2f5ab62f88b37e107d4b668c0a7c10a8ece40c564b88d3f49 DIST OpenRGB-release_0.9.tar.bz2 28689813 BLAKE2B 9fcf08d5e4d07ffc0f7867516f09044e18ce488bcdd99c8b44e0afe291b8a21a7ba92d6e7fd683ef22462a262004a992621efb59a5df6ed7551f4e9f75843241 SHA512 fb1bdbc7bcbd3bac888be313cfb6403a13d39de659ac6993858f9c1b17ad40e9c4a7d4c7c90682181841db1659a0ee298363c442a7120d43347aaf4485e7dccf -EBUILD openrgb-0.9.ebuild 2566 BLAKE2B a1ab26302cedac5b74333d853500e95c451db1be45c8e2f1724358518c8b1d2e11fbd40e21582121117b6400f2d201c107b9cf822c705654f050fa3526333619 SHA512 43299e5210cf81d33daa3ab683c2e45c144441bda36e1f11e2e2be419fd5c69821276959ff9e9b82bdac19f8b07fc73d48c9557220cc3250646953e76064f45e -EBUILD openrgb-9999.ebuild 2553 BLAKE2B 41934b9cefad09573f1cc8db556c1300fad5ebcef9df3176ed79d8610214801d2584023534e2223bef3fd6fd6a26d738419f5a7840f2e2dbe8ba04f2ebb7e35f SHA512 18fe3907718721a28d3b2e0bca445886abc782a72a6c8842246aedb40939ccb7e78415898c4c2f9b9a7cac0e12b8b371b8b5da0b4cdae8bfa32af33abd1963fe +EBUILD openrgb-0.9-r1.ebuild 2567 BLAKE2B 9dd5201c778581da0f935d8dc51b435d5490c3eee25db4705009a840985dc99785fdc132b1a2b0938df4374275196671c8913482695723081c78d9d36589a31e SHA512 e944832053c687afc194ce669fea2bfb3d1a6bdb0b3cd729d7a7ec483b20d91338fb728c36f2b0e605c142c3d57964930589851b32075d5457c3715e7f32bcc1 +EBUILD openrgb-9999.ebuild 2554 BLAKE2B 5daae296084827b7f12e0f6059b7d0ea178f00032e14c4ff5ef83a82970df54e67b5ffdec6056ed2f92933751b06f1f70215e53864d7c3938e00bef1853a0119 SHA512 f81db894d50137289e32cc1dbfeb1c1fc5369bd66bcf05e0eb8cdd280a9cc0d32802a62e92b79e889a772ddbee8869babd694a28d6a2d0bdda1e31e8308e1197 MISC metadata.xml 1228 BLAKE2B b3844d9c8b09d9d976ee41d874675b179a8e38b1eaaaa06e3052d6bac824dfc8c67102de54d9f62a3f24e4cf0157825608c060a56de2cc21bb71f8c7831148ad SHA512 5067cb355010ada60bfe789a511d02bf3d3a26083544104d782b9c08b0c70457f998c91c71f8d99e48f2d73fef07ea029fcc8c7848bdc5d625f5c1a8c9ca9ca3 diff --git a/app-misc/openrgb/openrgb-0.9-r1.ebuild b/app-misc/openrgb/openrgb-0.9-r1.ebuild new file mode 100644 index 000000000000..dd1f5caab7df --- /dev/null +++ b/app-misc/openrgb/openrgb-0.9-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs flag-o-matic qmake-utils udev xdg-utils + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"} +else + SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2" + S="${WORKDIR}/OpenRGB-release_${PV}" + KEYWORDS="amd64 ~loong ~x86" + PATCHES=( "${FILESDIR}"/OpenRGB-0.9-build-system.patch ) +fi + +DESCRIPTION="Open source RGB lighting control" +HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/" +LICENSE="GPL-2" +# subslot is OPENRGB_PLUGIN_API_VERSION from +# https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h +SLOT="0/3" + +RDEPEND=" + dev-cpp/cpp-httplib:= + dev-libs/hidapi + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + net-libs/mbedtls:0= + virtual/libusb:1 +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json + dev-libs/mdns +" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +PATCHES+=( + "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch + "${FILESDIR}"/OpenRGB-0.9-udev-check.patch +) + +CHECKREQS_DISK_BUILD="2G" + +src_prepare() { + default + rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \ + || die "Failed to remove unneded deps" +} + +src_configure() { + # Some plugins require symbols defined in the main binary. + # The upstream build system of plugins bundles OpenRGB as a submodule + # instead, and compiles the .cpp file again. + append-ldflags -Wl,--export-dynamic + + # > warning: ‘-pipe’ ignored because ‘-save-temps’ specified + filter-flags -pipe + + # cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib". + # See bug: https://bugs.gentoo.org/934576 + local -a libs=() + if has_version " warning: ‘-pipe’ ignored because ‘-save-temps’ specified - filter-flags -pipe - - # cpp-httplib >=0.16.0 changed the library name from "httplib" to "cpp-httplib". - # See bug: https://bugs.gentoo.org/934576 - local -a libs=() - if has_version "