1 |
commit: afb66845a9e3c30f419685657be626c4cccd323d |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 31 01:13:08 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 31 01:15:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb66845 |
7 |
|
8 |
media-libs/simage: bump to 1.8.0 |
9 |
|
10 |
1) switched from cmake-utils to cmake |
11 |
2) updated homepage, src_uri and license |
12 |
3) updated deps |
13 |
|
14 |
some updates used from the ebuild in waebbl overlay |
15 |
|
16 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
17 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
18 |
|
19 |
media-libs/simage/Manifest | 1 + |
20 |
...-CMakeLists.txt-comment-cpack.d-inclusion.patch | 25 +++++++ |
21 |
media-libs/simage/simage-1.8.0.ebuild | 82 ++++++++++++++++++++++ |
22 |
3 files changed, 108 insertions(+) |
23 |
|
24 |
diff --git a/media-libs/simage/Manifest b/media-libs/simage/Manifest |
25 |
index dff8036465f..ffa68c89f9b 100644 |
26 |
--- a/media-libs/simage/Manifest |
27 |
+++ b/media-libs/simage/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST simage-1.7.1-src.zip 4145907 BLAKE2B 99f5f5f46530c2600d47ab0bb080d69281447ee96a2bb9b63ebe5a5c56e235f34ca8bd97b0d6adedf061fe221a61d144d4ccce00123941a9c74d72b1f190030d SHA512 b3c81fa363cd570b3512cd2984f154b83876353ec389dc35afcac4e4ddf8d301eef5b0f8df93c38b9caa6afd81fbe53d3943ad05e041b77734f03c26d2e12867 |
30 |
+DIST simage-1.8.0.tar.gz 791151 BLAKE2B 0a5720c06501c8212b5a148ad790ff60d6d9fc507868a66d40dbe3b6b089e47dca21828fee96ef708a03651d02843c9e6b6db7856088ddf7e487b4b5eeafbccd SHA512 7070c845fc72094a97b1253d23a5f60f90e71dc6ed968c9c7da67e05660b05245a807fbdf0f592a1d459c7c3b725783c55f59f867182b11cb9ec40741d7ad58c |
31 |
|
32 |
diff --git a/media-libs/simage/files/simage-1.8.0-0001-CMakeLists.txt-comment-cpack.d-inclusion.patch b/media-libs/simage/files/simage-1.8.0-0001-CMakeLists.txt-comment-cpack.d-inclusion.patch |
33 |
new file mode 100644 |
34 |
index 00000000000..4dcc5994f36 |
35 |
--- /dev/null |
36 |
+++ b/media-libs/simage/files/simage-1.8.0-0001-CMakeLists.txt-comment-cpack.d-inclusion.patch |
37 |
@@ -0,0 +1,25 @@ |
38 |
+From 1c0e3fb6deb9c3d3c1dd1d4940ffe8d71c2158c9 Mon Sep 17 00:00:00 2001 |
39 |
+From: Bernd Waibel <waebbl@×××××.com> |
40 |
+Date: Mon, 20 Jan 2020 18:45:10 +0100 |
41 |
+Subject: [PATCH] CMakeLists.txt: comment cpack.d inclusion |
42 |
+ |
43 |
+Directory is not included in tarball and not needed on Gentoo. |
44 |
+ |
45 |
+Signed-off-by: Bernd Waibel <waebbl@×××××.com> |
46 |
+--- |
47 |
+ CMakeLists.txt | 2 +- |
48 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
49 |
+ |
50 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
51 |
+index 775037a..e3deb01 100644 |
52 |
+--- a/CMakeLists.txt |
53 |
++++ b/CMakeLists.txt |
54 |
+@@ -627,4 +627,4 @@ install(EXPORT ${PROJECT_NAME} |
55 |
+ |
56 |
+ # ############################################################################ |
57 |
+ # New CPACK section, please see the README file inside cpack.d directory. |
58 |
+-add_subdirectory(cpack.d) |
59 |
++#add_subdirectory(cpack.d) |
60 |
+-- |
61 |
+2.25.0 |
62 |
+ |
63 |
|
64 |
diff --git a/media-libs/simage/simage-1.8.0.ebuild b/media-libs/simage/simage-1.8.0.ebuild |
65 |
new file mode 100644 |
66 |
index 00000000000..8d8e6434e9b |
67 |
--- /dev/null |
68 |
+++ b/media-libs/simage/simage-1.8.0.ebuild |
69 |
@@ -0,0 +1,82 @@ |
70 |
+# Copyright 1999-2020 Gentoo Authors |
71 |
+# Distributed under the terms of the GNU General Public License v2 |
72 |
+ |
73 |
+EAPI=7 |
74 |
+ |
75 |
+inherit cmake flag-o-matic |
76 |
+ |
77 |
+DESCRIPTION="Image and video texturing library" |
78 |
+HOMEPAGE="https://github.com/coin3d/simage/" |
79 |
+SRC_URI="https://github.com/coin3d/simage/archive/${P}.tar.gz" |
80 |
+ |
81 |
+LICENSE="BSD-1" |
82 |
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
83 |
+SLOT="0" |
84 |
+IUSE="debug gif jpeg png qt5 sndfile test tiff vorbis" |
85 |
+RESTRICT="!test? ( test )" |
86 |
+ |
87 |
+RDEPEND=" |
88 |
+ sys-libs/zlib:= |
89 |
+ gif? ( media-libs/giflib:= ) |
90 |
+ jpeg? ( virtual/jpeg:0 ) |
91 |
+ png? ( media-libs/libpng:0= ) |
92 |
+ qt5? ( |
93 |
+ dev-qt/qtcore:5 |
94 |
+ dev-qt/qtgui:5 |
95 |
+ ) |
96 |
+ sndfile? ( media-libs/libsndfile ) |
97 |
+ tiff? ( media-libs/tiff:0 ) |
98 |
+ vorbis? ( |
99 |
+ media-libs/libogg |
100 |
+ media-libs/libvorbis |
101 |
+ ) |
102 |
+" |
103 |
+DEPEND=" |
104 |
+ ${RDEPEND} |
105 |
+ test? ( media-libs/libsndfile ) |
106 |
+" |
107 |
+ |
108 |
+S="${WORKDIR}/${PN}-${P}" |
109 |
+ |
110 |
+PATCHES=( |
111 |
+ "${FILESDIR}/${PN}-1.7.1-cmake-automagic-deps.patch" |
112 |
+ # examples need to link against libsndfile unconditionally so either we could |
113 |
+ # make the dep unconditional or not build the examples. i chose the latter way. |
114 |
+ # btw, examples are not installed anyway, they are just compiled. |
115 |
+ "${FILESDIR}/${PN}-1.7.1-disable-examples.patch" |
116 |
+ "${FILESDIR}/${PN}-1.7.1-tests-conditional.patch" |
117 |
+ "${FILESDIR}/${PN}-1.7.1-disable-gif-quantize-buffer.patch" |
118 |
+ "${FILESDIR}/${P}-0001-CMakeLists.txt-comment-cpack.d-inclusion.patch" |
119 |
+) |
120 |
+ |
121 |
+DOCS=(AUTHORS ChangeLog NEWS README) |
122 |
+ |
123 |
+src_configure() { |
124 |
+ use debug && append-cppflags -DSIMAGE_DEBUG=1 |
125 |
+ |
126 |
+ local mycmakeargs=( |
127 |
+ -DSIMAGE_AVIENC_SUPPORT=OFF # Windows only |
128 |
+ -DSIMAGE_BUILD_SHARED_LIBS=ON |
129 |
+ -DSIMAGE_CGIMAGE_SUPPORT=OFF # OS X only |
130 |
+ -DSIMAGE_EPS_SUPPORT=ON |
131 |
+ -DSIMAGE_GDIPLUS_SUPPORT=OFF # Windows only |
132 |
+ -DSIMAGE_GIF_SUPPORT=$(usex gif) |
133 |
+ -DSIMAGE_JASPER_SUPPORT=OFF |
134 |
+ -DSIMAGE_JPEG_SUPPORT=$(usex jpeg) |
135 |
+ -DSIMAGE_LIBSNDFILE_SUPPORT=$(usex sndfile) |
136 |
+ -DSIMAGE_MPEG2ENC_SUPPORT=ON |
137 |
+ -DSIMAGE_OGGVORBIS_SUPPORT=$(usex vorbis) |
138 |
+ -DSIMAGE_PIC_SUPPORT=ON |
139 |
+ -DSIMAGE_PNG_SUPPORT=$(usex png) |
140 |
+ -DSIMAGE_QIMAGE_SUPPORT=$(usex qt5) |
141 |
+ -DSIMAGE_QUICKTIME_SUPPORT=OFF # OS X only |
142 |
+ -DSIMAGE_TIFF_SUPPORT=$(usex tiff) |
143 |
+ -DSIMAGE_USE_QT5=ON |
144 |
+ -DSIMAGE_RGB_SUPPORT=ON |
145 |
+ -DSIMAGE_TGA_SUPPORT=ON |
146 |
+ -DSIMAGE_XWD_SUPPORT=ON |
147 |
+ -DTESTS=$(usex test) |
148 |
+ ) |
149 |
+ |
150 |
+ cmake_src_configure |
151 |
+} |