commit:     82b63558d6ea8694426f566c6f7c56a1a54e5c67
Author:     Harald Judt <h.judt <AT> gmx <DOT> at>
AuthorDate: Tue May 14 08:47:08 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 12:22:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b63558

media-tv/tvbrowser-bin: Themeable and easy to use TV Guide (bug #685744)

New ebuild media-tv/tvbrowser-bin-4.0.1.ebuild: Themeable and easy to
use TV Guide - written in Java.

Signed-off-by: Harald Judt <h.judt <AT> gmx.at>
Closes: https://github.com/gentoo/gentoo/pull/11996
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-tv/tvbrowser-bin/Manifest                   |  1 +
 media-tv/tvbrowser-bin/metadata.xml               | 15 +++++++++
 media-tv/tvbrowser-bin/tvbrowser-bin-4.0.1.ebuild | 40 +++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest
new file mode 100644
index 00000000000..bd73ea9b7bd
--- /dev/null
+++ b/media-tv/tvbrowser-bin/Manifest
@@ -0,0 +1 @@
+DIST tvbrowser_4.0.1_bin.tar.gz 7226562 BLAKE2B 
30dca72b982a0ac4c8e90bc27a066fd52d5bf3f92b07b66384657c96dfc877a7524fad0f634f35ba33ad53cbe341dea6e054f99688d456af2df0770ba7c3d0e5
 SHA512 
7c509df05c0b66d96428eb1850cabf353ef7a33b902abab05717a768b3f195b60d0033a680beae3ab6f8ea8c0d9deb77fd3c8c1ce15d05af58f27418759fd01f

diff --git a/media-tv/tvbrowser-bin/metadata.xml 
b/media-tv/tvbrowser-bin/metadata.xml
new file mode 100644
index 00000000000..e65cdcf0aee
--- /dev/null
+++ b/media-tv/tvbrowser-bin/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Harald Judt</name>
+  </maintainer>
+  <maintainer type="project">
+      <email>[email protected]</email>
+      <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="sourceforge">tvbrowser</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/media-tv/tvbrowser-bin/tvbrowser-bin-4.0.1.ebuild 
b/media-tv/tvbrowser-bin/tvbrowser-bin-4.0.1.ebuild
new file mode 100644
index 00000000000..8b084f826f6
--- /dev/null
+++ b/media-tv/tvbrowser-bin/tvbrowser-bin-4.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit desktop
+
+MY_PN="tvbrowser"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java"
+HOMEPAGE="https://www.tvbrowser.org";
+SRC_URI="mirror://sourceforge/project/tvbrowser/TV-Browser%20Releases%20%28Java%208%20and%20higher%29/${PV}/${MY_PN}_${PV}_bin.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="virtual/jdk:1.8"
+
+S="${WORKDIR}"/"${MY_P}"
+
+src_install() {
+       # Copy files and directories
+       insinto /opt/"${P}"
+       doins -r *
+
+       # Generate launcher
+       exeinto /opt/bin
+       newexe - tvbrowser <<-_EOF_
+               #!/bin/bash
+               export JAVA_OPTS="\${JAVA_OPTS} 
-Dpropertiesfile=/opt/${P}/linux.properties"
+               exec /bin/bash /opt/${P}/tvbrowser.sh "\$@"
+       _EOF_
+
+       # Generate desktop entry
+       make_desktop_entry tvbrowser "TV-Browser" \
+               /opt/"${P}"/imgs/tvbrowser128.png \
+               "AudioVideo;TV;Video"
+}

Reply via email to