public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gr/files/, sci-visualization/gr/
@ 2020-05-29 11:32 Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2020-05-29 11:32 UTC (permalink / raw
  To: gentoo-commits

commit:     a466e94e21a5db6bf9c5e459725e26391fa582a1
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 11:30:10 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri May 29 11:31:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a466e94e

sci-visualization/gr: New package. Somewhat WIP.

Closes: https://bugs.gentoo.org/683188
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-visualization/gr/Manifest                    |  1 +
 sci-visualization/gr/files/gr-0.49.0-paths.patch | 15 ++++++
 sci-visualization/gr/gr-0.49.0.ebuild            | 58 ++++++++++++++++++++++++
 sci-visualization/gr/metadata.xml                |  8 ++++
 4 files changed, 82 insertions(+)

diff --git a/sci-visualization/gr/Manifest b/sci-visualization/gr/Manifest
new file mode 100644
index 00000000000..ad263e8f193
--- /dev/null
+++ b/sci-visualization/gr/Manifest
@@ -0,0 +1 @@
+DIST gr-0.49.0.tar.gz 8604669 BLAKE2B a4f14910b8b229e722018a00e7f7f1b0c354265282b16c49e536bb8771a1bd69c0e0c17a9e4e70593f185e6c58885fcb6842b2f2c121988c1c161f5d11548b1b SHA512 851deac9cc2f42a9f62883e6bfb4bcc6e71e46910ec97a7b5fec087299f12d09043365f594d47c315a23079342bf25893b1a0f59bbd0e92eb140cc2a11126a14

diff --git a/sci-visualization/gr/files/gr-0.49.0-paths.patch b/sci-visualization/gr/files/gr-0.49.0-paths.patch
new file mode 100644
index 00000000000..73e23022f37
--- /dev/null
+++ b/sci-visualization/gr/files/gr-0.49.0-paths.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index db08eeb7..46be6fab 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -907,8 +907,8 @@ if(GR_INSTALL)
+     install(FILES lib/gr/qtgr/grwidget.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/)
+   endif()
+   install(
+-    DIRECTORY lib/gks/fonts
+-    DESTINATION ${CMAKE_INSTALL_PREFIX}/
++    DIRECTORY lib/gks/fonts/
++    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/fonts/gks
+     USE_SOURCE_PERMISSIONS
+   )
+ endif()

diff --git a/sci-visualization/gr/gr-0.49.0.ebuild b/sci-visualization/gr/gr-0.49.0.ebuild
new file mode 100644
index 00000000000..cf5992490cf
--- /dev/null
+++ b/sci-visualization/gr/gr-0.49.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Universal framework for cross-platform visualization applications"
+HOMEPAGE="http://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 opengl postscript qt5 tiff truetype X"
+
+DEPEND="
+	media-libs/fontconfig
+	media-libs/libjpeg-turbo
+	media-libs/libpng
+	media-libs/qhull
+	sys-libs/zlib
+	cairo? ( x11-libs/cairo )
+	ffmpeg? ( media-video/ffmpeg )
+	opengl? (
+		media-libs/glfw
+		virtual/opengl
+	)
+	postscript? ( app-text/ghostscript-gpl )
+	qt5? ( dev-qt/qtgui:5 )
+	tiff? ( media-libs/tiff )
+	truetype? ( media-libs/freetype )
+	X? ( x11-libs/libX11 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=(
+	"${FILESDIR}/${P}-paths.patch"
+)
+
+src_configure() {
+	use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= )
+	use opengl || mycmakeargs+=( -DGLFW_LIBRARY= )
+	use postscript || mycmakeargs+=( -DGS_LIBRARY= )
+	use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= )
+	use truetype || mycmakeargs+=( -DFREETYPE_LIBRARY= )
+	use tiff || mycmakeargs+=( -DTIFF_LIBRARY= )
+
+	# todo: Qt5, X11 automagic
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	find "${ED}" -name '*.a' -delete
+}

diff --git a/sci-visualization/gr/metadata.xml b/sci-visualization/gr/metadata.xml
new file mode 100644
index 00000000000..80a71f59785
--- /dev/null
+++ b/sci-visualization/gr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>dilfridge@gentoo.org</email>
+    <name>Andreas K. Huettel</name>
+  </maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gr/files/, sci-visualization/gr/
@ 2020-06-17 17:19 Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2020-06-17 17:19 UTC (permalink / raw
  To: gentoo-commits

commit:     c83f906ac118c620e73981e547c65ab3cdf5c4e6
Author:     Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 17 17:18:39 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jun 17 17:19:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83f906a

sci-visualization/gr: Remove old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas K. Huettel <dilfridge <AT> gentoo.org>

 sci-visualization/gr/Manifest                    |  1 -
 sci-visualization/gr/files/gr-0.49.0-paths.patch | 15 ------
 sci-visualization/gr/gr-0.49.0.ebuild            | 58 ------------------------
 3 files changed, 74 deletions(-)

diff --git a/sci-visualization/gr/Manifest b/sci-visualization/gr/Manifest
index 8682c7cdbaf..5101eb04b36 100644
--- a/sci-visualization/gr/Manifest
+++ b/sci-visualization/gr/Manifest
@@ -1,2 +1 @@
-DIST gr-0.49.0.tar.gz 8604669 BLAKE2B a4f14910b8b229e722018a00e7f7f1b0c354265282b16c49e536bb8771a1bd69c0e0c17a9e4e70593f185e6c58885fcb6842b2f2c121988c1c161f5d11548b1b SHA512 851deac9cc2f42a9f62883e6bfb4bcc6e71e46910ec97a7b5fec087299f12d09043365f594d47c315a23079342bf25893b1a0f59bbd0e92eb140cc2a11126a14
 DIST gr-0.50.0.tar.gz 8612608 BLAKE2B 70f4a3c6ce1dac8556646a1632667e6e464a5048f3c44fb689709e3e8218e8d7375db6ff8ce73e11dbeda559fb27c83b7f2b42f0ab518df9b464c8443748c30e SHA512 34ca077ae729e6eda0e5df7046811c77d717f3ef0e34203d6ab3a7f4b67b3aa058a68b9b2d7d78adc8b2f0830a0298778198a6499bd3d6e5697e4b7270cb648a

diff --git a/sci-visualization/gr/files/gr-0.49.0-paths.patch b/sci-visualization/gr/files/gr-0.49.0-paths.patch
deleted file mode 100644
index 73e23022f37..00000000000
--- a/sci-visualization/gr/files/gr-0.49.0-paths.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index db08eeb7..46be6fab 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -907,8 +907,8 @@ if(GR_INSTALL)
-     install(FILES lib/gr/qtgr/grwidget.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/)
-   endif()
-   install(
--    DIRECTORY lib/gks/fonts
--    DESTINATION ${CMAKE_INSTALL_PREFIX}/
-+    DIRECTORY lib/gks/fonts/
-+    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/fonts/gks
-     USE_SOURCE_PERMISSIONS
-   )
- endif()

diff --git a/sci-visualization/gr/gr-0.49.0.ebuild b/sci-visualization/gr/gr-0.49.0.ebuild
deleted file mode 100644
index cf5992490cf..00000000000
--- a/sci-visualization/gr/gr-0.49.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Universal framework for cross-platform visualization applications"
-HOMEPAGE="http://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 opengl postscript qt5 tiff truetype X"
-
-DEPEND="
-	media-libs/fontconfig
-	media-libs/libjpeg-turbo
-	media-libs/libpng
-	media-libs/qhull
-	sys-libs/zlib
-	cairo? ( x11-libs/cairo )
-	ffmpeg? ( media-video/ffmpeg )
-	opengl? (
-		media-libs/glfw
-		virtual/opengl
-	)
-	postscript? ( app-text/ghostscript-gpl )
-	qt5? ( dev-qt/qtgui:5 )
-	tiff? ( media-libs/tiff )
-	truetype? ( media-libs/freetype )
-	X? ( x11-libs/libX11 )
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-PATCHES=(
-	"${FILESDIR}/${P}-paths.patch"
-)
-
-src_configure() {
-	use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= )
-	use opengl || mycmakeargs+=( -DGLFW_LIBRARY= )
-	use postscript || mycmakeargs+=( -DGS_LIBRARY= )
-	use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= )
-	use truetype || mycmakeargs+=( -DFREETYPE_LIBRARY= )
-	use tiff || mycmakeargs+=( -DTIFF_LIBRARY= )
-
-	# todo: Qt5, X11 automagic
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	find "${ED}" -name '*.a' -delete
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-17 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-29 11:32 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gr/files/, sci-visualization/gr/ Andreas K. Hüttel
  -- strict thread matches above, loose matches on Subject: below --
2020-06-17 17:19 Andreas K. Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox