diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/aaphoto/aaphoto-0.45.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/aaphoto/aaphoto-0.45.ebuild')
-rw-r--r-- | media-gfx/aaphoto/aaphoto-0.45.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-gfx/aaphoto/aaphoto-0.45.ebuild b/media-gfx/aaphoto/aaphoto-0.45.ebuild new file mode 100644 index 000000000000..4d3d37cab6f8 --- /dev/null +++ b/media-gfx/aaphoto/aaphoto-0.45.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Automatic color correction and resizing of photos" +HOMEPAGE="http://log69.com/aaphoto.html https://github.com/log69/aaphoto" +SRC_URI="http://log69.com/downloads/${PN}_sources_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib + virtual/jpeg:0" +DEPEND="${RDEPEND}" + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + [[ $(gcc-major-version) -lt 4 ]] || \ + ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 2 ]] ) \ + && die "Sorry, but gcc 4.2 or higher is required" + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} |