1 |
commit: 71f65aced2a86f731ec12be8429786d2192c4860 |
2 |
Author: Harald Judt <h.judt <AT> gmx <DOT> at> |
3 |
AuthorDate: Tue Dec 28 20:36:45 2021 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 5 20:48:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71f65ace |
7 |
|
8 |
media-tv/tvbrowser-bin: Bump version to 4.2.4 |
9 |
|
10 |
Signed-off-by: Harald Judt <h.judt <AT> gmx.at> |
11 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
12 |
|
13 |
media-tv/tvbrowser-bin/Manifest | 1 + |
14 |
media-tv/tvbrowser-bin/tvbrowser-bin-4.2.4.ebuild | 39 +++++++++++++++++++++++ |
15 |
2 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest |
18 |
index 4d6cfcd5639f..0672a4c3b167 100644 |
19 |
--- a/media-tv/tvbrowser-bin/Manifest |
20 |
+++ b/media-tv/tvbrowser-bin/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tvbrowser-bin-4.2.3.tar.gz 5579122 BLAKE2B a6499ae7fc1f75084afcafe0f0597f2df891c0db3ea3f78e9340855a68c86e72f762fedddf2cdade6112bfed3c1c92919c78ebbdc05626ffec8ece7db1c0bc8e SHA512 6157d3b0296a33b0a01a89a88f221eb2192b5f0c4e4021aff93977609d06a5bc361271f38f8c645b0edc4cf1365889b385c03c55bd5ae6bb4259a916598c3185 |
23 |
+DIST tvbrowser-bin-4.2.4.tar.gz 5599146 BLAKE2B be8a3f890e8933d5f7dd91a86b00196691049b24f33b0738bccb473c28b0dd7cb889e32f2418f7a0b2dd2de509ba0bc00bd6ded148941c79b5a4e811e63e9730 SHA512 c6fbbb130260e47231a3621b595de37cde2ab8c83110903c2f34481ae07dc13eee8d038ade7ab60dea6d82a2006d8277a321b286c4bf9f04ec307c1ade26baeb |
24 |
|
25 |
diff --git a/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.4.ebuild b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.4.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..ea86849d30d8 |
28 |
--- /dev/null |
29 |
+++ b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.4.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 2020-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+ |
36 |
+inherit desktop |
37 |
+ |
38 |
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java" |
39 |
+HOMEPAGE="https://www.tvbrowser.org" |
40 |
+MY_PN="tvbrowser" |
41 |
+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" |
42 |
+LICENSE="GPL-3" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+ |
46 |
+JAVA_SLOT=11 |
47 |
+RDEPEND="|| ( dev-java/openjdk:${JAVA_SLOT} |
48 |
+ dev-java/openjdk-bin:${JAVA_SLOT} |
49 |
+ dev-java/openjdk-jre-bin:${JAVA_SLOT} )" |
50 |
+ |
51 |
+S="${WORKDIR}"/"${MY_PN}-${PV}" |
52 |
+ |
53 |
+src_install() { |
54 |
+ # Copy files and directories |
55 |
+ insinto /opt/"${P}" |
56 |
+ doins -r * |
57 |
+ |
58 |
+ # Generate launcher |
59 |
+ exeinto /opt/bin |
60 |
+ sed -e "s/^P=.*\$/P=${P}/" \ |
61 |
+ -e "s/^JAVA_SLOT=.*\$/JAVA_SLOT=${JAVA_SLOT}/" \ |
62 |
+ "${FILESDIR}"/tvbrowser | \ |
63 |
+ newexe - tvbrowser || die |
64 |
+ |
65 |
+ # Generate desktop entry |
66 |
+ make_desktop_entry tvbrowser "TV-Browser" \ |
67 |
+ /opt/"${P}"/imgs/tvbrowser128.png \ |
68 |
+ "AudioVideo;TV;Video" |
69 |
+} |