diff options
Diffstat (limited to 'app-misc/openrgb')
-rw-r--r-- | app-misc/openrgb/Manifest | 3 | ||||
-rw-r--r-- | app-misc/openrgb/openrgb-0.9-r1.ebuild | 102 | ||||
-rw-r--r-- | app-misc/openrgb/openrgb-9999.ebuild | 4 |
3 files changed, 2 insertions, 107 deletions
diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest index 4817ceec4e32..7b1f81aaa8a2 100644 --- a/app-misc/openrgb/Manifest +++ b/app-misc/openrgb/Manifest @@ -3,7 +3,6 @@ AUX OpenRGB-0.9-build-system.patch 667 BLAKE2B 905d0c4a73439b0f39bfbebc74fbcb43f AUX OpenRGB-0.9-udev-check.patch 342 BLAKE2B 9778b67d7e99ae0c4fecef5295c248c39784123a413cd4f7c8847642c2d439c1fd985c6bb21302d5a80ef877c3961dd9cf7ee68e273cea9a9e2f9d3135e56cdd SHA512 0949be76e4fed14dff55ce914364d84ed03c0fa851a6372be6eb8554922130fca6bfb55cd4b229f2f5ab62f88b37e107d4b668c0a7c10a8ece40c564b88d3f49 DIST OpenRGB-0.9-odr.patch 90600 BLAKE2B 1cb0aaab997da90b5cf6fbf1e971cef6848d4372ba021d27efed070ff2c398074d7b79623a1669995bbdaaacae1c5a9ff09344ef0cab7098e9354f95d005b856 SHA512 5f2a5194419d14b97dc2e8ca47a2b9914c01148cfb24d61266a8a9615f6d09509906d7e69d8264ddbde71474955f789925b400f29682d12779c2a3d38a4bd6eb DIST OpenRGB-release_0.9.tar.bz2 28689813 BLAKE2B 9fcf08d5e4d07ffc0f7867516f09044e18ce488bcdd99c8b44e0afe291b8a21a7ba92d6e7fd683ef22462a262004a992621efb59a5df6ed7551f4e9f75843241 SHA512 fb1bdbc7bcbd3bac888be313cfb6403a13d39de659ac6993858f9c1b17ad40e9c4a7d4c7c90682181841db1659a0ee298363c442a7120d43347aaf4485e7dccf -EBUILD openrgb-0.9-r1.ebuild 2567 BLAKE2B 9dd5201c778581da0f935d8dc51b435d5490c3eee25db4705009a840985dc99785fdc132b1a2b0938df4374275196671c8913482695723081c78d9d36589a31e SHA512 e944832053c687afc194ce669fea2bfb3d1a6bdb0b3cd729d7a7ec483b20d91338fb728c36f2b0e605c142c3d57964930589851b32075d5457c3715e7f32bcc1 EBUILD openrgb-0.9-r2.ebuild 2825 BLAKE2B 092d3d25ede5e37204ea09bd65de06fc1be2d4cebd08dac133479b4fa466114707c9693948aa2b5fd1e4e7be1c3d1194b09cdcf4634a912e98d5317692955259 SHA512 91fe26e628fe043ccfb432fdf93f60c945d382e49ff1cdf08d598926383158b028fd5d5e1076ea3fb6837fbcec0d83438be4948daca93a4ba696ba4bb9c72089 -EBUILD openrgb-9999.ebuild 2718 BLAKE2B b26fe493ac0ea5acc36e9c5fbab70067c6bd6d84f3ad47809e4d621320084d64b7f0af61e8c7303381ecdeebd371e38164fb192773b91f0de931b87ef260bd2e SHA512 a87dcd2a0b4696c3ca6ed7bc56f19248c1bba2ebabc0f78ad076d48cde08c78a1edb21b2a51dc889366ec45760f8a7b00c28476d5a00f1ef02160e6b91f0696c +EBUILD openrgb-9999.ebuild 2555 BLAKE2B 8d484869a30e1ce508245df4df3e67b83074ebf011f6b262d3c06c779969c498a8f4ad3838b490d0774dbffcf5ed889909b7b58081f7dc0210f1dd07d96dcf1d SHA512 1dd0fe22304be5ca119d421fd1f1a55a9a91fc7ace318276231f383deba467816f1320176b50e3407b4a934136747613c84788a11b3ab031d2c64266dd6f2176 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 deleted file mode 100644 index dd1f5caab7df..000000000000 --- a/app-misc/openrgb/openrgb-0.9-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# 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 "<dev-cpp/cpp-httplib-0.16.0" ; then - libs+=( -lhttplib ) - else - libs+=( -lcpp-httplib ) - fi - - eqmake5 \ - INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \ - DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\\\\\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\\\\\"\\\"" \ - LIBS+="${libs[@]}" -} - -src_install() { - emake INSTALL_ROOT="${ED}" install - - dodoc README.md OpenRGB.patch - - rm -r "${ED}"/usr/lib/udev/ || die - udev_dorules 60-openrgb.rules - - # This is for plugins. Upstream doesn't install any headers at all. - insinto /usr/include/OpenRGB - find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" ';' || die -} - -pkg_postinst() { - xdg_icon_cache_update - udev_reload -} - -pkg_postrm() { - xdg_icon_cache_update - udev_reload -} diff --git a/app-misc/openrgb/openrgb-9999.ebuild b/app-misc/openrgb/openrgb-9999.ebuild index 1d00eb21c792..d5be8e1b92c7 100644 --- a/app-misc/openrgb/openrgb-9999.ebuild +++ b/app-misc/openrgb/openrgb-9999.ebuild @@ -50,11 +50,9 @@ CHECKREQS_DISK_BUILD="2G" src_prepare() { default + rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \ || die "Failed to remove unneded deps" - - rm dependencies/hueplusplus-1.1.0/include/json/json.hpp || die - echo "#include <nlohmann/json.hpp>" > dependencies/hueplusplus-1.1.0/include/json/json.hpp || die } src_configure() { |