diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-18 00:58:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-18 00:58:25 +0100 |
commit | 5e0a5ca921524f8859808527a57655eec16efa52 (patch) | |
tree | 7c58411b1e81478df4e20082a6adec2553c24c5c /app-misc | |
parent | 4c16e0a214824f15f09396e359db4f1f5c086fec (diff) |
gentoo auto-resync : 18:07:2023 - 00:58:24
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 49760 -> 49775 bytes | |||
-rw-r--r-- | app-misc/fastfetch/Manifest | 2 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-1.12.2.ebuild | 2 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-effects/Manifest | 3 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch | 16 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild | 66 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-skin/Manifest | 2 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild | 48 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/Manifest | 3 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch | 17 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild | 52 | ||||
-rw-r--r-- | app-misc/openrgb/Manifest | 6 | ||||
-rw-r--r-- | app-misc/openrgb/files/OpenRGB-0.9-build-system.patch | 12 | ||||
-rw-r--r-- | app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch | 12 | ||||
-rw-r--r-- | app-misc/openrgb/openrgb-0.9.ebuild | 91 | ||||
-rw-r--r-- | app-misc/openrgb/openrgb-9999.ebuild | 14 |
16 files changed, 337 insertions, 9 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex f3f21ba23dc1..ec31962e87c8 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 69fdcbdb12c3..2ac4d2b50904 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,5 +1,5 @@ DIST fastfetch-1.12.2.tar.gz 538194 BLAKE2B bc6badbc7f690dacbe1408479286a0d42ec687526f776ff4d2ec7b0eb767032e5781cbbe37778f4dc03a5d386979a9ae2aab84c466be997b82d9a9a6c81ea78f SHA512 a82a7c7ae365335c20d659a82215cf320c4c6b07ff127c4dad322a0a01f7ec57e34d229f4953108daadcd0d243c84f8504a3b4367df5e255e5a06e685fd6739a EBUILD fastfetch-0.1.9999.ebuild 2831 BLAKE2B 1e74286945d764fd2824c3f70cd576bd75c1d13823c4ca4b0a49ecb9d238f7c25411865db0b2b96d6f63d0f43a6a7f10acf8534cfa2994129dc0ccf03f6b783f SHA512 d42746335e3f2ea08309660499e2139d1a214bf36d9f1044d1c96c715a24b4e68b01d3d5920455f4cfd71f8c1af3562ed3977efc40fb4375ada41ec1e38cddea EBUILD fastfetch-0.2.9999.ebuild 2831 BLAKE2B 1e74286945d764fd2824c3f70cd576bd75c1d13823c4ca4b0a49ecb9d238f7c25411865db0b2b96d6f63d0f43a6a7f10acf8534cfa2994129dc0ccf03f6b783f SHA512 d42746335e3f2ea08309660499e2139d1a214bf36d9f1044d1c96c715a24b4e68b01d3d5920455f4cfd71f8c1af3562ed3977efc40fb4375ada41ec1e38cddea -EBUILD fastfetch-1.12.2.ebuild 2831 BLAKE2B 1e74286945d764fd2824c3f70cd576bd75c1d13823c4ca4b0a49ecb9d238f7c25411865db0b2b96d6f63d0f43a6a7f10acf8534cfa2994129dc0ccf03f6b783f SHA512 d42746335e3f2ea08309660499e2139d1a214bf36d9f1044d1c96c715a24b4e68b01d3d5920455f4cfd71f8c1af3562ed3977efc40fb4375ada41ec1e38cddea +EBUILD fastfetch-1.12.2.ebuild 2838 BLAKE2B 1185a5c20a06bf6e6112f4cc8942eb10ff403f7db2a4edabc1264db19448cfd992da044619b767751bd3d25d1759a6e6a8440aa529e058226adfec8cbfc400b8 SHA512 47b8b945db6391ba18a7fd93c0a9c6d53ccf1d0ede37538dbcb5ed95975f3691bd3f87492860e5e61727aa020ba42acd18ef4e27ffa9b21dfaae10fea9e94752 MISC metadata.xml 1072 BLAKE2B 91bd3ea6312ec3d312f617167c844a24b3b43dcd30cb8bd050d27e1e69dec85ed14abf4198741b21765ee08d3320920dca6877bb17dc7f4cc7e699729ac7f739 SHA512 a3efd1937db95fd42b447d559668b06cc1cdef7e67e8f6bec19f71b944d41628f2a1a68fc55f72ea1fa1319b25a960b660c6450ebf4509f3e21cad99505c4779 diff --git a/app-misc/fastfetch/fastfetch-1.12.2.ebuild b/app-misc/fastfetch/fastfetch-1.12.2.ebuild index 7a1c4c649c9a..314070c56831 100644 --- a/app-misc/fastfetch/fastfetch-1.12.2.ebuild +++ b/app-misc/fastfetch/fastfetch-1.12.2.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" else SRC_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc64" fi LICENSE="MIT" diff --git a/app-misc/openrgb-plugin-effects/Manifest b/app-misc/openrgb-plugin-effects/Manifest index 3346466eb3e3..56b619b0a521 100644 --- a/app-misc/openrgb-plugin-effects/Manifest +++ b/app-misc/openrgb-plugin-effects/Manifest @@ -1,7 +1,10 @@ AUX openrgb-plugin-effects-0.8-dep.patch 730 BLAKE2B 546d4ded2b5207d168e21f3057ca3c83bc3d01c0486bbe699e50401120227115ac0d4652de154832464d6f41f382d3f1d312d8fa6d86bb68aed8b9a91fe5cd68 SHA512 8ed26dfd686b40ac54a6920725e25a80af11a4c4707d3f071e70039ba4ce7f67f8ed19d819fdae3543aa0d1117d228e43d2e51ca5c171019e81301d782a74aad AUX openrgb-plugin-effects-0.8-qrc.patch 285 BLAKE2B 48a9a0090927599723bee4d131f7394dd9a5d2d139e1fbce933bd39e91ec48693f595b3b75cdc1a4fd1ea3527ce679ef1f9dc4f188986c7ad2d805868c4e76b3 SHA512 e0a9b194dcd790c3e9e1b02a813611d3e338e30d49dbf315da2a0019c8ab947407befdabc29dd79f9573fa5c3b7f3e6e7961039d03d70dec1c9b9fb2d14287f0 +AUX openrgb-plugin-effects-0.9-dep.patch 926 BLAKE2B 1592a6cd1a7d43ad21a4e3b1794ca73d524cfab38e0c37afcddc286bb5d31bb25df8c9f3cdcb619b1146c1db323f68c5925d643aaf1851f11fb908d8704b0436 SHA512 47dce3ff605ecb666cdcc0aa643d972b6bb0fc14fedbd3ba7456df64b8bf4efc14faa1918df3fd5254ea74ef0a1754f9bc083878b2ece7f7c5fc14a86a5f6d2e DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4 SHA512 c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3 +DIST OpenRGBEffectsPlugin-release_0.9.tar.bz2 254816 BLAKE2B e406cb70c1a64f2572d075b5d6ca6fa3499060ec33b49264b63d4f43c989adb8f2022b3b7d79a59bd5c82187b29331555385712a6fbcb25b01e5341c23cbd922 SHA512 d20f4890889768857219b79db245804b720b1710483c3ea3f1f6b462c4a172f521c727ad1fd3127fed9724be56dc45232c3a6d23772ec8c9d7e203bb6a6ad8c8 DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a SHA512 4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54 DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854 SHA512 b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd EBUILD openrgb-plugin-effects-0.8.ebuild 1941 BLAKE2B 0d0d1e0691c8ecfc64f67468a1f777e20f35d62b4c1d201eef19f8e31fb0871f26eee5c5c4f779de34137a9f4b0700a90e7b67c38addf44dc69763c9d1d51fe5 SHA512 501728fa832e97c8dea52eda05bfb6609e610603fbe3f530fc671bc4a1447671cc3882c321b8324d574705ad6892838362623ab56f5d165c813cfd8eb3311bbf +EBUILD openrgb-plugin-effects-0.9.ebuild 1966 BLAKE2B fb606bb1ef9c193f73bf474beb689735ff77f1cabc261a12d58bb5ef6348bff616222475386d20a65213e0e770a8d04591e98ea03ad87d060ab8d0550adf16de SHA512 ac81958e6d68a943a6487db6fb7e23a0074e7f4aa3626aca31e33009665fcdc33b8ee864893e921e0b16ef7c5e555bcad8ed8af4d5644a074203f7a5c3f2e040 MISC metadata.xml 484 BLAKE2B fd1a7614f29a1040964e8f43b99240608d34b41b1f3904e3a2b8f33c8cae130cc46dc87e9eb51aea1be82c48dd3ba377150a3b39f2a6399c27e422521ab38e18 SHA512 5b43156294061c4ff508d206e7621e31c493b403aacd648120e240c164203fc1508410f732c24b1e9df489d07d28eb21469df6c01111da413f076530838cf778 diff --git a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch new file mode 100644 index 000000000000..165828d693ef --- /dev/null +++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch @@ -0,0 +1,16 @@ +Fix dependency on app-misc/openrgb + +--- a/OpenRGBEffectsPlugin.pro ++++ b/OpenRGBEffectsPlugin.pro +@@ -64,11 +64,6 @@ HEADERS += + OpenRGB/qt/hsv.h \ + OpenRGB/hidapi_wrapper/hidapi_wrapper.h \ + +-SOURCES += \ +- OpenRGB/RGBController/RGBController.cpp \ +- OpenRGB/LogManager.cpp \ +- OpenRGB/NetworkServer.cpp \ +- OpenRGB/qt/hsv.cpp \ + + + #-----------------------------------------------------------------------------------------------# diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild new file mode 100644 index 000000000000..07fbaa9b65c8 --- /dev/null +++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild @@ -0,0 +1,66 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices" +HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin" + +MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c" +MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61" +SRC_URI=" + https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2 + https://github.com/SRombauts/SimplexNoise/archive/${MY_NOISE_COMMIT}.tar.gz -> SimplexNoise-2019-12-03.tar.gz + https://github.com/justxi/QCodeEditor/archive/${MY_QCODEEDITOR_COMMIT}.tar.gz -> QCodeEditor-2021-08-17.tar.gz +" +S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}" + +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=app-misc/openrgb-0.9:= + dev-qt/qtcore:5 + dev-qt/qtgui:5[-gles2-only] + dev-qt/qtwidgets:5[-gles2-only] + media-libs/openal +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json +" + +PATCHES=( + "${FILESDIR}/openrgb-plugin-effects-0.9-dep.patch" +) + +src_prepare() { + default + rm -r OpenRGB || die + ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die + sed -e '/^GIT_/d' -i *.pro || die + + rmdir Dependencies/SimplexNoise || die + ln -s "${WORKDIR}/SimplexNoise-${MY_NOISE_COMMIT}" Dependencies/SimplexNoise || die + + rmdir Dependencies/QCodeEditor || die + ln -s "${WORKDIR}/QCodeEditor-${MY_QCODEEDITOR_COMMIT}" Dependencies/QCodeEditor || die + + # Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc + # conflicts with the openrgb's one. So rename it. + sed -e 's/ resources.qrc/ resources_effects_plugin.qrc/' -i *.pro || die + mv --no-clobber resources.qrc resources_effects_plugin.qrc || die +} + +src_configure() { + eqmake5 \ + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" +} + +src_install() { + exeinto /usr/$(get_libdir)/OpenRGB/plugins + doexe libOpenRGBEffectsPlugin.so.1.0.0 +} diff --git a/app-misc/openrgb-plugin-skin/Manifest b/app-misc/openrgb-plugin-skin/Manifest index 530a892feffb..4031ce85816c 100644 --- a/app-misc/openrgb-plugin-skin/Manifest +++ b/app-misc/openrgb-plugin-skin/Manifest @@ -1,3 +1,5 @@ DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d SHA512 89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59 +DIST OpenRGBSkinPlugin-release_0.9.tar.bz2 22781 BLAKE2B 46a342927f589c1b9bdbdfc094d8f85007897c5cfac9265d6a8efbafdd5bdb8f3f92927b052e4a52310cf5e2a7404590c16964c0c041ab6035dff24ee41b8e33 SHA512 51a6b11ca95679d9abbb600e77c50eac59138b2f9e080e5eba1606405f95446da0582327e2d071740e1cb1845604e895286cc06512b0769ae1d57937e2df818c EBUILD openrgb-plugin-skin-0.8.ebuild 965 BLAKE2B 57a4038d23980e19ceec3e172a2371137495a31405e915c958dc1778aaccc63a8d53b7c920fc9c6d2ef5811129f4af15d1bd388a84b49cb60bc4794e38fb9c5b SHA512 99d661faf19a3fb1f40a01349e45986f9b5fe5eb0327ea927099f28b4011dba9370d37198830e7ffd42d477c84de9791f28819385301f884983addac3b02ed3f +EBUILD openrgb-plugin-skin-0.9.ebuild 1226 BLAKE2B f1354e881319d482f93062a1a3195f4e29097eab7faee6045377a51546bfb21794102049651b0d6692050892badd3931911fc4a42049ca782ebb24b98b38f67f SHA512 4c547eea49940150bb2cb5660d77cc72e4d36985cf6ee1d54fef0857419b2261ba4c240f243efb298367712d75962dd79124ade651fa106c87f4565d97972b4a MISC metadata.xml 481 BLAKE2B f05f1f16d6180b976f0daa79964c7abe5f9f1caee3aa25c1b328916d810438b7e76fd54297412f02c6fd172d6ca754872cd7d28349c328c8ef9cc8af7069a4be SHA512 9a6815da58c1b372a4af82f96484625334c2977a416e902b824d2be17bc7624cf9d1d69f0bc25ce85b833133b81c10e9257f30c825fdeeb230c7ce8772cf4bfd diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild new file mode 100644 index 000000000000..67cebc546436 --- /dev/null +++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin/-/archive/release_${PV}/OpenRGBSkinPlugin-release_${PV}.tar.bz2" +S="${WORKDIR}/OpenRGBSkinPlugin-release_${PV}" +KEYWORDS="~amd64" + +DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel of OpenRGB" +HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=app-misc/openrgb-0.9:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json +" + +src_prepare() { + default + rm -r OpenRGB || die + ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die + sed -e '/^GIT_/d' -i *.pro || die + + # Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc + # conflicts with the openrgb's one. So rename it. + sed -e 's/resources.qrc/resources_skin_plugin.qrc/' -i *.pro || die + mv --no-clobber resources.qrc resources_skin_plugin.qrc || die +} + +src_configure() { + eqmake5 \ + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" +} + +src_install() { + exeinto /usr/$(get_libdir)/OpenRGB/plugins + doexe libOpenRGBSkinPlugin.so.1.0.0 +} diff --git a/app-misc/openrgb-plugin-visualmap/Manifest b/app-misc/openrgb-plugin-visualmap/Manifest index 1da63625aac1..980e9156b7ab 100644 --- a/app-misc/openrgb-plugin-visualmap/Manifest +++ b/app-misc/openrgb-plugin-visualmap/Manifest @@ -1,4 +1,7 @@ AUX openrgb-plugin-visualmap-0.8-dep.patch 1318 BLAKE2B 88cc045e917dbc1224bbb7cf105890750e4161ad60acc2466ae2c575e1515a4a836d2b63b6baac9770cbd32e59af9d9ea73f0351778f1091c06e1e5e7dbefd07 SHA512 47f2dab3a0c706eeb5411e762016a19d01e04fd870902fe5fd13fc8cd6000bb5bbe723475ad71555daeb76f62b67ed42389beb2602efba5ea8824c31d90d6bf1 +AUX openrgb-plugin-visualmap-0.9-dep.patch 1219 BLAKE2B 869ad2783b91f253565c72d4d634037eaf3cbb662d16a83f44c9bbdf17ac9f6d2d80e40c47d1da33e049adcb533bf8f710c22faf735695c67dc41e6d2e9ca66a SHA512 5d45c3f47cc02ff8b75008d79bcad3a202f52021016a8822f5d331ac4582af21888afcc973d295609ccd259c99ba9b160ac13dabbf0a173a294bec6735d9d37e DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b SHA512 7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61 +DIST OpenRGBVisualMapPlugin-release_0.9.tar.bz2 69646 BLAKE2B 2ae3c190c7b7347fadf62b4a133626da09e9ad90c1dc5c99decf960b115bff587e5d14d8e45ab65781171ebefdd29825422b9b709795d3d2cc735e8d0e061a69 SHA512 ef99263cbed900c1f541982e7349bda03212dfbb8873eb52db00f81cbe5823b7c4e2193de664dd7930da73e11a601b1b595b214629a813e1efda6e7184599521 EBUILD openrgb-plugin-visualmap-0.8.ebuild 1027 BLAKE2B 03f53bb942f3934c516d8aa6a516fc92203b679497495979192238a3f51e6462a3dfc0e833326990e85d87afc13f984aa113945c20209b6b07e0544f01191912 SHA512 0d7892d31c14eedac3f41af54ad19b0004eefeba1238f500cb4928188f33d91d04a7533c81333e9594fe5e9693e06566e910bf14e96a249339937cbe0367cf63 +EBUILD openrgb-plugin-visualmap-0.9.ebuild 1298 BLAKE2B 5a92999ce89e6055e32418228aa70bd79f123cf454837e31d7f1c1a29bf0664a27cc31f6998f019b8eaca3092b8a24ed22c1e76dd49b29645884f5fbe81da210 SHA512 c54b087db9f7738034b98b153c0f52d614adf45ce9ef79f3dc6ee2e61a8d207cbab5a2f51c49497a843cebdfcc0140d74478d484974dfcdf07f43d0ba9b772db MISC metadata.xml 486 BLAKE2B 01cbd7cbe4d88068db283a3eb33d0a23dc100e6effa5d8eea9970c96d75073053ecc161953c0d1ae08b4400c497fc8668004c217b3dde0a3d066f24f9a8f6e7e SHA512 41e51c4089d9e9648656339df9a4ccf52b8907b22da654331b1bd804fb150e0148c1c325e1e15a1f8e2d282f9568f91a31243e9cc9e4aa688d2dfdb75259c5f8 diff --git a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch new file mode 100644 index 000000000000..ce7b3824f950 --- /dev/null +++ b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch @@ -0,0 +1,17 @@ +--- a/OpenRGBVisualMapPlugin.pro ++++ b/OpenRGBVisualMapPlugin.pro +@@ -99,6 +99,5 @@ HEADERS += + OpenRGB/qt/hsv.h \ + + SOURCES += \ +- OpenRGB/RGBController/RGBController.cpp \ + OpenRGBPluginsFont.cpp \ + OpenRGBVisualMapPlugin.cpp \ +@@ -124,7 +121,6 @@ SOURCES += + ui/widget-editor/EditorGrid.cpp \ + ui/widget-editor/LedItem.cpp \ + ui/widget-editor/WidgetEditor.cpp \ +- OpenRGB/qt/hsv.cpp \ + + FORMS += \ + ui/BackgroundApplier.ui \ diff --git a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild new file mode 100644 index 000000000000..7dfb3ace0001 --- /dev/null +++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2" +S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}" +KEYWORDS="~amd64" + +DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones" +HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=app-misc/openrgb-0.9:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json +" + +PATCHES=( + "${FILESDIR}/${P}-dep.patch" +) + +src_prepare() { + default + rm -r OpenRGB || die + ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die + sed -e '/^GIT_/d' -i *.pro || die + + # Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc + # conflicts with the openrgb's one. So rename it. + sed -e 's/resources.qrc/resources_visualmap_plugin.qrc/' -i *.pro || die + mv --no-clobber resources.qrc resources_visualmap_plugin.qrc || die +} + +src_configure() { + eqmake5 \ + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" +} + +src_install() { + exeinto /usr/$(get_libdir)/OpenRGB/plugins + doexe libOpenRGBVisualMapPlugin.so.1.0.0 +} diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest index f32705544215..5d574f9ad7bb 100644 --- a/app-misc/openrgb/Manifest +++ b/app-misc/openrgb/Manifest @@ -1,8 +1,12 @@ AUX OpenRGB-0.5-build-system.patch 755 BLAKE2B bda13d7d9de39d3dd79245ff7a13e22e09381a62ceaa58413b0aaa28017b6e860d032ab6ceb84f1140dc7f6c23dfecc1cadbcf696c8f872016307ea34d8870dc SHA512 50e110c01833113504a3a64e438a404196ae0af8e75007d6c42f3fcab5c20468f3fcb80f83d1f98ac7e1f4f88b1808ee28d0bf342b416d581c354a2388af32bf AUX OpenRGB-0.7-r1-udev.patch 410 BLAKE2B 10e4ba5cc32abed1c5c6bf15426033b03c36929d0d54d247235793193d8e0df26dbd10e1a63edb626a88fbbc5b532f00fac997589afb8885205dad2f53022378 SHA512 0714dc6432fa0d75a8867079d6056f6dc35b98dd62da512643df8649cb2e6bf8de85408485e2b47b2707efef8727789549a216c8adf72447fd084320b1a8e931 AUX OpenRGB-0.8-includes.patch 769 BLAKE2B b996f9d9e8e68416814a763451f6b706eeed8a884e5672ab26c926811dcd4b340afbbf8dd093a56501696a5c95a250f4f7317f5d5658c3b1d60073735fa1fd58 SHA512 710058f60a916404b1850e82a4fdbe9689cee6af8ed783a4a74297dfad46165227d88bda39816ccddcbdff3ef939a930a2977206d746f455e788af504ab91405 +AUX OpenRGB-0.9-build-system.patch 667 BLAKE2B 905d0c4a73439b0f39bfbebc74fbcb43f7df8f5810869834f2cf72c200d8df5d189843977c359eb50acbba23cedae97f245b74870ee7e200319b911ad05c15c6 SHA512 9348c1cc2474ac2d2cfc7e9c4a215e1692310b53ceb42db927bac31e954f34e6f4b70956cf671cb2fbf49add7a9358373bff11b43cdb11526a4c059d10b80762 +AUX OpenRGB-0.9-udev-check.patch 342 BLAKE2B 9778b67d7e99ae0c4fecef5295c248c39784123a413cd4f7c8847642c2d439c1fd985c6bb21302d5a80ef877c3961dd9cf7ee68e273cea9a9e2f9d3135e56cdd SHA512 0949be76e4fed14dff55ce914364d84ed03c0fa851a6372be6eb8554922130fca6bfb55cd4b229f2f5ab62f88b37e107d4b668c0a7c10a8ece40c564b88d3f49 AUX openrgb-0.8-gcc-13.patch 1822 BLAKE2B ef10b19c587919a99e5343cb0f8280d8cc6fdc199b9b5b8dac7f4a9cbdb8af0d47cefb6a015b6720b3307558227673c657701d711e256a61a97c0760b442b1f6 SHA512 e0ea05b27ef3a7936e9f1a6b3119bec9764562885c990c3fa9fcbfbda1eb556e5f696ed3f217dff74b97c109d1ab0cbc987fa1be505b10301f6726c77c4d37c0 DIST OpenRGB-release_0.8.tar.bz2 28631365 BLAKE2B 3b328e38f1c52646da02b0b2b2c22b1285f3b31b0a2bc684e99d491d04bd14a91b49bc196b3b81b537320cd872e5568aaa8aec34744f4f15392d9424a81ac6f0 SHA512 d69686da7cab33099b13cfb5ab876fc2db047f79aa01bf8150507ec41321b4c6c092f81623823b89916c70a1a24c4a102f77b1001c5caa721ff4c0c52e0630d2 +DIST OpenRGB-release_0.9.tar.bz2 28689813 BLAKE2B 9fcf08d5e4d07ffc0f7867516f09044e18ce488bcdd99c8b44e0afe291b8a21a7ba92d6e7fd683ef22462a262004a992621efb59a5df6ed7551f4e9f75843241 SHA512 fb1bdbc7bcbd3bac888be313cfb6403a13d39de659ac6993858f9c1b17ad40e9c4a7d4c7c90682181841db1659a0ee298363c442a7120d43347aaf4485e7dccf EBUILD openrgb-0.8-r1.ebuild 2295 BLAKE2B 5afcfd34951da11f082158fa6cf672e64c6779a1c37b44745407d0be1259f73a21971977f8be2fb6aa67e0a86ab0cde44b299391879b3357eafb0b33113ad225 SHA512 80e3a01d1e9e5b1734ac2d10a42fe8c590f435b8de8088438d2d03d8e5918f999db47f749c2c4c2aa367562de42496c11949e199a1dc282d48958cb9bc020e9b -EBUILD openrgb-9999.ebuild 2214 BLAKE2B ff82e906f2a33ca4b8b015e133c7ebce737430884aece52b75a883944b6ebcd4def3bc60ef61bd5abb8a9df0840f401f046ab1660149f394670c614a2e8a810c SHA512 186284c9cfca9437388353ac8212e62a12559d34a1c12141972f8a5101e4c82d0bc11cba6e4dd86ecb1dffa075b2e1454afe07a31f9a1ae27b980a925f59a5d4 +EBUILD openrgb-0.9.ebuild 2271 BLAKE2B 93575941a56bab03fb55eaa9aff7ea4ee66912bb6ad9945e2bcef3c563be4852ad127678ba58348a6d46bb5a8896cf8af3f094d32d7ee3d199ac80d4d1992b9d SHA512 a874a21a2d108b498666e42b53e46b05bd3b75b013291ca5733d86d8ff69b9804fd97cd7203ed327db299cb7ec11d8a9c1ef2241f3ec5b16b388ff15a9f7e18f +EBUILD openrgb-9999.ebuild 2271 BLAKE2B 93575941a56bab03fb55eaa9aff7ea4ee66912bb6ad9945e2bcef3c563be4852ad127678ba58348a6d46bb5a8896cf8af3f094d32d7ee3d199ac80d4d1992b9d SHA512 a874a21a2d108b498666e42b53e46b05bd3b75b013291ca5733d86d8ff69b9804fd97cd7203ed327db299cb7ec11d8a9c1ef2241f3ec5b16b388ff15a9f7e18f MISC metadata.xml 1228 BLAKE2B b3844d9c8b09d9d976ee41d874675b179a8e38b1eaaaa06e3052d6bac824dfc8c67102de54d9f62a3f24e4cf0157825608c060a56de2cc21bb71f8c7831148ad SHA512 5067cb355010ada60bfe789a511d02bf3d3a26083544104d782b9c08b0c70457f998c91c71f8d99e48f2d73fef07ea029fcc8c7848bdc5d625f5c1a8c9ca9ca3 diff --git a/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch b/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch new file mode 100644 index 000000000000..567e60787b72 --- /dev/null +++ b/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch @@ -0,0 +1,12 @@ +--- a/OpenRGB.pro ++++ b/OpenRGB.pro +@@ -46,9 +46,6 @@ TEMPLATE = app + #-----------------------------------------------------------------------------------------------# + win32:BUILDDATE = $$system(date /t) + unix:BUILDDATE = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}") +-GIT_COMMIT_ID = $$system(git log -n 1 --pretty=format:"%H") +-GIT_COMMIT_DATE = $$system(git log -n 1 --pretty=format:"%ci") +-GIT_BRANCH = $$system(git branch --show-current) + + DEFINES += \ + VERSION_STRING=\\"\"\"$$VERSION\\"\"\" \ diff --git a/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch b/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch new file mode 100644 index 000000000000..e3525c116baf --- /dev/null +++ b/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch @@ -0,0 +1,12 @@ +We install udev to /lib/udev instead, which it doesn't check + +--- a/ResourceManager.cpp ++++ b/ResourceManager.cpp +@@ -895,7 +895,6 @@ void ResourceManager::DetectDevicesThreadFunction() + { + if(access("/usr/lib/udev/rules.d/60-openrgb.rules", F_OK) != 0) + { +- udev_not_exist = true; + } + } + else diff --git a/app-misc/openrgb/openrgb-0.9.ebuild b/app-misc/openrgb/openrgb-0.9.ebuild new file mode 100644 index 000000000000..0b3ebc85f6c8 --- /dev/null +++ b/app-misc/openrgb/openrgb-0.9.ebuild @@ -0,0 +1,91 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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:= + 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 +) + +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 + + eqmake5 \ + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \ + DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\\\\\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\\\\\"\\\"" \ + LIBS+=-lhttplib +} + +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 291cae9fb808..0b3ebc85f6c8 100644 --- a/app-misc/openrgb/openrgb-9999.ebuild +++ b/app-misc/openrgb/openrgb-9999.ebuild @@ -12,14 +12,15 @@ 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.5-build-system.patch ) + 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/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:= @@ -42,6 +43,7 @@ BDEPEND=" PATCHES+=( "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch + "${FILESDIR}"/OpenRGB-0.9-udev-check.patch ) src_prepare() { @@ -52,8 +54,8 @@ src_prepare() { src_configure() { # Some plugins require symbols defined in the main binary. - # The official build system bundles OpenRGB as a submodule instead, and - # compiles the .cpp file again. + # 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 @@ -70,8 +72,8 @@ src_install() { dodoc README.md OpenRGB.patch - udev_dorules 60-openrgb.rules 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 |