From d3c7d3e5f9607edef1a795ccc502ab3eb3121165 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 14 Nov 2024 03:02:32 +0000 Subject: gentoo auto-resync : 14:11:2024 - 03:02:32 --- dev-util/Manifest.gz | Bin 65167 -> 65153 bytes dev-util/cargo-c/Manifest | 2 +- dev-util/cargo-c/cargo-c-0.10.0-r1.ebuild | 2 +- dev-util/cucumber-rails/Manifest | 2 + .../cucumber-rails/cucumber-rails-3.0.1.ebuild | 48 ++++++ dev-util/diff-cover/Manifest | 2 +- dev-util/diff-cover/diff-cover-6.5.0-r1.ebuild | 31 ---- dev-util/diff-cover/diff-cover-6.5.0-r2.ebuild | 31 ++++ dev-util/diffoscope/Manifest | 8 +- dev-util/diffoscope/diffoscope-272.ebuild | 2 +- dev-util/diffoscope/diffoscope-277.ebuild | 2 +- dev-util/diffoscope/diffoscope-279.ebuild | 2 +- dev-util/diffoscope/diffoscope-282.ebuild | 2 +- dev-util/idea-community/Manifest | 6 +- .../idea-community/idea-community-2024.2.4.ebuild | 169 --------------------- .../idea-community/idea-community-2024.3.ebuild | 169 +++++++++++++++++++++ dev-util/intel_clc/Manifest | 2 + dev-util/intel_clc/intel_clc-24.2.7.ebuild | 93 ++++++++++++ 18 files changed, 359 insertions(+), 214 deletions(-) create mode 100644 dev-util/cucumber-rails/cucumber-rails-3.0.1.ebuild delete mode 100644 dev-util/diff-cover/diff-cover-6.5.0-r1.ebuild create mode 100644 dev-util/diff-cover/diff-cover-6.5.0-r2.ebuild delete mode 100644 dev-util/idea-community/idea-community-2024.2.4.ebuild create mode 100644 dev-util/idea-community/idea-community-2024.3.ebuild create mode 100644 dev-util/intel_clc/intel_clc-24.2.7.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index be6865270fd2..4971128b210c 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/cargo-c/Manifest b/dev-util/cargo-c/Manifest index 862a1918cfaf..57321badcded 100644 --- a/dev-util/cargo-c/Manifest +++ b/dev-util/cargo-c/Manifest @@ -1014,7 +1014,7 @@ DIST zerocopy-derive-0.7.34.crate 37907 BLAKE2B 23a698c3c892187307007cbc76c9338d DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb DIST zeroize-1.7.0.crate 19039 BLAKE2B 2f94a5025f409bd2b96a456d2f78a34c6b05b5554abe7ef3fad2a55a8fcff8a6a1b971be660aa4c2954ab7d6e89bebc431036e349edef74711292f9f64b1dbae SHA512 9d31e3e76e8c861309a3579c21f6da5fd6b056c7d7a350427445a1a832e8827204804783f7f9b808acaa2148efef883d9078bf84943b1db55526bba5bf5a2756 DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe14ab9e7f0b4ef3cb1ecbc42fbec2b951414e26ab00bc65aaddc2c93eddd5a1963b27c6cd613ac71c65d5cc24 SHA512 dd40ebe98b98fd742608d4066b5ab66caba94b2e679428fcaff9fe547d8cd6ff2360dc85d671ee9183e32fb79cb554d00d6aef9eb8f3d8ad0ec92d0435aa4ebe -EBUILD cargo-c-0.10.0-r1.ebuild 7987 BLAKE2B 1299ff9d59c999d3e96d36c30b52074e5394baf10bb5aacb9a314ccfb040b6f23ef9f34b01358734b3819c2e1d12cc74d108659e28568af8e917d803a8a7a907 SHA512 d9776dd657efa6af5f2a4584ef5fd23fac3f2964646f5ead66e6393afdcd83e8a442c6945d52e5cde02c0ce890dbca018d167c0e51a732e303a1f3711354a532 +EBUILD cargo-c-0.10.0-r1.ebuild 7982 BLAKE2B 1c5d191d00cd461ffbc272a3c54289d0dbcb1dfbacad3f9817e28dea7bc5dc5e7a01a5130f215a9d1b9302ad95e85e32c6181ab8493d1f553d48762bcfa2979e SHA512 8543fa37767df6da48bce651aba713a43e423b642b48e75b3bc49eafdf4d8205327ff69cd8d850caa20cce3058bc5e4cde95d594929c2c96862288eed7ce5243 EBUILD cargo-c-0.10.4-r1.ebuild 7700 BLAKE2B 5a787230d8591925976853c611da6f14e146baac52e0d872d80c501916f66c8528632315962cabebf39c188f3e37886fb6d138d828c1c83de9be8fc911413ebb SHA512 65fefc6b60305cce092393c146e5c4551164b7ed857bdc7cd0264539800c89aa79e17c99f5fbc8e5af01e3388cdd5d9933f9136b30e2d41cb97c005677682ae0 EBUILD cargo-c-0.10.5-r1.ebuild 7795 BLAKE2B d476b6fc2e9b72158f5796d3849612c106dbc9d9525c8dac46bc63cfb64424a188b8c7474b4fdf345a16259a81da5c8cae27daff8a723b829575663cb269acb5 SHA512 dc7c4f516452348db235ef9c2f422c624c923bb7a74397a855cd40062c607d2c7b26b4825abbc41f6365eb40852a4f919609de7fd0d419cfba689c522f320ab3 EBUILD cargo-c-0.9.14-r1.ebuild 4200 BLAKE2B 535781d5617e14a0f0eb9651917a94ede45bc4b5b5754f7985f86aaa08e36c12a1753c39074c6e23a4a87b2f80468b73dbbe9bf7d64a6740f540c5e62966115a SHA512 66fcf869eec562ececf06cc0d4a2ff37312f2bc51c09f4d2f7af7fa912569ae39d2f1441b0aff9cb72ba3fbb2ee070883e850466af89df5ae4389c18d553f6b0 diff --git a/dev-util/cargo-c/cargo-c-0.10.0-r1.ebuild b/dev-util/cargo-c/cargo-c-0.10.0-r1.ebuild index b76e05e5b0fc..639e1ae4cee2 100644 --- a/dev-util/cargo-c/cargo-c-0.10.0-r1.ebuild +++ b/dev-util/cargo-c/cargo-c-0.10.0-r1.ebuild @@ -362,7 +362,7 @@ LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD ISC MIT MPL-2.0 MPL-2.0 Unicode-DFS-2016" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=">=dev-libs/libgit2-1.7:= dev-libs/openssl:= diff --git a/dev-util/cucumber-rails/Manifest b/dev-util/cucumber-rails/Manifest index b6e699b8b5b6..df8149536b28 100644 --- a/dev-util/cucumber-rails/Manifest +++ b/dev-util/cucumber-rails/Manifest @@ -1,5 +1,7 @@ DIST cucumber-rails-2.6.1.tar.gz 43079 BLAKE2B c45211c8a2375fc2b488d22fb74041e5dcf56027d6644721b5023b8ad9e68f07593c448acb88b7c0e51dcad7da0213d48726e20175ecd5fd04f16174e44b848a SHA512 dd2ed4afecf74e8aac0fa360d81a27407df999b041b21c597e9ac141422cb0ece89eaa74d8da9a4fc2858efaf242837d8237a9ceee44875cff2c50d288fad480 DIST cucumber-rails-3.0.0.tar.gz 37102 BLAKE2B 095b867916ccaf4ac30b6140045700002c0a83e16c86162c4891cfa21a74b2d4f2f05646f533e2b618d5c99ee74344d68042d2e47edfa6e0adfc35aa1ed31721 SHA512 66c045026b13dc94198e4095d41b8ca4bbde345f221443b834f020173b7b0bb82e5db3880691ad8adea7e39fd0ab6e987a97347712b7a0a9697825a151206beb +DIST cucumber-rails-3.0.1.tar.gz 37596 BLAKE2B 37c861b361dd0e7aefcd1be4bd66cf10eb875ea652767e7113c3b9caf2fac5a874a9ec5624490e812412b2c69ea00975f85b40e2cee1c0c0d2f005c30941f49d SHA512 b9ba7aec5d76085c36f60786a37cc0f8c04866965e1785ba194795212a5923680aee3a2c7b38825e8cff354e2ef87dc209c66e19dccf0cb78745b0db06567134 EBUILD cucumber-rails-2.6.1.ebuild 1307 BLAKE2B 0a43b5763de3a8df3a43c16dd4052d425e76042f84f19535b9f036a3406e722740928fb764bb1dd7d8cfc010ccd3e2019b54effd751d78e2855b30afc07e4545 SHA512 3e21d91c70b3d4133356056a60c1aafd3b51842c3c7635c3f182a18cbc4ce2410279316fbd5ff8ac905cf284fde0542727173853bb6796ca368daa1a2e560462 EBUILD cucumber-rails-3.0.0.ebuild 1224 BLAKE2B 757d403eed3d8cf55e1425d7ea5629ba318f3b28e6b1afb5cf48bda30c23d49813af3adbab8f2c22fe451daf7daeb1a134386adfc1154153cb2ab20fd7126f2f SHA512 74f8bb641193f3c1ddd6a9f61390e4ea50b7ca93b8eae57af7ffdb081bdaa3060339225d3e3aaf9efb87de2fe24c13be43860a437ebde866f1f0e7d98d5937ec +EBUILD cucumber-rails-3.0.1.ebuild 1192 BLAKE2B 320cb38f1780796aab261847e245b0d86c1e686c77dab23e7142177b36f407460051295356e2f611a5623e5bf1cbaad08d8ffd0dadeff69d2df717d5aac04a14 SHA512 d6f14562cedb0979445fb1915472ff52e3f84b7f669454b4944df31aa8375d854df9cdfac714641c38d3e217450cd513b8823fa9c7e81f8368250446760686b0 MISC metadata.xml 362 BLAKE2B d78c5e27c303f740d23ba5028bc6487a7ccf131f162e5f5bacc8fa4156924ced486c9b1685eba44855d8b01ec80628a09450c7b59812d6d11c87ef4f43017f0a SHA512 d24a91945f69be7fe717fd78b11adf59de3ef2c8bbb562b35618a2afb09bf43f524467e6a0ec665a1d94c038e3d8fa564638c6c585846347d790fcd37e07f2a0 diff --git a/dev-util/cucumber-rails/cucumber-rails-3.0.1.ebuild b/dev-util/cucumber-rails/cucumber-rails-3.0.1.ebuild new file mode 100644 index 000000000000..2e7c94c18ea5 --- /dev/null +++ b/dev-util/cucumber-rails/cucumber-rails-3.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +# There are also cucumber features. They require a Rails project with +# factory girl which we don't have packaged yet. +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="cucumber-rails.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Executable feature scenarios for Rails" +HOMEPAGE="https://cucumber.io/" +SRC_URI="https://github.com/cucumber/cucumber-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Ruby" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +# Restrict tests since Appraisal is now mandatory to manage different +# rails versions, even for the specs. +RESTRICT="test" +#ruby_add_bdepend " +# test? ( +# >=dev-ruby/ammeter-0.2.2 +# >=dev-ruby/rspec-rails-2.7.0:2 +# )" + +ruby_add_rdepend " + >=dev-ruby/capybara-3.11:3 + >=dev-util/cucumber-5 =dev-ruby/rails-5.2:* "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die - - # remove bundled harfbuzz - rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz" -} diff --git a/dev-util/idea-community/idea-community-2024.3.ebuild b/dev-util/idea-community/idea-community-2024.3.ebuild new file mode 100644 index 000000000000..3eeb83069916 --- /dev/null +++ b/dev-util/idea-community/idea-community-2024.3.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit desktop wrapper + +MY_PV=$(ver_cut 1-2) + +DESCRIPTION="A complete toolset for web, mobile and enterprise development" +HOMEPAGE="https://www.jetbrains.com/idea" + +SRC_URI=" + amd64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}-aarch64.tar.gz -> ${P}-aarch64.tar.gz ) + " + +S="${WORKDIR}/idea-IC-${PV}" +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 + codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 + GPL-2 GPL-2-with-classpath-exception ISC + JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT + MPL-1.0 MPL-1.1 OFL-1.1 ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=" + || ( + >=dev-java/openjdk-17.0.8.1_p1:17 + >=dev-java/openjdk-bin-17.0.8.1_p1:17 + )" + +RDEPEND="${DEPEND} + sys-libs/glibc + media-libs/harfbuzz + dev-java/jansi-native + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXrender + media-libs/freetype + x11-libs/libXext + dev-libs/wayland + x11-libs/libXi + x11-libs/libXtst + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrandr + media-libs/alsa-lib + app-accessibility/at-spi2-core + x11-libs/cairo + net-print/cups + x11-libs/libdrm + media-libs/mesa + dev-libs/nspr + dev-libs/nss + dev-libs/libdbusmenu + x11-libs/libxkbcommon + x11-libs/libXcursor + x11-libs/pango" + +QA_PREBUILT="opt/${PN}/*" + +BDEPEND="dev-util/patchelf" +RESTRICT="splitdebug" + +src_unpack() { + + default_src_unpack + if [ ! -d "$S" ]; then + einfo "Renaming source directory to predictable name..." + mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die + fi +} + +src_prepare() { + + default_src_prepare + + if use amd64; then + JRE_DIR=jre64 + rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-aarch64/libquiche.so + else + JRE_DIR=jre + rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-x86-64/libquiche.so + fi + + PLUGIN_DIR="${S}/${JRE_DIR}/lib/" + + # rm LLDBFrontEnd after licensing questions with Gentoo License Team + rm -vf "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend + rm -vf ${PLUGIN_DIR}/libavplugin* + rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* + rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le + rm -vf "${S}"/bin/libdbm64* + rm -vf "${S}"/lib/pty4j-native/linux/mips64el/libpty.so + + if [[ -d "${S}"/"${JRE_DIR}" ]]; then + for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} + do + if [[ -f "$file" ]]; then + patchelf --set-rpath '$ORIGIN' $file || die + fi + done + fi + + rm -vf "${S}"/lib/pty4j-native/linux/x86-64/libpty.so + + sed -i \ + -e "\$a\\\\" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ + -e "\$a# package manager. See bug #704494" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$aide.no.platform.update=Gentoo" bin/idea.properties + + patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die + patchelf --set-rpath '$ORIGIN' "jbr/lib/libcef.so" || die + patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die + + if ! use elibc_musl; then + rm plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release + fi + + eapply_user +} + +src_install() { + local dir="/opt/${PN}" + local dst="${D}${dir}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{format.sh,idea,idea.sh,inspect.sh,restarter,fsnotifier} + + if [[ -d jbr ]]; then + fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver} + + # Fix #763582 + fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper} + fi + + if use amd64; then + JRE_DIR=jre + JRE_DIR=jre + fi + + JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" + if [[ -d ${JRE_DIR} ]]; then + for jrebin in $JRE_BINARIES; do + fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" + done + fi + + # bundled script is always lowercase, and doesn't have -ultimate, -professional suffix. + local bundled_script_name="${PN%-*}.sh" + make_wrapper "${PN}" "${dir}/bin/$bundled_script_name" || die + + local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')" + newicon $pngfile "${PN}.png" || die "we died" + + make_desktop_entry "/opt/idea-community/bin/idea" "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die + + # remove bundled harfbuzz + rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz" +} diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest index 998918f1116a..f999db6fea0f 100644 --- a/dev-util/intel_clc/Manifest +++ b/dev-util/intel_clc/Manifest @@ -3,10 +3,12 @@ DIST mesa-24.2.3.tar.xz 29465732 BLAKE2B 3c480bd9f5948ae4d66a833cfc059b1b872fca9 DIST mesa-24.2.4.tar.xz 29510040 BLAKE2B a0a977e5032e1c9a5b59dc9212d50b6f023fb9d42d325e692a3c680e77a06e2ccd66843b9eaeeadbf3614b65798c5c4649fb0bb74f134334e662ee9dd47ac21f SHA512 f0f1c23591cce85966efaf3988afdb14b64ceb7216b3994e8fc50e8ddc62c35a84b2013285c84080d963aec2afb94dac345f5f00e7ccf9ae7e9ab3f5b9ba0bcb DIST mesa-24.2.5.tar.xz 29534380 BLAKE2B 6ea7303b7e762a3f32ebbccd53a47f28ab6b6919850f55fffc5be10ab2873a206d9f78ef3a2c32c55f6ab94d2886104b9c96f2140fdb7d4c1ac67650d3521441 SHA512 9f202907dc4e7f1063c32882b2c9a3ab34c4d83de1c9ef4dd171043b87b110bfd7e7a3d6e3632ed768e024ef18b97181c4f6bc377cc7d3eb609dd96ebf6a783e DIST mesa-24.2.6.tar.xz 29568568 BLAKE2B e49fc85c8a61315d86b253b7dd8052a1e46ea99d5188cf930c833317898c51b7b413286f57a53af3c2b1bb147ce2541ea80279ee9e237deeb499729bb7fd8381 SHA512 830a40d38200ff8b2a6bd949e1ac3bf4edc887a10d9aa92285007d138079e1fafb3568f658e777e7894e95b5ce75d2bd6836b0473fa70d32270005e482b1a2da +DIST mesa-24.2.7.tar.xz 29589968 BLAKE2B eb1b0285e14e77c3140275b322ff084fca74a1048e6df38f4b14cb03ed7fc436897f7b33d107d1e262d9d4944229fb1e85d02e731c645ead5a7b269dec9334b7 SHA512 8776b45abe5e845c587c0fa9feb22d89f07457265ff63175fb42681ce56dff97b0e163d9e9ac80555ee04decb78754e7331e1015d95c5f84ca3c2549663291dd EBUILD intel_clc-24.1.7.ebuild 1746 BLAKE2B 29d3a3345eb3a42a43079d169fe923e59ec7db0e5f5d3057fcb66aeac3c31fadf0522000c860c23b6b5a6aa0a9d82e09b88817c2791adb4d803dbafa6acc16e2 SHA512 8f1de0280d57dc7196d8602f19dcce0211599b47353e2580116289627ab6f8584c8c8bf66d415d177cfa9dda0514a4640057d637d26da081e38ffcddd310b9a3 EBUILD intel_clc-24.2.3.ebuild 1977 BLAKE2B da708552132721c9b9c4a4723d4b403ad8e00899667959384c4ba9845bad7edb978d165ca4e6770dfab9f32e8854886fe8bcdf391e21f7ea7713571d99ec4b03 SHA512 e3905923dd69c1fea7c534b4df421dbd0baded98b96f2d8aa91bd2fb8c7fe81858a8bdb4e9fa5cc63733c9af74c1da9287d1f08e31471ba2c974188042194704 EBUILD intel_clc-24.2.4.ebuild 1979 BLAKE2B b7bbe36212882495005ff453ad696413aab2460374953688354452d3ce312a6283f6e4cf1f3111e37aec4e3ec3a9b2aa6d57ba9c90b6163374f58bad66cfcfc5 SHA512 a313fc7f1c832b9f2287cd29735f49dac6a22b8253a68c579f32520781b0e258b0d9590835374bb8edce5817212c97f96737198392693763f58ae59216815279 EBUILD intel_clc-24.2.5.ebuild 1979 BLAKE2B b7bbe36212882495005ff453ad696413aab2460374953688354452d3ce312a6283f6e4cf1f3111e37aec4e3ec3a9b2aa6d57ba9c90b6163374f58bad66cfcfc5 SHA512 a313fc7f1c832b9f2287cd29735f49dac6a22b8253a68c579f32520781b0e258b0d9590835374bb8edce5817212c97f96737198392693763f58ae59216815279 EBUILD intel_clc-24.2.6.ebuild 1977 BLAKE2B 17454fd4d5dd74fe1bdc53473bd706460144bcb0fb6f539c829817f1336df052b8e4a4185232379bde05acfe672291d06cb32dd9ab6ed605916f3a8d635efd1f SHA512 8bbb8ddda68ecc51a396706cfadb1548a2346fef36425df49c49ecca544d817ccd74d4ea3a17d1fcbadc288521ca599fa896c9749d4c68d420c7d940f28ad435 +EBUILD intel_clc-24.2.7.ebuild 1979 BLAKE2B b7bbe36212882495005ff453ad696413aab2460374953688354452d3ce312a6283f6e4cf1f3111e37aec4e3ec3a9b2aa6d57ba9c90b6163374f58bad66cfcfc5 SHA512 a313fc7f1c832b9f2287cd29735f49dac6a22b8253a68c579f32520781b0e258b0d9590835374bb8edce5817212c97f96737198392693763f58ae59216815279 EBUILD intel_clc-9999.ebuild 1979 BLAKE2B b7bbe36212882495005ff453ad696413aab2460374953688354452d3ce312a6283f6e4cf1f3111e37aec4e3ec3a9b2aa6d57ba9c90b6163374f58bad66cfcfc5 SHA512 a313fc7f1c832b9f2287cd29735f49dac6a22b8253a68c579f32520781b0e258b0d9590835374bb8edce5817212c97f96737198392693763f58ae59216815279 MISC metadata.xml 388 BLAKE2B 0558cfe706987a93605fb383bc2c30ff4f4cf5837ca19afd3e16d9702ea7dcd3d575579d53aacb531e1d421c8b1692eb4607d713793a89240223c031d7781a31 SHA512 e0375912a94fa92b49ed78d9a88c4eacc8b441d8b2fa117a48df2d8a958f1cf91279299aca109e24f76b27ca04f0067f83e5b8e4141f85ac64d379bca0945d2a diff --git a/dev-util/intel_clc/intel_clc-24.2.7.ebuild b/dev-util/intel_clc/intel_clc-24.2.7.ebuild new file mode 100644 index 000000000000..dba89e63b2b3 --- /dev/null +++ b/dev-util/intel_clc/intel_clc-24.2.7.ebuild @@ -0,0 +1,93 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {16..18} ) +PYTHON_COMPAT=( python3_{10..13} ) + +inherit llvm-r1 meson python-any-r1 + +MY_PV="${PV/_/-}" + +DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V" +HOMEPAGE="https://mesa3d.org/" + +if [[ ${PV} == 9999 ]]; then + S="${WORKDIR}/intel_clc-${MY_PV}" + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + inherit git-r3 +else + S="${WORKDIR}/mesa-${MY_PV}" + SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT SGI-B-2.0" +SLOT="0" +IUSE="debug" + +RDEPEND=" + dev-libs/libclc + dev-util/spirv-tools + >=sys-libs/zlib-1.2.8:= + x11-libs/libdrm + $(llvm_gen_dep ' + dev-util/spirv-llvm-translator:${LLVM_SLOT} + sys-devel/clang:${LLVM_SLOT}= + sys-devel/llvm:${LLVM_SLOT}= + ') +" +DEPEND="${RDEPEND} + dev-libs/expat +" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep " + >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}] + dev-python/packaging[\${PYTHON_USEDEP}] + dev-python/pyyaml[\${PYTHON_USEDEP}] + ") + virtual/pkgconfig +" + +python_check_deps() { + python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1 +} + +pkg_setup() { + llvm-r1_pkg_setup + python-any-r1_pkg_setup +} + +src_configure() { + PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig" + + use debug && EMESON_BUILDTYPE=debug + + local emesonargs=( + -Dllvm=enabled + -Dshared-llvm=enabled + -Dintel-clc=enabled + + -Dgallium-drivers='' + -Dvulkan-drivers='' + + # Set platforms empty to avoid the default "auto" setting. If + # platforms is empty meson.build will add surfaceless. + -Dplatforms='' + + -Dglx=disabled + -Dlibunwind=disabled + -Dzstd=disabled + + -Db_ndebug=$(usex debug false true) + ) + meson_src_configure +} + +src_install() { + dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc +} -- cgit v1.2.3