Skip to content

Commit

Permalink
media-gfx/imageworsener: 1.3.4
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Pipping <[email protected]>
Package-Manager: Portage-3.0.22, Repoman-3.0.3
  • Loading branch information
hartwork committed Sep 10, 2021
1 parent df948eb commit 81f46a8
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-gfx/imageworsener/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST imageworsener-1.3.3.tar.gz 662243 BLAKE2B 6b34dc111c5b2dcc25fdc717b7ec8d4268ca1b67c31cca58b5e1983643f1e3b78543a3bdba24b3692a05cb83a887bfcf0e7b09307535994d280056a0047c8b0d SHA512 ebe8a31819cf665d8d8d7e789d873de03206e74e100ea99b2d8dc6ac2590025ff0058066daeb17ebfaa6cf49222e33c8a9efa83f39f5e2b9b49d27a3ee1b027f
DIST imageworsener-1.3.4.tar.gz 665740 BLAKE2B 81e94230871e62dce77e63af7e958058145b1d858380eb9fb2b951c82154d8971eb4ee0a3257f72c519b0b007a23d70c4add70dfdc7e3b77c0f486bfb8c2aed1 SHA512 840cc779496e8279605e94797e27ac60196cf2178b55c8c454e6fab2c64733c057cb51decd7cf99b61dd5d8aef9bb93c397f5f07347b600ad5f996d72300dc3c
48 changes: 48 additions & 0 deletions media-gfx/imageworsener/imageworsener-1.3.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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/3" # because of libimageworsener.so.3.*.*
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 )"
RESTRICT="!test? ( test )"

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
find "${D}" -name '*.la' -delete || die
}

src_test() {
cd "${S}"/tests || die
./runtest "${S}"/${MY_PN}
}

0 comments on commit 81f46a8

Please sign in to comment.