diff options
author | Chris Mayo <aklhfex@gmail.com> | 2019-09-06 19:26:22 +0100 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-09-06 16:00:41 -0400 |
commit | 2f72865ca4077617d2e91ff2a38c9c99946eb9ba (patch) | |
tree | fd8733d3f29f6e3980a198ba44b46e75ca858989 /media-plugins/kodi-pvr-vdr-vnsi | |
parent | sys-fs/lvm2: install man pages when USE=-thin (diff) | |
download | gentoo-2f72865ca4077617d2e91ff2a38c9c99946eb9ba.tar.gz gentoo-2f72865ca4077617d2e91ff2a38c9c99946eb9ba.tar.bz2 gentoo-2f72865ca4077617d2e91ff2a38c9c99946eb9ba.zip |
media-plugins/kodi-pvr-vdr-vnsi: replace unused kodi-platform dependency
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12873
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-pvr-vdr-vnsi')
3 files changed, 95 insertions, 1 deletions
diff --git a/media-plugins/kodi-pvr-vdr-vnsi/files/kodi-pvr-vdr-vnsi-3.6.3-remove-kodi-platform.patch b/media-plugins/kodi-pvr-vdr-vnsi/files/kodi-pvr-vdr-vnsi-3.6.3-remove-kodi-platform.patch new file mode 100644 index 000000000000..1059d5a62640 --- /dev/null +++ b/media-plugins/kodi-pvr-vdr-vnsi/files/kodi-pvr-vdr-vnsi-3.6.3-remove-kodi-platform.patch @@ -0,0 +1,52 @@ +https://github.com/kodi-pvr/pvr.vdr.vnsi/pull/123 + +From 7a19dc72df0a299887d08b27973de599dfc39f9e Mon Sep 17 00:00:00 2001 +From: Olaf Hering <olaf@aepfle.de> +Date: Thu, 2 May 2019 13:33:41 +0200 +Subject: [PATCH] [cmake] remove usage of kodi-platform + +The pvr.vdr.vnsi binary addon does not use kodi-platform. +Remove existing references from CMakeLists.txt and debian/control. +Add dependency to libp8-platform-dev because libkodiplatform-dev +pulled that dependency in as a side effect. Fix that bug too by +adding an explicit dependency. + +Signed-off-by: Olaf Hering <olaf@aepfle.de> +--- + CMakeLists.txt | 2 -- + debian/control | 2 +- + 2 files changed, 1 insertion(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bb35dc1..356d4f7 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -4,7 +4,6 @@ project(pvr.vdr.vnsi) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) + + find_package(Kodi REQUIRED) +-find_package(kodiplatform REQUIRED) + find_package(p8-platform REQUIRED) + + add_definitions(-DUSE_DEMUX) +@@ -78,7 +77,6 @@ endif() + message(STATUS "Configured render system: ${APP_RENDER_SYSTEM}") + + include_directories(${INCLUDES} +- ${kodiplatform_INCLUDE_DIRS} + ${p8-platform_INCLUDE_DIRS} + ${KODI_INCLUDE_DIR}/..) # Hack way with "/..", need bigger Kodi cmake rework to match right include ways + +diff --git a/debian/control b/debian/control +index 45fa8d8..1f0ae38 100644 +--- a/debian/control ++++ b/debian/control +@@ -2,7 +2,7 @@ Source: kodi-pvr-vdr-vnsi + Priority: extra + Maintainer: fernetmenta <fernetmenta@kodi.tv> + Build-Depends: debhelper (>= 9.0.0), cmake, libtinyxml-dev, +- libkodiplatform-dev (>= 17.1.0), kodi-addon-dev, ++ libp8-platform-dev, kodi-addon-dev, + libgles2-mesa-dev [arm], libgl1-mesa-dev [i386 amd64], pkg-config + Standards-Version: 3.9.4 + Section: libs diff --git a/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-3.6.3-r1.ebuild b/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-3.6.3-r1.ebuild new file mode 100644 index 000000000000..ec16e30ef479 --- /dev/null +++ b/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-3.6.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils kodi-addon + +DESCRIPTION="Kodi PVR addon VNSI" +HOMEPAGE="https://github.com/kodi-pvr/pvr.vdr.vnsi" +SRC_URI="" + +case ${PV} in +9999) + SRC_URI="" + EGIT_REPO_URI="https://github.com/kodi-pvr/pvr.vdr.vnsi.git" + inherit git-r3 + ;; +*) + KEYWORDS="~amd64 ~x86" + CODENAME="Leia" + SRC_URI="https://github.com/kodi-pvr/pvr.vdr.vnsi/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/pvr.vdr.vnsi-${PV}-${CODENAME}" + ;; +esac + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + =dev-libs/libplatform-2* + =media-tv/kodi-18* + virtual/opengl + " + +RDEPEND=" + ${DEPEND} + " + +PATCHES=( + "${FILESDIR}/${P}-remove-kodi-platform.patch" +) diff --git a/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-9999.ebuild b/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-9999.ebuild index 565b26fff2a0..1109235bfe77 100644 --- a/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-9999.ebuild +++ b/media-plugins/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi-9999.ebuild @@ -28,8 +28,8 @@ SLOT="0" IUSE="" DEPEND=" + =dev-libs/libplatform-2* ~media-tv/kodi-9999 - ~media-libs/kodi-platform-9999 virtual/opengl " |