summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-25 20:54:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-26 00:40:31 +0100
commitcc30574c4d286271aa8fa24710e838ff322e2406 (patch)
tree2894a143b71acf6535a936b09fc0ab8d1305dd26 /media-gfx/icc-examin
parentsys-auth/elogind: Drop 239.1 (diff)
downloadgentoo-cc30574c4d286271aa8fa24710e838ff322e2406.tar.gz
gentoo-cc30574c4d286271aa8fa24710e838ff322e2406.tar.bz2
gentoo-cc30574c4d286271aa8fa24710e838ff322e2406.zip
media-gfx/icc_examin: pkgmove to media-gfx/icc-examin
Closes: https://bugs.gentoo.org/634260 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/icc-examin')
-rw-r--r--media-gfx/icc-examin/Manifest1
-rw-r--r--media-gfx/icc-examin/files/icc-examin-0.56-fltk.patch27
-rw-r--r--media-gfx/icc-examin/icc-examin-0.56_p20171007.ebuild53
-rw-r--r--media-gfx/icc-examin/icc-examin-9999.ebuild52
-rw-r--r--media-gfx/icc-examin/metadata.xml9
5 files changed, 142 insertions, 0 deletions
diff --git a/media-gfx/icc-examin/Manifest b/media-gfx/icc-examin/Manifest
new file mode 100644
index 00000000000..f4c9bad7f7b
--- /dev/null
+++ b/media-gfx/icc-examin/Manifest
@@ -0,0 +1 @@
+DIST icc-examin-0.56_p20171007.tar.gz 724698 BLAKE2B 291edcb81a931a9e7659ff0605d9e8c5c54e36a68dc51a6609cc2cd19e134c782158fcfb89dc10d2b8be953e0c0efff69d5187d5812f9cd5a3302061d1e79aa8 SHA512 79d4e42c0ae389128ee6514892d0019b0cec17466e8d8e47efbc0a5114c0d365732e26a9abb442a3bca3c2e83ede4dca407cad3bf250492a36832f8bdebeb2b6
diff --git a/media-gfx/icc-examin/files/icc-examin-0.56-fltk.patch b/media-gfx/icc-examin/files/icc-examin-0.56-fltk.patch
new file mode 100644
index 00000000000..5e4645a8b0e
--- /dev/null
+++ b/media-gfx/icc-examin/files/icc-examin-0.56-fltk.patch
@@ -0,0 +1,27 @@
+From 172889b358d0801da8d2c15196129cd911e3afc1 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat, 14 Oct 2017 18:59:20 +0200
+Subject: [PATCH] Fix FLTK include and libs
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 60ee08a..41f7c61 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -103,8 +103,8 @@ IF(FLTK_FOUND)
+ SET( FLTK_ADD_LIBS "fltk_jpeg" )
+ ENDIF( NOT JPEG_FOUND )
+ ENDIF(FLTK_FOUND)
+-INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIRS} )
+-LINK_DIRECTORIES( ${FLTK_LIBRARY_DIRS} )
++INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIR} )
++LINK_DIRECTORIES( ${FLTK_LIBRARIES} )
+
+ FIND_PACKAGE( OpenGL )
+ IF(OPENGL_FOUND)
+--
+2.14.2
+
diff --git a/media-gfx/icc-examin/icc-examin-0.56_p20171007.ebuild b/media-gfx/icc-examin/icc-examin-0.56_p20171007.ebuild
new file mode 100644
index 00000000000..065e372da87
--- /dev/null
+++ b/media-gfx/icc-examin/icc-examin-0.56_p20171007.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+COMMIT=ee9e8cd013766b0df2c5e3b4416f985322b22966
+inherit cmake-utils flag-o-matic vcs-snapshot xdg-utils
+
+DESCRIPTION="Viewer for ICC and CGATS, argyll gamut vrml visualisations and GPU gamma tables"
+HOMEPAGE="https://www.oyranos.org/icc-examin/"
+SRC_URI="https://github.com/oyranos-cms/${PN}/tarball/${COMMIT} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-admin/elektra
+ media-libs/freetype
+ media-libs/ftgl
+ media-libs/libXcm[X]
+ media-libs/oyranos
+ media-libs/tiff:0
+ virtual/jpeg:0
+ virtual/opengl
+ x11-libs/fltk[opengl]
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libXpm
+ x11-libs/libXrandr
+ x11-libs/libXxf86vm
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/libintl
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${PN}-0.56-fltk.patch" )
+
+src_configure() {
+ append-cxxflags -fpermissive
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/media-gfx/icc-examin/icc-examin-9999.ebuild b/media-gfx/icc-examin/icc-examin-9999.ebuild
new file mode 100644
index 00000000000..4201a5e2c0e
--- /dev/null
+++ b/media-gfx/icc-examin/icc-examin-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils flag-o-matic git-r3 xdg-utils
+
+DESCRIPTION="Viewer for ICC and CGATS, argyll gamut vrml visualisations and GPU gamma tables"
+HOMEPAGE="https://www.oyranos.org/icc-examin/"
+EGIT_REPO_URI="https://github.com/oyranos-cms/${PN}.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ app-admin/elektra
+ media-libs/freetype
+ media-libs/ftgl
+ media-libs/libXcm[X]
+ media-libs/oyranos
+ media-libs/tiff:0
+ virtual/jpeg:0
+ virtual/opengl
+ x11-libs/fltk[opengl]
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libXpm
+ x11-libs/libXrandr
+ x11-libs/libXxf86vm
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/libintl
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${PN}-0.56-fltk.patch" )
+
+src_configure() {
+ append-cxxflags -fpermissive
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/media-gfx/icc-examin/metadata.xml b/media-gfx/icc-examin/metadata.xml
new file mode 100644
index 00000000000..322fc08818e
--- /dev/null
+++ b/media-gfx/icc-examin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">oyranos-cms/icc-examin</remote-id>
+ <remote-id type="sourceforge">oyranos</remote-id>
+ </upstream>
+</pkgmetadata>