diff options
author | Harald Judt <h.judt@gmx.at> | 2023-01-01 05:14:43 +0100 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-01-11 08:44:11 +0200 |
commit | 274989d5e446116a13487783d60e63340608399a (patch) | |
tree | 5fa25d75840327d0b98154bcfb4eb58f30eb76c4 /media-tv | |
parent | xfce-base/xfce4-panel: Keyword 4.19.0 x86, #890340 (diff) | |
download | gentoo-274989d5e446116a13487783d60e63340608399a.tar.gz gentoo-274989d5e446116a13487783d60e63340608399a.tar.bz2 gentoo-274989d5e446116a13487783d60e63340608399a.zip |
media-tv/tvbrowser-bin: Bump version to 4.2.7
Signed-off-by: Harald Judt <h.judt@gmx.at>
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/tvbrowser-bin/Manifest | 1 | ||||
-rw-r--r-- | media-tv/tvbrowser-bin/tvbrowser-bin-4.2.7.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/media-tv/tvbrowser-bin/Manifest b/media-tv/tvbrowser-bin/Manifest index 002cf650ce94..842fbac40171 100644 --- a/media-tv/tvbrowser-bin/Manifest +++ b/media-tv/tvbrowser-bin/Manifest @@ -1 +1,2 @@ DIST tvbrowser-bin-4.2.6.tar.gz 5659017 BLAKE2B c9ef5f4df9a6338c3cadbc20d5ce14db7ce1821f993becd68e0187a371c068b296dde9002f89e527b7385a02bda0e0ca89ccf12b54761875b6c22f7f2415dc95 SHA512 0e3bf4b57974c7804c9cd2622c2dad9e4c873248feec53f0fb514944c698a890e59bcbe9bd4abe4a4146296b26e93b81d81b7eab8c27e055781c1e8571893d7d +DIST tvbrowser-bin-4.2.7.tar.gz 5678714 BLAKE2B 22af4810641943db990d9fc5290e1c64b0b6921efba0bb72aeba674850fa07a6f0cae678557df74c973712058dbf1ac3480edbc470c4fd05b95a422e9594a296 SHA512 922db2dbae2a4278abb8a818ac23eba38de20b0c3b273b5b7d4fbb57085136500f8cf6cc1daf2ad6765d9b8b1b8e8b8351463397a8ed5ab3025ae6faed8c37ae diff --git a/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.7.ebuild b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.7.ebuild new file mode 100644 index 000000000000..0e2ced4a33ce --- /dev/null +++ b/media-tv/tvbrowser-bin/tvbrowser-bin-4.2.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit desktop + +DESCRIPTION="Themeable and easy to use TV Guide - written in Java" +HOMEPAGE="https://www.tvbrowser.org" +MY_PN="tvbrowser" +SRC_URI="https://sourceforge.net/projects/tvbrowser/files/TV-Browser%20Releases%20%28Java%2011%20and%20higher%29/${PV}/${MY_PN}_${PV}_bin.tar.gz/download -> ${P}.tar.gz" +S="${WORKDIR}"/"${MY_PN}-${PV}" + +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} )" + +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" +} |