summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2022-07-11 13:27:48 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-07-23 15:50:16 +0300
commitc99f2a76b4486ef8dada3144249bb15b0b607306 (patch)
tree3adb3d67c26a5b87d91b635898540db6d9f19b46 /media-tv
parentdev-haskell/parsec: Add PM:8.10.4-r1, loosen core deps (diff)
downloadgentoo-c99f2a76b4486ef8dada3144249bb15b0b607306.tar.gz
gentoo-c99f2a76b4486ef8dada3144249bb15b0b607306.tar.bz2
gentoo-c99f2a76b4486ef8dada3144249bb15b0b607306.zip
media-tv/tvbrowser-bin: Bump version to 4.2.6
Signed-off-by: Harald Judt <h.judt@gmx.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/tvbrowser-bin/Manifest1
-rw-r--r--media-tv/tvbrowser-bin/tvbrowser-bin-4.2.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest
index 17b82b1c7d0d..f4633d531da5 100644
--- a/media-tv/tvbrowser-bin/Manifest
+++ b/media-tv/tvbrowser-bin/Manifest
@@ -1 +1,2 @@
DIST tvbrowser-bin-4.2.4.tar.gz 5599146 BLAKE2B be8a3f890e8933d5f7dd91a86b00196691049b24f33b0738bccb473c28b0dd7cb889e32f2418f7a0b2dd2de509ba0bc00bd6ded148941c79b5a4e811e63e9730 SHA512 c6fbbb130260e47231a3621b595de37cde2ab8c83110903c2f34481ae07dc13eee8d038ade7ab60dea6d82a2006d8277a321b286c4bf9f04ec307c1ade26baeb
+DIST tvbrowser-bin-4.2.6.tar.gz 5659017 BLAKE2B c9ef5f4df9a6338c3cadbc20d5ce14db7ce1821f993becd68e0187a371c068b296dde9002f89e527b7385a02bda0e0ca89ccf12b54761875b6c22f7f2415dc95 SHA512 0e3bf4b57974c7804c9cd2622c2dad9e4c873248feec53f0fb514944c698a890e59bcbe9bd4abe4a4146296b26e93b81d81b7eab8c27e055781c1e8571893d7d
diff --git a/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.6.ebuild b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.6.ebuild
new file mode 100644
index 000000000000..ea86849d30d8
--- /dev/null
+++ b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit desktop
+
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java"
+HOMEPAGE="https://www.tvbrowser.org"
+MY_PN="tvbrowser"
+SRC_URI="mirror://sourceforge/project/tvbrowser/TV-Browser%20Releases%20%28Java%2011%20and%20higher%29/${PV}/${MY_PN}_${PV}_bin.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+JAVA_SLOT=11
+RDEPEND="|| ( dev-java/openjdk:${JAVA_SLOT}
+ dev-java/openjdk-bin:${JAVA_SLOT}
+ dev-java/openjdk-jre-bin:${JAVA_SLOT} )"
+
+S="${WORKDIR}"/"${MY_PN}-${PV}"
+
+src_install() {
+ # Copy files and directories
+ insinto /opt/"${P}"
+ doins -r *
+
+ # Generate launcher
+ exeinto /opt/bin
+ sed -e "s/^P=.*\$/P=${P}/" \
+ -e "s/^JAVA_SLOT=.*\$/JAVA_SLOT=${JAVA_SLOT}/" \
+ "${FILESDIR}"/tvbrowser | \
+ newexe - tvbrowser || die
+
+ # Generate desktop entry
+ make_desktop_entry tvbrowser "TV-Browser" \
+ /opt/"${P}"/imgs/tvbrowser128.png \
+ "AudioVideo;TV;Video"
+}