summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2019-10-04 15:56:01 -0400
committerCraig Andrews <candrews@gentoo.org>2019-10-04 16:00:27 -0400
commitc515785d4040c39997b1b89c846d172127f408a8 (patch)
treea73494d6892a0e52c7fe0079d165c3d7f2c325c5 /media-plugins/kodi-visualization-projectm
parentmedia-libs/libprojectm: 3.1.1_rc4 version bump (diff)
downloadgentoo-c515785d4040c39997b1b89c846d172127f408a8.tar.gz
gentoo-c515785d4040c39997b1b89c846d172127f408a8.tar.bz2
gentoo-c515785d4040c39997b1b89c846d172127f408a8.zip
media-plugins/kodi-visualization-projectm: 2.3.0 version bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-visualization-projectm')
-rw-r--r--media-plugins/kodi-visualization-projectm/Manifest1
-rw-r--r--media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-2.3.0.ebuild45
-rw-r--r--media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild13
3 files changed, 53 insertions, 6 deletions
diff --git a/media-plugins/kodi-visualization-projectm/Manifest b/media-plugins/kodi-visualization-projectm/Manifest
index 3188f0b7772d..6e188d7c8b41 100644
--- a/media-plugins/kodi-visualization-projectm/Manifest
+++ b/media-plugins/kodi-visualization-projectm/Manifest
@@ -1,2 +1,3 @@
DIST kodi-visualization-projectm-2.1.0.tar.gz 2479742 BLAKE2B e0fc2953ef1d242aa89d3e0afe7804b22460c70a2f98758bd252fa6aa1978001b60cc167878e725f09e2e38e0ebf2c013b3edad88ca015e54148da73a0fceb51 SHA512 74924f524d8e4d5c108cf23ae52d034404db9d1d5f63866cda920f552de93f524c6bd7eaff894295c2dae779be11dc17808540f22ad5f2536ec90166d2a95cec
DIST kodi-visualization-projectm-2.2.0.tar.gz 2478953 BLAKE2B 89e4d75de74b920dcb4829303c20cbafa5bcf843279c98817c35aca547408b961e6df9d1fd8f0bbdd3113ab2f5836c6b5f353e6f363f896b79341742d4850bf2 SHA512 6b16f6d186d7ab3bcc84ef60a1227f61a6244c2328ba685d606a29dd6b8e08270e58de26498af274970c3e2ad0a41597cd091a30209ad05c88bb8313995ae3a7
+DIST kodi-visualization-projectm-2.3.0.tar.gz 2478538 BLAKE2B 17da0bb095e778c355dbe2b9d1452961a5ae1520a86e9c0ad87a0a2e46ff8b85a88eaafcb4b35b66881540eb2126b54333cb8555e20a10661a0f987c59792a85 SHA512 85ef698652d8f4b57019566353a5d9f60b2feb22e3931316fd060c0fef7cee4f041da15a846a8b0a6687ad6685fa8e0baf48b1c637b25d8d590e72052db6048b
diff --git a/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-2.3.0.ebuild b/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-2.3.0.ebuild
new file mode 100644
index 000000000000..a10b1e1f1ac8
--- /dev/null
+++ b/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-2.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="ProjectM visualizer for Kodi"
+HOMEPAGE="https://github.com/xbmc/visualization.projectm"
+SRC_URI=""
+
+case ${PV} in
+9999)
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/xbmc/visualization.projectm.git"
+ inherit git-r3
+ ;;
+*)
+ KEYWORDS="~amd64 ~x86"
+ CODENAME="Leia"
+ SRC_URI="https://github.com/xbmc/visualization.projectm/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/visualization.projectm-${PV}-${CODENAME}"
+ ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ =media-tv/kodi-18*
+ =media-libs/kodi-platform-18*
+ >=media-libs/libprojectm-3.1.1_rc4
+ >=media-libs/glm-0.9.9.5
+ virtual/opengl
+ "
+
+RDEPEND="
+ ${DEPEND}
+ "
+
+src_prepare(){
+ [ -d depends ] && rm -rf depends || die
+ cmake-utils_src_prepare
+}
diff --git a/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild b/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild
index 663819949187..f19159d269cb 100644
--- a/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild
+++ b/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild
@@ -17,8 +17,9 @@ case ${PV} in
;;
*)
KEYWORDS="~amd64 ~x86"
- SRC_URI="https://github.com/xbmc/visualization.projectm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.projectm-${PV}"
+ CODENAME="Leia"
+ SRC_URI="https://github.com/xbmc/visualization.projectm/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/visualization.projectm-${PV}-${CODENAME}"
;;
esac
@@ -29,7 +30,8 @@ IUSE=""
DEPEND="
~media-tv/kodi-9999
~media-libs/kodi-platform-9999
- >=media-libs/libprojectm-3.1.0
+ >=media-libs/libprojectm-3.1.1_rc4
+ >=media-libs/glm-0.9.9.5
virtual/opengl
"
@@ -37,8 +39,7 @@ RDEPEND="
${DEPEND}
"
-src_prepare() {
- # Delete bundled libprojectM
- rm src/libprojectM -rf || die
+src_prepare(){
+ [ -d depends ] && rm -rf depends || die
cmake-utils_src_prepare
}