diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-12-10 00:14:11 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-12-11 00:05:32 +0100 |
commit | 416ff4c85738ffc6760ac5f2c6f88565ea80a28b (patch) | |
tree | f013781169565bfd5e735278b8fea96290f7d88e /media-libs/libXcm/libXcm-0.5.4.ebuild | |
parent | dev-python/guessit: update deps in live ebuild (diff) | |
download | gentoo-416ff4c85738ffc6760ac5f2c6f88565ea80a28b.tar.gz gentoo-416ff4c85738ffc6760ac5f2c6f88565ea80a28b.tar.bz2 gentoo-416ff4c85738ffc6760ac5f2c6f88565ea80a28b.zip |
media-libs/libXcm: 0.5.4 version bump, EAPI 6, git-r3
Project moved to github.
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3068
Diffstat (limited to 'media-libs/libXcm/libXcm-0.5.4.ebuild')
-rw-r--r-- | media-libs/libXcm/libXcm-0.5.4.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/libXcm/libXcm-0.5.4.ebuild b/media-libs/libXcm/libXcm-0.5.4.ebuild new file mode 100644 index 000000000000..5d7c28e002d8 --- /dev/null +++ b/media-libs/libXcm/libXcm-0.5.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +if [[ ${PV} = *9999 ]]; then + GITECLASS="git-r3" + EGIT_REPO_URI="https://github.com/oyranos-cms/libxcm.git" +fi +inherit autotools multilib-minimal ${GITECLASS} +unset GITECLASS + +DESCRIPTION="Reference implementation of the X Color Management specification" +HOMEPAGE="http://www.oyranos.org/libxcm/" +[[ ${PV} != *9999 ]] && \ +SRC_URI="https://github.com/oyranos-cms/${PN,,}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static-libs X" + +RDEPEND=" + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXmu[${MULTILIB_USEDEP}] + x11-proto/xproto[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +[[ ${PV} != *9999 ]] && S="${WORKDIR}/${P,,}" + +src_prepare() { + default + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with X x11) +} + +multilib_src_install_all() { + find "${D}" -name '*.la' -delete || die +} |