1 |
commit: 183900fe9d532441e8c13d9ad597560f78e30964 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 26 18:41:29 2022 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 18:41:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183900fe |
7 |
|
8 |
sci-visualization/gr: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
sci-visualization/gr/Manifest | 1 - |
14 |
sci-visualization/gr/gr-0.50.0-r2.ebuild | 75 -------------------------------- |
15 |
2 files changed, 76 deletions(-) |
16 |
|
17 |
diff --git a/sci-visualization/gr/Manifest b/sci-visualization/gr/Manifest |
18 |
index e71fd8144380..21b82e357f3c 100644 |
19 |
--- a/sci-visualization/gr/Manifest |
20 |
+++ b/sci-visualization/gr/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST gr-0.50.0.tar.gz 8612608 BLAKE2B 70f4a3c6ce1dac8556646a1632667e6e464a5048f3c44fb689709e3e8218e8d7375db6ff8ce73e11dbeda559fb27c83b7f2b42f0ab518df9b464c8443748c30e SHA512 34ca077ae729e6eda0e5df7046811c77d717f3ef0e34203d6ab3a7f4b67b3aa058a68b9b2d7d78adc8b2f0830a0298778198a6499bd3d6e5697e4b7270cb648a |
23 |
DIST gr-0.53.0.tar.gz 19267451 BLAKE2B bd243fac9df6222c4b9e3591adfcd1d37dd41628719bd7be7ab385402f0f97e21f3eb23df3ae5d2ed3e43df2b3d83ff66f4e0b478d717772b57dce5885a98721 SHA512 49eee39fd4abd62d6794a16eb023688a525f6906054610dccd85c1b7b0bed9b198d923834cbf661099f753ec40b383a911c295f781420aeead712c5712583c80 |
24 |
|
25 |
diff --git a/sci-visualization/gr/gr-0.50.0-r2.ebuild b/sci-visualization/gr/gr-0.50.0-r2.ebuild |
26 |
deleted file mode 100644 |
27 |
index 07a5b52c9081..000000000000 |
28 |
--- a/sci-visualization/gr/gr-0.50.0-r2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,75 +0,0 @@ |
31 |
-# Copyright 2019-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit cmake |
37 |
- |
38 |
-DESCRIPTION="Universal framework for cross-platform visualization applications" |
39 |
-HOMEPAGE="https://gr-framework.org/" |
40 |
-SRC_URI="https://github.com/sciapp/gr/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="MIT" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~amd64 ~x86" |
45 |
-IUSE="cairo ffmpeg postscript tiff truetype" |
46 |
- |
47 |
-DEPEND=" |
48 |
- dev-qt/qtgui:5 |
49 |
- media-libs/fontconfig |
50 |
- media-libs/glfw |
51 |
- media-libs/libjpeg-turbo:= |
52 |
- media-libs/libpng:= |
53 |
- media-libs/qhull:= |
54 |
- sys-libs/zlib |
55 |
- virtual/opengl |
56 |
- x11-libs/libX11 |
57 |
- x11-libs/libXt |
58 |
- cairo? ( x11-libs/cairo ) |
59 |
- ffmpeg? ( media-video/ffmpeg:= ) |
60 |
- postscript? ( app-text/ghostscript-gpl ) |
61 |
- tiff? ( media-libs/tiff ) |
62 |
- truetype? ( media-libs/freetype ) |
63 |
-" |
64 |
-RDEPEND="${DEPEND}" |
65 |
-BDEPEND="" |
66 |
- |
67 |
-PATCHES=( |
68 |
- "${FILESDIR}/${P}-qt-5.15.patch" |
69 |
-) |
70 |
- |
71 |
-src_configure() { |
72 |
- use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= ) |
73 |
- use postscript || mycmakeargs+=( -DGS_LIBRARY= ) |
74 |
- use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= ) |
75 |
- use truetype || mycmakeargs+=( -DFREETYPE_LIBRARY= ) |
76 |
- use tiff || mycmakeargs+=( -DTIFF_LIBRARY= ) |
77 |
- |
78 |
- # todo: X11 automagic |
79 |
- |
80 |
- mycmakeargs+=( -DCMAKE_INSTALL_PREFIX=/usr/gr ) |
81 |
- # |
82 |
- # I need to have a serious conversation with upstream. |
83 |
- # * The main consumer of this package is dev-lang/julia. |
84 |
- # * If I patch gr to install in standard locations, julia does |
85 |
- # not find it anymore. |
86 |
- # * I can't patch julia, since the corresponding scripts are |
87 |
- # downloaded at runtime from its package registry ... |
88 |
- # |
89 |
- |
90 |
- cmake_src_configure |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- cmake_src_install |
95 |
- find "${ED}" -name '*.a' -delete |
96 |
- |
97 |
- echo "GRDIR=/usr/gr" > "${T}/99gr" |
98 |
- echo "LDPATH=/usr/gr/$(get_libdir)" >> "${T}/99gr" |
99 |
- doenvd "${T}/99gr" |
100 |
- |
101 |
- [[ -f "${ED}/usr/gr/bin/gksqt" ]] && dosym ../gr/bin/gksqt /usr/bin/gksqt |
102 |
- |
103 |
- elog "${P} relies on the environment variable GRDIR. If you want to use it in a running shell," |
104 |
- elog "e.g. with dev-lang/julia, then run \"source /etc/profile\" first." |
105 |
-} |