We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

view media-gfx/trimage/trimage-1.0.5.ebuild @ 227:9b9f918d8795

[sync] imported feb54d4..161b374 from upstream commit 161b374c536a26c16bbc589710e1d982bb8e2a4d Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Apr 30 20:47:16 2020 +0200 media-gfx/trimage: fixed broken eclass dependency
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 30 Apr 2020 19:00:02 +0000
parents 60f110d900e4
children
line wrap: on
line source

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
PYTHON_COMPAT=( python2_7 )

inherit git-r3
inherit distutils-r1
inherit python-r1

DESCRIPTION="GUI for PNG and JPEG optimization via optipng, pngcrush, advpng and jpegoptim"
HOMEPAGE="http://trimage.org/"

#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
EGIT_REPO_URI="https://github.com/Kilian/Trimage.git"
EGIT_COMMIT="e460faca7635f52d7e530b80835a847778e7eeac"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

# dependencies specified on homepage are outdated (no longer in portage at the time of
# writing) but slightly newer ones shouldn't be a problem.
#
# Original requirements for 1.0.5:
#   python 2.6
#   python-qt4 4.4
#   optipng 0.6.2.1
#   pngcrush 1.6.7
#   advancecomp 1.15
#   jpegoptim 1.2.2
#
DEPEND="
	>=dev-python/PyQt4-4.4
	<dev-python/PyQt4-4.12
	
	>=media-gfx/optipng-0.6.2.1
	<media-gfx/optipng-0.8
	
	>=media-gfx/pngcrush-1.6.7
	<media-gfx/pngcrush-1.8
	
	~app-arch/advancecomp-1.15[png]
	
	>=media-gfx/jpegoptim-1.2.2
	<media-gfx/jpegoptim-1.4
"

# PyQt4 needs to be emerged with X to build PyQt4.QtCore
RDEPEND="
	${DEPEND}
	dev-python/PyQt4[X]
"