diff options
author | Karlson2k (Evgeny Grin) <k2k@narod.ru> | 2020-07-26 21:30:40 +0300 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-07-27 11:20:08 -0400 |
commit | e2339312704c4e065e0412305798e18b44069852 (patch) | |
tree | b467264426a4e2dfc603440c0c5658bfa4c56516 /media-plugins/kodi-imagedecoder-raw | |
parent | net-misc/libteam: Cleanup old versions (diff) | |
download | gentoo-e2339312704c4e065e0412305798e18b44069852.tar.gz gentoo-e2339312704c4e065e0412305798e18b44069852.tar.bz2 gentoo-e2339312704c4e065e0412305798e18b44069852.zip |
media-plugins/kodi-imagedecoder-raw: new kodi binary plugin package
Closes: https://bugs.gentoo.org/734066
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/16839
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-imagedecoder-raw')
4 files changed, 105 insertions, 0 deletions
diff --git a/media-plugins/kodi-imagedecoder-raw/Manifest b/media-plugins/kodi-imagedecoder-raw/Manifest new file mode 100644 index 000000000000..0476ad7f409c --- /dev/null +++ b/media-plugins/kodi-imagedecoder-raw/Manifest @@ -0,0 +1 @@ +DIST kodi-imagedecoder-raw-2.1.2.tar.gz 51308 BLAKE2B 6b1dff38073ae3f97f070bbc8ad2b35d168c4649515f628627f5d146f3449108f6ce4b5c89fb862b206f84c1be99798c3d59f247d89180157b2bfda46af7cc44 SHA512 502594f19532535062c561d3a70035385de0001ac75783451fb734bd321235bf71009644f3add84a6c7ceccad985e2be30c797b594b1a941530cea0f72113385 diff --git a/media-plugins/kodi-imagedecoder-raw/kodi-imagedecoder-raw-2.1.2.ebuild b/media-plugins/kodi-imagedecoder-raw/kodi-imagedecoder-raw-2.1.2.ebuild new file mode 100644 index 000000000000..12447a7a7c94 --- /dev/null +++ b/media-plugins/kodi-imagedecoder-raw/kodi-imagedecoder-raw-2.1.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake kodi-addon + +KODI_PLUGIN_NAME="imagedecoder.raw" +DESCRIPTION="RAW image decoder for Kodi" +HOMEPAGE="https://github.com/xbmc/imagedecoder.raw" + +case ${PV} in +9999) + SRC_URI="" + EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git" + inherit git-r3 + DEPEND="~media-tv/kodi-9999" + ;; +*) + KEYWORDS="~amd64 ~x86" + CODENAME="Leia" + SRC_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${KODI_PLUGIN_NAME}-${PV}-${CODENAME}" + DEPEND="=media-tv/kodi-18*" + ;; +esac + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" + +DEPEND+=" + >=media-libs/libraw-0.19.5[jpeg,lcms] + >=media-libs/lcms-2.9 + " + +RDEPEND=" + ${DEPEND} + " + +src_prepare() { + [ -d depends ] && rm -rf depends || die + cmake_src_prepare +} diff --git a/media-plugins/kodi-imagedecoder-raw/kodi-imagedecoder-raw-9999.ebuild b/media-plugins/kodi-imagedecoder-raw/kodi-imagedecoder-raw-9999.ebuild new file mode 100644 index 000000000000..12447a7a7c94 --- /dev/null +++ b/media-plugins/kodi-imagedecoder-raw/kodi-imagedecoder-raw-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake kodi-addon + +KODI_PLUGIN_NAME="imagedecoder.raw" +DESCRIPTION="RAW image decoder for Kodi" +HOMEPAGE="https://github.com/xbmc/imagedecoder.raw" + +case ${PV} in +9999) + SRC_URI="" + EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git" + inherit git-r3 + DEPEND="~media-tv/kodi-9999" + ;; +*) + KEYWORDS="~amd64 ~x86" + CODENAME="Leia" + SRC_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${KODI_PLUGIN_NAME}-${PV}-${CODENAME}" + DEPEND="=media-tv/kodi-18*" + ;; +esac + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" + +DEPEND+=" + >=media-libs/libraw-0.19.5[jpeg,lcms] + >=media-libs/lcms-2.9 + " + +RDEPEND=" + ${DEPEND} + " + +src_prepare() { + [ -d depends ] && rm -rf depends || die + cmake_src_prepare +} diff --git a/media-plugins/kodi-imagedecoder-raw/metadata.xml b/media-plugins/kodi-imagedecoder-raw/metadata.xml new file mode 100644 index 000000000000..4a9d914c1b12 --- /dev/null +++ b/media-plugins/kodi-imagedecoder-raw/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>k2k@narod.ru</email> + <name>Karlson2k (Evgeny Grin)</name> + </maintainer> + <longdescription>RAW image decoder for Kodi</longdescription> + <upstream> + <remote-id type="github">xbmc/imagedecoder.raw</remote-id> + </upstream> +</pkgmetadata> |