summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2021-05-15 23:46:36 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-05-30 10:12:28 +0300
commitdc4191cc3bc708547743d67d82b02a31ae7ac1ea (patch)
tree0483b8475b60f671a8e53978bdb78a0118b7e502 /media-tv/tvbrowser-bin
parentdev-python/PyQt5-sip: add python3_10 support (diff)
downloadgentoo-dc4191cc3bc708547743d67d82b02a31ae7ac1ea.tar.gz
gentoo-dc4191cc3bc708547743d67d82b02a31ae7ac1ea.tar.bz2
gentoo-dc4191cc3bc708547743d67d82b02a31ae7ac1ea.zip
media-tv/tvbrowser-bin: Bump version to 4.2.3
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.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest
index 2de69e1c4d96..ff392c7bb84e 100644
--- a/media-tv/tvbrowser-bin/Manifest
+++ b/media-tv/tvbrowser-bin/Manifest
@@ -1 +1,2 @@
DIST tvbrowser-bin-4.2.2.tar.gz 5538847 BLAKE2B fff4bb1db00f4fca8688dbc83a63f2332d7b90f247916c68cfdd9f55c2e21cbabe16dabfb4782650f2c7abc1d0da7940cd29d2ded4a2225134ebbf06fdfdd5b3 SHA512 609558983f3bfa1410e3c6a83f2d0bcc4bdbdc297024c963234d19eef02bab20ae12f2ecf330a2f7f3bbf25450c62373d4d5ce14938e56c9a1d350604a08d048
+DIST tvbrowser-bin-4.2.3.tar.gz 5579122 BLAKE2B a6499ae7fc1f75084afcafe0f0597f2df891c0db3ea3f78e9340855a68c86e72f762fedddf2cdade6112bfed3c1c92919c78ebbdc05626ffec8ece7db1c0bc8e SHA512 6157d3b0296a33b0a01a89a88f221eb2192b5f0c4e4021aff93977609d06a5bc361271f38f8c645b0edc4cf1365889b385c03c55bd5ae6bb4259a916598c3185
diff --git a/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.3.ebuild b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.3.ebuild
new file mode 100644
index 000000000000..ea86849d30d8
--- /dev/null
+++ b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.3.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"
+}