1 |
commit: d695cf1063fcbea735a021cc83547c1f3240ef98 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 25 07:41:47 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 25 07:47:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d695cf10 |
7 |
|
8 |
media-libs/sdl2-image: Bump to version 2.0.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.3 |
11 |
|
12 |
media-libs/sdl2-image/Manifest | 1 + |
13 |
media-libs/sdl2-image/sdl2-image-2.0.2.ebuild | 61 +++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/sdl2-image/Manifest b/media-libs/sdl2-image/Manifest |
17 |
index 3fe572f69ca..d27a71d230f 100644 |
18 |
--- a/media-libs/sdl2-image/Manifest |
19 |
+++ b/media-libs/sdl2-image/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST SDL2_image-2.0.1.tar.gz 7797848 SHA256 3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64 SHA512 99ed5f7b69966cea5fcf9173e7270167c24b55ab459774f10dbf90f26dcb9d5f118971ffd4e583a83148976f44ca166474669398a561169d24ffba80f852306f WHIRLPOOL ba4a78ae19ba1921b0d11208f93390cc0ec31aed86f302c2b8d4ac8c55a8e783c29a3180d8557309b2874d74a081734256e9cb0d8215b369090abddf64bd0a7c |
22 |
+DIST SDL2_image-2.0.2.tar.gz 8680980 SHA256 72df075aef91fc4585098ea7e0b072d416ec7599aa10473719fbe51e9b8f6ce8 SHA512 468f1a5aaee0b6920adb80df21aaaa41bfc5c642b4a00ac60244a90c5e9f27b092b73bcdd2c5520aa1de2759e8b174686b186a51f2d07e7e188ce2cd10519724 WHIRLPOOL 7ff628bd65b70663c42537d31877f8929ca317a8ab71c64c72522a92b86906a7774dcdc60e57ca4f5e67204fe4bf134c64fd9006366ea32c0ab481b0f9e5b9d7 |
23 |
|
24 |
diff --git a/media-libs/sdl2-image/sdl2-image-2.0.2.ebuild b/media-libs/sdl2-image/sdl2-image-2.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c3b1db99077 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/sdl2-image/sdl2-image-2.0.2.ebuild |
29 |
@@ -0,0 +1,61 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit ltprune multilib multilib-minimal |
35 |
+ |
36 |
+MY_P="SDL2_image-${PV}" |
37 |
+DESCRIPTION="Image file loading library" |
38 |
+HOMEPAGE="http://www.libsdl.org/projects/SDL_image/" |
39 |
+SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="ZLIB" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="gif jpeg png static-libs tiff webp" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=media-libs/libsdl2-2.0.1-r1[${MULTILIB_USEDEP}] |
48 |
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
49 |
+ png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] ) |
50 |
+ jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) |
51 |
+ tiff? ( >=media-libs/tiff-3.9.7-r1:0[${MULTILIB_USEDEP}] ) |
52 |
+ webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" |
53 |
+DEPEND=${RDEPEND} |
54 |
+ |
55 |
+S="${WORKDIR}/${MY_P}" |
56 |
+ |
57 |
+multilib_src_configure() { |
58 |
+ local myeconfargs=( |
59 |
+ $(use_enable static-libs static) |
60 |
+ --disable-sdltest |
61 |
+ --enable-bmp |
62 |
+ $(use_enable gif) |
63 |
+ $(use_enable jpeg jpg) |
64 |
+ --disable-jpg-shared |
65 |
+ --enable-lbm |
66 |
+ --enable-pcx |
67 |
+ $(use_enable png) |
68 |
+ --disable-png-shared |
69 |
+ --enable-pnm |
70 |
+ --enable-tga |
71 |
+ $(use_enable tiff tif) |
72 |
+ --disable-tif-shared |
73 |
+ --enable-xcf |
74 |
+ --enable-xpm |
75 |
+ --enable-xv |
76 |
+ $(use_enable webp) |
77 |
+ --disable-webp-shared |
78 |
+ ) |
79 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
80 |
+} |
81 |
+ |
82 |
+multilib_src_install() { |
83 |
+ emake DESTDIR="${D}" install |
84 |
+ multilib_is_native_abi && newbin .libs/showimage$(get_exeext) showimage2$(get_exeext) |
85 |
+} |
86 |
+ |
87 |
+multilib_src_install_all() { |
88 |
+ dodoc {CHANGES,README}.txt |
89 |
+ prune_libtool_files |
90 |
+} |