diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-08 23:33:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-08 23:33:13 +0100 |
commit | 900dd293f8087dff1643b45d7b836702a9ea8fd9 (patch) | |
tree | 0829d8047ff5fda91e78e53de3bd01c094d837b8 /sci-visualization | |
parent | 02f2b9c649c1687088b6ccb6d30b35f519f107cf (diff) |
gentoo auto-resync : 08:04:2023 - 23:33:13
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/Manifest.gz | bin | 4863 -> 4861 bytes | |||
-rw-r--r-- | sci-visualization/gr/Manifest | 2 | ||||
-rw-r--r-- | sci-visualization/gr/gr-0.72.0.ebuild | 80 |
3 files changed, 82 insertions, 0 deletions
diff --git a/sci-visualization/Manifest.gz b/sci-visualization/Manifest.gz Binary files differindex 10bc2f048a75..ac90e9fe1830 100644 --- a/sci-visualization/Manifest.gz +++ b/sci-visualization/Manifest.gz diff --git a/sci-visualization/gr/Manifest b/sci-visualization/gr/Manifest index 5d83664812fc..e3f534a9d8b8 100644 --- a/sci-visualization/gr/Manifest +++ b/sci-visualization/gr/Manifest @@ -1,4 +1,6 @@ AUX gr-0.53.0-musl.patch 797 BLAKE2B 4eb48a510b19a23cc4c82e0f81a1f9753c96f0554edecf4a4163b17be9505e8c8d0710f9c97c49dadb84fefe69cab27a3bfbb6cfe04b97b0d9a260b6e4042fe5 SHA512 5080806ed0598d404a380c3d8fe10207dd3fc1245b76992c341261f43b9727a82f7ebd85e582c606d6ccaf72eb04a57d21ccc0168e5c19b6b37cb2b265fa0018 DIST gr-0.53.0.tar.gz 19267451 BLAKE2B bd243fac9df6222c4b9e3591adfcd1d37dd41628719bd7be7ab385402f0f97e21f3eb23df3ae5d2ed3e43df2b3d83ff66f4e0b478d717772b57dce5885a98721 SHA512 49eee39fd4abd62d6794a16eb023688a525f6906054610dccd85c1b7b0bed9b198d923834cbf661099f753ec40b383a911c295f781420aeead712c5712583c80 +DIST gr-0.72.0.tar.gz 9064921 BLAKE2B 92f531cd308c8bcec0f36fd57b1aeddfeb555ae4ceb1a394276f37ae515d1b5172ef775d0b33d6aa429ac46021194a4327646a486112032722121c01885c6bfa SHA512 cb04cff65649c4f688c07afaa6959ba08f88f6f9d0935bbd7b29bf58dab2a114609ea45d9849a1acc5bbd0feab4083d692a4364ada653dcbfe7f99e2594d9a42 EBUILD gr-0.53.0-r2.ebuild 2094 BLAKE2B a90f89e4b6986277d5e298bbe7a021e3848b49d5b67cbf7212b6db063efe16d9019d730be9002e6ee5dbc29320ee0229c1fa5c91cf5504e30436c4bb32107da9 SHA512 57951e4a4edd1b8465c4174e0d231ac2d57cd85691dfc128a7b1c4d0efd6006d6587065e2cd0e21985dc45e679408b84673ac6e6f349f5c8f296d638b4753059 +EBUILD gr-0.72.0.ebuild 2133 BLAKE2B 24fb5d37658380122e574f9df10e8f2906d238fa9655cfbf6a3f0b19c84a104a2066e53c8c5a1acc3ac8e9c83d46afec7413297f58d1e9b59ad17b05c14b080c SHA512 4df978354e3fa3cca217a22bdc75e9a92b3fe15bad3b3825c67aa05ea9f98ada927d2581b54308bf142a94c838543735a259afbf90432e496d8333e02985c99c MISC metadata.xml 261 BLAKE2B e57c0c3e4a59fdb630d23ae9d96afed10307c5308bace0cf58c22f41cbbf22fc82c5cd0d041800498570b1490a39f6c47547acfbb2766e21735820ae1c39bf8f SHA512 212dbdf6e688804621cd0ee28e47d3b9696182fe4850a87569e0727e5e811b7c4193807c2ecec65005e1689d4c0ba2c88fb67b29cc89928649e23d23a94d724b diff --git a/sci-visualization/gr/gr-0.72.0.ebuild b/sci-visualization/gr/gr-0.72.0.ebuild new file mode 100644 index 000000000000..0db230abd6ba --- /dev/null +++ b/sci-visualization/gr/gr-0.72.0.ebuild @@ -0,0 +1,80 @@ +# 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="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/agg + x11-libs/libX11 + x11-libs/libXt + 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() { + 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." +} |