summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2021-01-19 21:55:37 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-01-29 15:50:56 +0200
commit7c8db88f73d851e7b62863feea2a81b02e09d8f9 (patch)
treec206dae9aca4ae08917a318c333bc2ec2adea678 /media-tv/tvbrowser-bin
parentnet-im/gitter-bin: version bump to 5.0.1 (diff)
downloadgentoo-7c8db88f73d851e7b62863feea2a81b02e09d8f9.tar.gz
gentoo-7c8db88f73d851e7b62863feea2a81b02e09d8f9.tar.bz2
gentoo-7c8db88f73d851e7b62863feea2a81b02e09d8f9.zip
media-tv/tvbrowser-bin: Bump version to 4.2.2
Signed-off-by: Harald Judt <h.judt@gmx.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv/tvbrowser-bin')
-rw-r--r--media-tv/tvbrowser-bin/Manifest1
-rw-r--r--media-tv/tvbrowser-bin/tvbrowser-bin-4.2.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest
index ce0637413b4b..3a20e39213a7 100644
--- a/media-tv/tvbrowser-bin/Manifest
+++ b/media-tv/tvbrowser-bin/Manifest
@@ -1 +1,2 @@
DIST tvbrowser-bin-4.2.1.tar.gz 5488609 BLAKE2B 7a40c202cd46be7a87f8179c9924ba976aba2fd50d976a3737180a6d53e8c2bfc63e6d72e95275072223b150e3f47e5839e29497fc332e86520b6ccd5fd5ac36 SHA512 c2d0ff4124c3409c73b3e01969dc88abd5652c1ff2df177044827811345343ac47641acc288c9100e0b9dc690bb5544ef41f70299728cb9322f3b3bb51c0da0e
+DIST tvbrowser-bin-4.2.2.tar.gz 5538847 BLAKE2B fff4bb1db00f4fca8688dbc83a63f2332d7b90f247916c68cfdd9f55c2e21cbabe16dabfb4782650f2c7abc1d0da7940cd29d2ded4a2225134ebbf06fdfdd5b3 SHA512 609558983f3bfa1410e3c6a83f2d0bcc4bdbdc297024c963234d19eef02bab20ae12f2ecf330a2f7f3bbf25450c62373d4d5ce14938e56c9a1d350604a08d048
diff --git a/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.2.ebuild b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.2.ebuild
new file mode 100644
index 000000000000..ea86849d30d8
--- /dev/null
+++ b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.2.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"
+}