From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 628A51396D9 for ; Sat, 18 Nov 2017 12:58:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0D20E0BFD; Sat, 18 Nov 2017 12:58:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DB88E0BFD for ; Sat, 18 Nov 2017 12:58:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C2E033BEBE for ; Sat, 18 Nov 2017 12:58:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2CA99EFE for ; Sat, 18 Nov 2017 12:58:34 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1511009901.df84196207babaf45c23b4a0dd6bb147a9cfa3d3.sping@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: media-tv/mediathekview-bin/ X-VCS-Repository: proj/betagarden X-VCS-Files: media-tv/mediathekview-bin/mediathekview-bin-13.0.4.ebuild X-VCS-Directories: media-tv/mediathekview-bin/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: df84196207babaf45c23b4a0dd6bb147a9cfa3d3 X-VCS-Branch: master Date: Sat, 18 Nov 2017 12:58:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2710885b-5eba-4853-9018-fc2ad733b339 X-Archives-Hash: a56667691ba8a61ae2c1268f0a559b1f commit: df84196207babaf45c23b4a0dd6bb147a9cfa3d3 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Nov 18 12:58:21 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Nov 18 12:58:21 2017 +0000 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=df841962 media-tv/mediathekview-bin: 13.0.4 .../mediathekview-bin-13.0.4.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/media-tv/mediathekview-bin/mediathekview-bin-13.0.4.ebuild b/media-tv/mediathekview-bin/mediathekview-bin-13.0.4.ebuild new file mode 100644 index 0000000..29c2fed --- /dev/null +++ b/media-tv/mediathekview-bin/mediathekview-bin-13.0.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit java-pkg-2 + +MY_PN=MediathekView +DESCRIPTION="Download files from the public broadcasting services" +HOMEPAGE="http://zdfmediathk.sourceforge.net/" +SRC_URI="https://github.com/${MY_PN,,}/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8 >=dev-java/oracle-jre-bin-1.8[javafx] + media-video/vlc + media-video/flvstreamer + " + +S="${WORKDIR}"/${MY_PN}-${PV} + +src_prepare() { + ewarn "Bundled libs remaining:" + ewarn "$(find lib -name '*.jar' | sort)" + eapply_user +} + +src_compile() { + : +} + +src_install() { + java-pkg_dojar MediathekView.jar + java-pkg_dojar lib/*.jar + + exeinto /usr/share/${PN}/lib/bin/ + doexe bin/flv.sh || die + + java-pkg_dolauncher ${PN} --main mediathek.Main + + # FIXME javafx: + local javafx_jar="$(ls -1 /opt/oracle-jre-bin-1.8.*/lib/ext/jfxrt.jar)" + sed "s,^CLASSPATH=\"\(.*\)\",CLASSPATH=\"\1:${javafx_jar}\"," -i "${JAVA_PKG_ENV}" || die +}