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/kodi-imagedecoder-heif/kodi-imagedecoder-heif-9999.ebuild | |
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/kodi-imagedecoder-heif/kodi-imagedecoder-heif-9999.ebuild')
-rw-r--r-- | media-plugins/kodi-imagedecoder-heif/kodi-imagedecoder-heif-9999.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
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 +} |