diff options
author | Karlson2k (Evgeny Grin) <k2k@narod.ru> | 2020-07-26 19:44:26 +0300 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-07-27 11:09:37 -0400 |
commit | 67bb643f13e0f28e39c97208ea781138daecaaf0 (patch) | |
tree | ddc2b99a7e45d366885dbb98df8fcf08e4d31701 /media-plugins | |
parent | media-libs/libheif: bump to 1.6.2 (diff) | |
download | gentoo-67bb643f13e0f28e39c97208ea781138daecaaf0.tar.gz gentoo-67bb643f13e0f28e39c97208ea781138daecaaf0.tar.bz2 gentoo-67bb643f13e0f28e39c97208ea781138daecaaf0.zip |
Added media-plugins/kodi-imagedecoder-heif kodi binary plugin Add support for modern HEIF image format used by modern smartphones
Closes: https://bugs.gentoo.org/734064
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/16838
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins')
4 files changed, 107 insertions, 0 deletions
diff --git a/media-plugins/kodi-imagedecoder-heif/Manifest b/media-plugins/kodi-imagedecoder-heif/Manifest new file mode 100644 index 000000000000..e2c6e4a66de8 --- /dev/null +++ b/media-plugins/kodi-imagedecoder-heif/Manifest @@ -0,0 +1 @@ +DIST kodi-imagedecoder-heif-1.1.0.tar.gz 26928 BLAKE2B aadd843020ebc29608c53c3c3bf34d1280cdde6c8636649067a169decb2d141c6898b083d1ad7ecdaabb8c06aa1f510f87d38156c9e1a77f9844fe2a227767cd SHA512 7c3ba8851fbffab24db0951a5aaca51ec4391e1350c2d9f9317bb1d305f16c210b404299f8c20c6208f5b8dbe1f53598d2d3fbc9b2e62ccadfbb84e3936ec04b diff --git a/media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-1.1.0.ebuild b/media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-1.1.0.ebuild new file mode 100644 index 000000000000..6c11a6d6e48d --- /dev/null +++ b/media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-1.1.0.ebuild @@ -0,0 +1,45 @@ +# 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.heif" +DESCRIPTION="HEIF image decoder for Kodi" +HOMEPAGE="https://github.com/xbmc/imagedecoder.heif" + +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/libde265-1.0.5 + >=media-libs/libheif-1.6.2 + " + +RDEPEND=" + ${DEPEND} + " + +src_prepare() { + [ -d depends ] && rm -rf depends || die + cmake_src_prepare +} diff --git a/media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-9999.ebuild b/media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-9999.ebuild new file mode 100644 index 000000000000..6c11a6d6e48d --- /dev/null +++ b/media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-9999.ebuild @@ -0,0 +1,45 @@ +# 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.heif" +DESCRIPTION="HEIF image decoder for Kodi" +HOMEPAGE="https://github.com/xbmc/imagedecoder.heif" + +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/libde265-1.0.5 + >=media-libs/libheif-1.6.2 + " + +RDEPEND=" + ${DEPEND} + " + +src_prepare() { + [ -d depends ] && rm -rf depends || die + cmake_src_prepare +} diff --git a/media-plugins/kodi-imagedecoder-heif/metadata.xml b/media-plugins/kodi-imagedecoder-heif/metadata.xml new file mode 100644 index 000000000000..219de8da9ace --- /dev/null +++ b/media-plugins/kodi-imagedecoder-heif/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>Binary Kodi plugin for HEIF image decoding.</longdescription> + <upstream> + <remote-id type="github">xbmc/imagedecoder.heif</remote-id> + </upstream> +</pkgmetadata> |