diff options
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/tvbrowser-bin/Manifest | 1 | ||||
-rw-r--r-- | media-tv/tvbrowser-bin/metadata.xml | 15 | ||||
-rw-r--r-- | media-tv/tvbrowser-bin/tvbrowser-bin-4.0.1.ebuild | 40 |
3 files changed, 56 insertions, 0 deletions
diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest new file mode 100644 index 000000000000..bd73ea9b7bdc --- /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 000000000000..e65cdcf0aee5 --- /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>h.judt@gmx.at</email> + <name>Harald Judt</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</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 000000000000..8b084f826f68 --- /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" +} |