summaryrefslogtreecommitdiff
path: root/media-libs/stimg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-libs/stimg
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'media-libs/stimg')
-rw-r--r--media-libs/stimg/Manifest4
-rw-r--r--media-libs/stimg/files/stimg-0.1.0-libpng15.patch15
-rw-r--r--media-libs/stimg/stimg-0.1.0.ebuild26
3 files changed, 25 insertions, 20 deletions
diff --git a/media-libs/stimg/Manifest b/media-libs/stimg/Manifest
index 3e58351e953b..aaf0baede6f3 100644
--- a/media-libs/stimg/Manifest
+++ b/media-libs/stimg/Manifest
@@ -1,4 +1,4 @@
-AUX stimg-0.1.0-libpng15.patch 1445 BLAKE2B 69e11359652b1b075efa7a6a9d46decbecaa464f88b5cad7b2f23d43f3b1e825e9a017f107d1b0f80b735de5f5445b67d10aed92bc33f72ffb3a0e15c5aba03e SHA512 a615da45ba3579e92e246ead3784cba6802b4543c60528d7fbf7d660a7593e8083bab8d05a7c0f42fa4b0628c59c9cec5fc567a48f3c4627e05742e229f1fb94
+AUX stimg-0.1.0-libpng15.patch 1605 BLAKE2B ae89ad0ec25eb68dd8293aeba40bfa741bb4db06b98cba895cb286580fe382402f1d97cf8a6c59bb53016c5910d349a2eddca178ca6e178779f4c431cc297954 SHA512 16e6e34c059cc419808b42f0ff8d5414b92e8aafbba47ed42f51bb76eb6e0490247726cbb9a3171c285d1dd710090e96e631f3733f9b8be785b2d743b143cca4
DIST stimg-0.1.0.tar.gz 187172 BLAKE2B 5e0a4d9874243bb1e1d3a092cc16cade427399de73cfb91fbf72e5bbd231d1e1ebaaccf4e0275dd5ec5a596ba35e7e6a124cd362c19759f88c2ea6c8363533ed SHA512 6a2b938e3fdac9bd079664a276e7091adc62fe60a386e5f575afe455e355e3639799171c0729131ee8d99c6b86776d64fecb3a85f15eb4ec5a4559e4cc1326a9
-EBUILD stimg-0.1.0.ebuild 731 BLAKE2B cf94329f2221488913362b853600619e9b2306c5301aa80b3a9178da20958be16b1d393a6f261caddc59652696d4af811f77cafe55ccc997eb8b4d419f534fa4 SHA512 9b7b00e5f4f49380747c66b8b1d264fde910abc85d92afb71e357640b40f16f258fd7ea633c2dd0216dba0a28fd362ecdc4372e1176a13c3af1aac97ae61ed93
+EBUILD stimg-0.1.0.ebuild 665 BLAKE2B c5abe082cc70769388845ae451859ffebf1c8e4f1e3fc9b7c52b09a66d8bdfc1300932121b9f76e03ee6ffe778edda39a9d10d7039c218c29c00e7e8a78149e5 SHA512 a5705001457f4e87bd19583df662b376a9a936ed0933d7d14626324c2d38f3aee64c2160b015827b7955b79e02f1cc9717fa6d40e6fa8eba6deec51fa782a1f3
MISC metadata.xml 265 BLAKE2B 5e9da641ca1949fb00cecaed654cfc3cad540c14b19043c2032e2c6593d47793d6ad7ee461667575ee51a919890ff1ec63195a43c2a35c8b56c12257668fa2b5 SHA512 65fd64249e8dde8eb2ddcb67c58c05b36b10e51956e2237f60dd3ae50872492f3d5872b64106acb13e453a41960f4f817161be3c8b89e6b9a2367b8f1403ffaf
diff --git a/media-libs/stimg/files/stimg-0.1.0-libpng15.patch b/media-libs/stimg/files/stimg-0.1.0-libpng15.patch
index 41ae138f1b1f..a1b48ac36e2c 100644
--- a/media-libs/stimg/files/stimg-0.1.0-libpng15.patch
+++ b/media-libs/stimg/files/stimg-0.1.0-libpng15.patch
@@ -1,6 +1,13 @@
---- src/png.c
-+++ src/png.c
-@@ -102,8 +102,8 @@
+--- a/src/png.c
++++ b/src/png.c
+@@ -1,5 +1,6 @@
+ /* $Id: png.c,v 1.1.1.1 2003/01/30 12:22:26 hito Exp $ */
+ #include <stdio.h>
++#include <string.h>
+ #include <png.h>
+ #include "stimg.h"
+
+@@ -102,8 +103,8 @@
0x00,
NULL);
@@ -11,7 +18,7 @@
if (image == NULL) {
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
-@@ -112,18 +112,18 @@
+@@ -112,18 +113,18 @@
}
row_pointers = png_get_rows(png_ptr, info_ptr);
diff --git a/media-libs/stimg/stimg-0.1.0.ebuild b/media-libs/stimg/stimg-0.1.0.ebuild
index 3a7be52b0efc..dba7db45095a 100644
--- a/media-libs/stimg/stimg-0.1.0.ebuild
+++ b/media-libs/stimg/stimg-0.1.0.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="Simple and tiny image loading library"
HOMEPAGE="http://homepage3.nifty.com/slokar/fb/"
@@ -11,26 +12,23 @@ SRC_URI="http://homepage3.nifty.com/slokar/stimg/${P}.tar.gz"
LICENSE="LGPL-2+ MIT-with-advertising"
SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
-IUSE="static-libs"
-RDEPEND="media-libs/libpng
- media-libs/tiff
+RDEPEND="
+ media-libs/libpng:=
+ media-libs/tiff:=
virtual/jpeg"
DEPEND="${RDEPEND}"
-DOCS=( AUTHORS )
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-libpng15.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-libpng15.patch )
src_configure() {
tc-export CC
- econf $(use_enable static-libs static)
+ econf --disable-static
}
src_install() {
default
- find "${D}" -name '*.la' -exec rm -f {} +
- dodoc README.ja
+
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
}