forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.3.0
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST imageworsener-1.2.0.tar.gz 635509 SHA256 97fdb1aafac7bc2339b2ce813071f0900de0b093b96ab1a99a43f9647afdfe35 SHA512 0f46bb4823048f96904fbd2387adbc48a95289d28869e5b48cb5bf5279499417f77e41a8f5408ca0c644b33113a1f8b708040b7d782205479c99314fe6352f60 WHIRLPOOL 83bcfb535068357bb154656ee6b65e80e03dadefa555044934228a078304a6e5e0e39db8505c1e88e92698b0170baa81064d8d605c9d811001842a669785a4f1 | ||
DIST imageworsener-1.3.0.tar.gz 660594 SHA256 2d4e40463658a577056ee17f204aac2a626b291f187f5f6e42b0c4140408d125 SHA512 f98141169bc4427e6ce188fcce3fd41dbc8ee68f29801386972f5a92960d8bbc9c4daa8b0c33e26b3e216baedabdb78031f8131a7a375f001184ecdaf2fb17d6 WHIRLPOOL 0bef8c43a6db2b28839873af7f35a0cfe2554d47de40d9385574f38cf85459e22269ff15c78a31730214e92d2786f40ac85ad5057ddbd046075c382e7842a99b | ||
DIST imageworsener-src-0.9.2.tar.gz 211670 SHA256 f9fa780841d9019817a9bcdccecf6652b2900c3ae7e96b63a60420cd3ac27248 SHA512 19c961fcb9212ebc9373d076c09b0f1a403cba418d8abb425f438388f3b69f7d7e6e9b044dc544c77bfbde4a0afbbdc11d846a92f95cc237f84db61092585269 WHIRLPOOL e5e616d356f28a99be14bddb5f59a70d6c59533face790248391b9c7acd820401420677841ed13192b43e10595353a41ee500e6dc342abaf0990310d261f43ea | ||
DIST imageworsener-src-1.0.0.tar.gz 609807 SHA256 ccab084b4e3ef4dc2130d34804446e4b7d8eb5e17544122b7e239c60aa45e5cf SHA512 94e01937872bd312d6e0c8c52440099766e3fadd8b8e514fa2915c7f9d08c277c43d1ba51341c4a0df3cd84a73383702bb461ad9d371f1f231ec23d3633da8a6 WHIRLPOOL 518c37c7936fbb0f23d1c304b541758e0a2f88a0de36deeac0fa80d0aff31648c2fb515bd4da5205c2f8a512fb126fb792f6c661fa9ccd6bfe6f46048edf4455 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit eutils | ||
|
||
MY_P=${PN}-src-${PV} | ||
MY_PN=imagew | ||
|
||
DESCRIPTION="Utility for image scaling and processing" | ||
HOMEPAGE="http://entropymine.com/imageworsener/" | ||
SRC_URI="http://entropymine.com/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="MIT-with-advertising" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="jpeg png static-libs test webp zlib" | ||
|
||
DEPEND="png? ( media-libs/libpng:0 ) | ||
jpeg? ( virtual/jpeg:0 ) | ||
webp? ( >=media-libs/libwebp-0.1.3 ) | ||
zlib? ( sys-libs/zlib )" | ||
RDEPEND="${DEPEND}" | ||
|
||
REQUIRED_USE="test? ( jpeg png webp zlib )" | ||
|
||
src_configure() { | ||
local switch='' | ||
use test && switch=test | ||
|
||
econf \ | ||
$(use_enable static-libs static) \ | ||
$(use_with ${switch} jpeg) \ | ||
$(use_with ${switch} png) \ | ||
$(use_with ${switch} webp) \ | ||
$(use_with ${switch} zlib) | ||
} | ||
|
||
src_install() { | ||
default | ||
dodoc {changelog,readme,technical}.txt | ||
prune_libtool_files | ||
} | ||
|
||
src_test() { | ||
cd "${S}"/tests || die | ||
./runtest "${S}"/${MY_PN} | ||
} |