summaryrefslogtreecommitdiff
path: root/media-libs/sdl2-image
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-29 11:22:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-10-29 11:22:34 +0000
commitbd7908c6630f38067350d396ac5d18c3cc2434a0 (patch)
tree3559b3e11424f5529527f2474d8a977a91ee3389 /media-libs/sdl2-image
parent8b2628ad8526c806375e7b157889e4274b70248b (diff)
gentoo resync : 29.10.2017
Diffstat (limited to 'media-libs/sdl2-image')
-rw-r--r--media-libs/sdl2-image/Manifest2
-rw-r--r--media-libs/sdl2-image/sdl2-image-2.0.2.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/sdl2-image/Manifest b/media-libs/sdl2-image/Manifest
index 353d5c4401e1..4398d20ccd2d 100644
--- a/media-libs/sdl2-image/Manifest
+++ b/media-libs/sdl2-image/Manifest
@@ -1,5 +1,7 @@
DIST SDL2_image-2.0.1.tar.gz 7797848 SHA256 3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64 SHA512 99ed5f7b69966cea5fcf9173e7270167c24b55ab459774f10dbf90f26dcb9d5f118971ffd4e583a83148976f44ca166474669398a561169d24ffba80f852306f WHIRLPOOL ba4a78ae19ba1921b0d11208f93390cc0ec31aed86f302c2b8d4ac8c55a8e783c29a3180d8557309b2874d74a081734256e9cb0d8215b369090abddf64bd0a7c
+DIST SDL2_image-2.0.2.tar.gz 8680980 SHA256 72df075aef91fc4585098ea7e0b072d416ec7599aa10473719fbe51e9b8f6ce8 SHA512 468f1a5aaee0b6920adb80df21aaaa41bfc5c642b4a00ac60244a90c5e9f27b092b73bcdd2c5520aa1de2759e8b174686b186a51f2d07e7e188ce2cd10519724 WHIRLPOOL 7ff628bd65b70663c42537d31877f8929ca317a8ab71c64c72522a92b86906a7774dcdc60e57ca4f5e67204fe4bf134c64fd9006366ea32c0ab481b0f9e5b9d7
EBUILD sdl2-image-2.0.1.ebuild 1513 SHA256 37d0d29f5cf6e48328e45634a691daddb4ae990374ae2511ae221a1e02ad71c6 SHA512 f3da0090838a632b6a6999671e1c89b907f601d80f7c9e09c98480ed117d7f8c5e210c3febb492cb0df9e47c5b5beae01d0bcee60aaef3e53a31588f959d5266 WHIRLPOOL 79c8f0e5b9c3dea8963733931e4258569a168e5cb82b539096ac9f140e46a1b221e29e73f61fca255571e506d5054303ad9c102ce9ddf8809972303c4f6cb6a8
+EBUILD sdl2-image-2.0.2.ebuild 1526 SHA256 a0564f14d31bf6ab5a3cac05e0c2cb3b5cef17ea8e1eb2947a0313cab5280acc SHA512 23bce8ebe254a12f4b10b71c8b1429d7b7c58225f5b59d8dd69e90be51d73ee9c8406066909601e0a802d4be14c0792d5ab6254f59def37da6f1d524fccfa8ea WHIRLPOOL 09d7d816df799428636ef929e3b1cd20c10859c4b140475b775d86091b5edc91aa58a055883bc1ad629b70168aeb4ee7fb7984e094a6b37046e2e3a4bd16e35c
MISC ChangeLog 3606 SHA256 45c186c1382a593cf39ab74d450f2bcdbfb66dad6d4902abdffef3c62d438dca SHA512 b99296c7206e8027c687e372a88c29056e51166a7019fe0c14ee116e4077e708053e57f712d60cba691f803034c483290e6b1630fa80c9e11c0836b3a967aa9b WHIRLPOOL 4970b1b8155102eaed2552aaac65bcb02bb158e3e9ede32bea06012a562533f4d8074f57fb7036eff16377c86dd109ce73d00038b5e7385a46aac0043d89a84d
MISC ChangeLog-2015 1105 SHA256 5f3cbf870a93886092bdaf7bd49eb23777d56a8e63a4d54501a6c382af4df859 SHA512 1b4b0407964aacdfe9c24a40773718afafafc27cfd186b3b736c0c59bc835df51614cc5218ce48a3a927d6f74f22bb4ba759648f87f30dfd995c045238e755af WHIRLPOOL 89bc06fd27fae8cf3de9d024b25a175317025e34653f329d609cf75878a315d5defcaa8aa0c512e6e4627dff73956d3116400ba52567bca7895d6f1909df562b
MISC metadata.xml 326 SHA256 d3443006e81a3c08b3227244fab49c4c7fada0c40176c4a80aebcbb91cd348b4 SHA512 144746a2179b9af1bc4adc7f08e2d6c798a4b9b3d4391719c899447e96f14cbdac47facdedf9e1ba9d81f650d647ab793d83a227f0a0321cafdb96ee5ec51d34 WHIRLPOOL bdac469c0aa2b64cf584bce2a387eda8066cf6d4d930e3966dc5b07632fdb2f13cc62a4795c33ce301a168a04cec0457501715ed65cb1b972ebb92039eeb20e9
diff --git a/media-libs/sdl2-image/sdl2-image-2.0.2.ebuild b/media-libs/sdl2-image/sdl2-image-2.0.2.ebuild
new file mode 100644
index 000000000000..c3b1db990775
--- /dev/null
+++ b/media-libs/sdl2-image/sdl2-image-2.0.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit ltprune multilib multilib-minimal
+
+MY_P="SDL2_image-${PV}"
+DESCRIPTION="Image file loading library"
+HOMEPAGE="http://www.libsdl.org/projects/SDL_image/"
+SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gif jpeg png static-libs tiff webp"
+
+RDEPEND="
+ >=media-libs/libsdl2-2.0.1-r1[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
+ jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+ tiff? ( >=media-libs/tiff-3.9.7-r1:0[${MULTILIB_USEDEP}] )
+ webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
+DEPEND=${RDEPEND}
+
+S="${WORKDIR}/${MY_P}"
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ --disable-sdltest
+ --enable-bmp
+ $(use_enable gif)
+ $(use_enable jpeg jpg)
+ --disable-jpg-shared
+ --enable-lbm
+ --enable-pcx
+ $(use_enable png)
+ --disable-png-shared
+ --enable-pnm
+ --enable-tga
+ $(use_enable tiff tif)
+ --disable-tif-shared
+ --enable-xcf
+ --enable-xpm
+ --enable-xv
+ $(use_enable webp)
+ --disable-webp-shared
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && newbin .libs/showimage$(get_exeext) showimage2$(get_exeext)
+}
+
+multilib_src_install_all() {
+ dodoc {CHANGES,README}.txt
+ prune_libtool_files
+}