diff options
Diffstat (limited to 'media-libs/libXcm')
-rw-r--r-- | media-libs/libXcm/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libXcm/libXcm-9999.ebuild | 35 |
2 files changed, 18 insertions, 19 deletions
diff --git a/media-libs/libXcm/Manifest b/media-libs/libXcm/Manifest index 985eebb4aa43..884e3b48ecd7 100644 --- a/media-libs/libXcm/Manifest +++ b/media-libs/libXcm/Manifest @@ -1,4 +1,4 @@ DIST libXcm-0.5.4.tar.gz 397552 BLAKE2B 73fb9aa2e52f1b0a26108d6e07fc66afa9da6503aedd49a140692a467bf5665c4551ac34224f91305debb5e15384e29b93fd4a2ef9f233e0b4f5c6c0ab1bce27 SHA512 96d279aff907bbbe4e38d099b79ebbc3b3beaf242be296d10a16e36e721669086ae0b5252f5abc629cc1fd65e595e2eec70bb890ea6ca4bbd08e8ce91cb05b53 EBUILD libXcm-0.5.4.ebuild 1051 BLAKE2B eabd2215954c8e532780cd93b6718f90453c19e3d27ea079ba3b923addfdcde626dea104fa74966e4335c7e0d2b8fcec0137cc7859ea9ddd60f0730cb7638306 SHA512 9b3280340e8618e1cb390781f58a4bd9834d6e536e7e6d6701a44a300aa0c28c0f36b4a23c8c734c1ae8916d9484de25ef599abb3cf1eb5028c09cb1dfa78c86 -EBUILD libXcm-9999.ebuild 1041 BLAKE2B 1ed9d2b456497ef69475c45cad8890fccbad63ab4cdb6fcd9b210e0c19290b2ea382344289138ed2f16f02fe6f77642f5f478c3ba66c267347113fd4d701e055 SHA512 0bb7a0c19467c9546624c9e4f279f00b634317b748a93aa2e1f316284f42e8826686d3e4aeafd453e1f56d3472d6a78486fff00e5e2a000d82841511767d4c6e +EBUILD libXcm-9999.ebuild 875 BLAKE2B f37e5f335a04c84791cd5d967d8ff990e262cb120b6e09837876e74b41c45718f433db7a9b9f89b4241a19c1c9177fdc37761f890fdaaee6c2c9b083e3079359 SHA512 9bd5f0148c9089981df4cd48b365fe805efb650fca79a5a644c7c24a4aa26529b65a2a4839e97a89d07c2efcf055b657d6491a82780ead42366f654beafa7799 MISC metadata.xml 302 BLAKE2B c089ace165b933d9f27e066196f28ed5b5cfad718090384a2bb49c7872f3cb3b9af85d4944b4ec9af0f596daf6fd172963ba797fc57eda5573548d74cce8bd90 SHA512 5d4afa6ae4e9df290f007c047159be9103f78e839ab183ee77b87784a3ce78ddaebb11ba8d8e29b65fd2ec1d65b0900a1162178acdd1ab796024ac06f1e60282 diff --git a/media-libs/libXcm/libXcm-9999.ebuild b/media-libs/libXcm/libXcm-9999.ebuild index d39e3f05a318..dff600917b05 100644 --- a/media-libs/libXcm/libXcm-9999.ebuild +++ b/media-libs/libXcm/libXcm-9999.ebuild @@ -1,49 +1,48 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +inherit autotools if [[ ${PV} = *9999 ]]; then - GITECLASS="git-r3" EGIT_REPO_URI="https://github.com/oyranos-cms/libxcm.git" + inherit git-r3 +else + SRC_URI="https://github.com/oyranos-cms/${PN,,}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" + S="${WORKDIR}/${P,,}" 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" +HOMEPAGE="https://www.oyranos.org/libxcm/" LICENSE="MIT" SLOT="0" -KEYWORDS="" IUSE="static-libs X" RDEPEND=" X? ( - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}] - x11-libs/libXmu[${MULTILIB_USEDEP}] + x11-libs/libX11 + x11-libs/libXfixes + x11-libs/libXmu ) " DEPEND="${RDEPEND} x11-base/xorg-proto" -[[ ${PV} != *9999 ]] && S="${WORKDIR}/${P,,}" - src_prepare() { default eautoreconf - multilib_copy_sources } -multilib_src_configure() { +src_configure() { econf \ $(use_enable static-libs static) \ $(use_with X x11) } -multilib_src_install_all() { - find "${D}" -name '*.la' -delete || die +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die } |