From a5442e2318cb4df55867389654e322dbac82067e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 8 Jul 2024 12:25:04 +0100 Subject: gentoo auto-resync : 08:07:2024 - 12:25:03 --- sci-visualization/Manifest.gz | Bin 4350 -> 4346 bytes sci-visualization/gr/Manifest | 4 +- sci-visualization/gr/gr-0.72.4.ebuild | 86 ---------------------------------- sci-visualization/gr/gr-0.73.6.ebuild | 85 +++++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+), 88 deletions(-) delete mode 100644 sci-visualization/gr/gr-0.72.4.ebuild create mode 100644 sci-visualization/gr/gr-0.73.6.ebuild (limited to 'sci-visualization') diff --git a/sci-visualization/Manifest.gz b/sci-visualization/Manifest.gz index 8bf8f0ce52c0..5f7c3c142538 100644 Binary files a/sci-visualization/Manifest.gz and b/sci-visualization/Manifest.gz differ diff --git a/sci-visualization/gr/Manifest b/sci-visualization/gr/Manifest index 268f079122f9..ad89f8e49c63 100644 --- a/sci-visualization/gr/Manifest +++ b/sci-visualization/gr/Manifest @@ -1,6 +1,6 @@ AUX gr-0.53.0-musl.patch 797 BLAKE2B 4eb48a510b19a23cc4c82e0f81a1f9753c96f0554edecf4a4163b17be9505e8c8d0710f9c97c49dadb84fefe69cab27a3bfbb6cfe04b97b0d9a260b6e4042fe5 SHA512 5080806ed0598d404a380c3d8fe10207dd3fc1245b76992c341261f43b9727a82f7ebd85e582c606d6ccaf72eb04a57d21ccc0168e5c19b6b37cb2b265fa0018 -DIST gr-0.72.4.tar.gz 9067899 BLAKE2B 827c80dbfc3483abe4af217c06549c64aa134446e831a5d7fab3906a3aac7bb23b66f8b98674220ff1b6fbd5fad60b9a8e7f7361a27370c033d9375a18f63234 SHA512 4ae1aae6854995ae58327d41930cedd96ef973ce65467f48f24d9985b27b5af2aa0eb6832a801b46e6fa71cade99117957c96738cb000306b0574b0e471692fb DIST gr-0.73.3.tar.gz 10076655 BLAKE2B 13bd461b39a86473290912f5a9ba5a4b5ea3ffc8865f6909aad1fc92acf6d39fdb12910e2bf0f8108b7bef1016652515c6cc188db0b98dd052459400b30895ba SHA512 f45daefd880eec9380a2a31f1cd3b124469c1d33c34a9d13a3718b1978da507620b6f7cc025dd20be81a70f52537dbb4537548d8cc32e133693d9b7ae2f476e5 -EBUILD gr-0.72.4.ebuild 2289 BLAKE2B 276f7a9dac58ccf66591c518742837c1e20f4c40690c98744287553bb96d6d4b15d079a425c72465ee5330eda126ec4b5746c596ffc7ecc2b189b63be513db85 SHA512 5c29d01631d8ad9a66af9539bfd5cd41d7b7c811d761d7b2c73fb80ae8bc07be8bb3610d008da10a0669e56828da454ce35844e2e34d47817defe269094e0fe5 +DIST gr-0.73.6.tar.gz 10109682 BLAKE2B 15499dc9dbe42b3530edcba29a1ca82f05051a499a0656af1fa94a90d6b9ac3a321118694c80f2e52b092a8b3840105d92cf6df1fe079062183ea11de995c20b SHA512 4b96b55c540ec2984042ff308c7ef73cfed1008c4de8a4b77be3e13db06cfeb648e5e0ec511a2387b4c545005aa7924d40b74c0d8a62f30d2c36388e3f2b9128 EBUILD gr-0.73.3.ebuild 2297 BLAKE2B 87bbba0668d22bc6f43c123dab81a9e92f9d99180176778a415ba49ab198a9d9c7deed65f53f57c834ec34b4bc5ae5e5276826f77234525f540fa71dcab69a5e SHA512 e106db36df8c4a23144cff2eadab161e94945a357a2611274e9ab181a394941d6451ca3f894c681422f1922b6a456e6c86d8f5be52d55429171898bafc7e3f51 +EBUILD gr-0.73.6.ebuild 2297 BLAKE2B 87bbba0668d22bc6f43c123dab81a9e92f9d99180176778a415ba49ab198a9d9c7deed65f53f57c834ec34b4bc5ae5e5276826f77234525f540fa71dcab69a5e SHA512 e106db36df8c4a23144cff2eadab161e94945a357a2611274e9ab181a394941d6451ca3f894c681422f1922b6a456e6c86d8f5be52d55429171898bafc7e3f51 MISC metadata.xml 430 BLAKE2B 922435158e29d041da262d3aeea2acaf7e3bc422b3e474ff4f3b80aecc014b07c44135dc8ac24d04a39492570d1e3125227c35219b152a4e55bccde56ab00482 SHA512 7a68b4489a3de564b6239ea25d02ffa19384ea2b7813c26d68931784e863b7199a2b17ac99165e67062c4b594ce4895b6459c4c695db0c1db4c55c9fbaac4655 diff --git a/sci-visualization/gr/gr-0.72.4.ebuild b/sci-visualization/gr/gr-0.72.4.ebuild deleted file mode 100644 index 51aaeb29fc39..000000000000 --- a/sci-visualization/gr/gr-0.72.4.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Universal framework for cross-platform visualization applications" -HOMEPAGE="https://gr-framework.org/" -SRC_URI="https://github.com/sciapp/gr/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="agg cairo ffmpeg postscript tiff truetype" - -DEPEND=" - dev-qt/qtgui:5 - media-libs/fontconfig - media-libs/glfw - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/qhull:= - net-libs/zeromq - sys-libs/zlib - virtual/opengl - x11-libs/libX11 - x11-libs/libXt - agg? ( x11-libs/agg ) - cairo? ( x11-libs/cairo ) - ffmpeg? ( media-video/ffmpeg:= ) - postscript? ( app-text/ghostscript-gpl ) - tiff? ( media-libs/tiff:= ) - truetype? ( media-libs/freetype ) -" -RDEPEND="${DEPEND}" -BDEPEND="" - -PATCHES=( - "${FILESDIR}/${PN}-0.53.0-musl.patch" -) - -REQUIRED_USE="cairo? ( truetype )" - -src_configure() { - if use agg ; then - mycmakeargs+=( -DAGG_LIBRARY=libagg.so -DAGG_INCLUDE_DIR=/usr/include/agg2 ) - else - mycmakeargs+=( -DAGG_LIBRARY= ) - fi - - use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= ) - use postscript || mycmakeargs+=( -DGS_LIBRARY= ) - use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= ) - use truetype || mycmakeargs+=( -DFREETYPE_LIBRARY= ) - use tiff || mycmakeargs+=( -DTIFF_LIBRARY= ) - - # todo: X11 automagic - - mycmakeargs+=( -DCMAKE_INSTALL_PREFIX=/usr/gr ) - mycmakeargs+=( -DCMAKE_INSTALL_LIBDIR=lib ) - # - # I need to have a serious conversation with upstream. - # * The main consumer of this package is dev-lang/julia. - # * If I patch gr to install in standard locations, julia does - # not find it anymore. - # * I can't patch julia, since the corresponding scripts are - # downloaded at runtime from its package registry ... - # * See bug 882619 in addition. - - cmake_src_configure -} - -src_install() { - cmake_src_install - find "${ED}" -name '*.a' -delete - - echo "GRDIR=/usr/gr" > "${T}/99gr" - echo "LDPATH=/usr/gr/$(get_libdir)" >> "${T}/99gr" - doenvd "${T}/99gr" - - [[ -f "${ED}/usr/gr/bin/gksqt" ]] && dosym ../gr/bin/gksqt /usr/bin/gksqt - - elog "${P} relies on the environment variable GRDIR. If you want to use it in a running shell," - elog "e.g. with dev-lang/julia, then run \"source /etc/profile\" first." -} diff --git a/sci-visualization/gr/gr-0.73.6.ebuild b/sci-visualization/gr/gr-0.73.6.ebuild new file mode 100644 index 000000000000..8e55d4f9c9ba --- /dev/null +++ b/sci-visualization/gr/gr-0.73.6.ebuild @@ -0,0 +1,85 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Universal framework for cross-platform visualization applications" +HOMEPAGE="https://gr-framework.org/" +SRC_URI="https://github.com/sciapp/gr/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="agg cairo ffmpeg postscript tiff truetype" + +DEPEND=" + dev-qt/qtgui:= + media-libs/fontconfig + media-libs/glfw + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/qhull:= + net-libs/zeromq + sys-libs/zlib + virtual/opengl + x11-libs/libX11 + x11-libs/libXt + agg? ( x11-libs/agg ) + cairo? ( x11-libs/cairo ) + ffmpeg? ( media-video/ffmpeg:= ) + postscript? ( app-text/ghostscript-gpl ) + tiff? ( media-libs/tiff:= ) + truetype? ( media-libs/freetype ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.53.0-musl.patch" +) + +REQUIRED_USE="cairo? ( truetype )" + +src_configure() { + if use agg ; then + mycmakeargs+=( -DAGG_LIBRARY=/usr/$(get_libdir)/libagg.so -DAGG_INCLUDE_DIR=/usr/include/agg2 ) + else + mycmakeargs+=( -DAGG_LIBRARY= ) + fi + + use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= ) + use postscript || mycmakeargs+=( -DGS_LIBRARY= ) + use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= ) + use truetype || mycmakeargs+=( -DFREETYPE_LIBRARY= ) + use tiff || mycmakeargs+=( -DTIFF_LIBRARY= ) + + # todo: X11 automagic + + mycmakeargs+=( -DCMAKE_INSTALL_PREFIX=/usr/gr ) + mycmakeargs+=( -DCMAKE_INSTALL_LIBDIR=lib ) + # + # I need to have a serious conversation with upstream. + # * The main consumer of this package is dev-lang/julia. + # * If I patch gr to install in standard locations, julia does + # not find it anymore. + # * I can't patch julia, since the corresponding scripts are + # downloaded at runtime from its package registry ... + # * See bug 882619 in addition. + + cmake_src_configure +} + +src_install() { + cmake_src_install + find "${ED}" -name '*.a' -delete + + echo "GRDIR=/usr/gr" > "${T}/99gr" + echo "LDPATH=/usr/gr/$(get_libdir)" >> "${T}/99gr" + doenvd "${T}/99gr" + + [[ -f "${ED}/usr/gr/bin/gksqt" ]] && dosym ../gr/bin/gksqt /usr/bin/gksqt + + elog "${P} relies on the environment variable GRDIR. If you want to use it in a running shell," + elog "e.g. with dev-lang/julia, then run \"source /etc/profile\" first." +} -- cgit v1.2.3