[arch-commits] Commit in mediathekview/repos (4 files)

David Runge dvzrv at archlinux.org
Wed Apr 29 23:07:40 UTC 2020


    Date: Wednesday, April 29, 2020 @ 23:07:39
  Author: dvzrv
Revision: 622337

archrelease: copy trunk to community-any

Added:
  mediathekview/repos/community-any/
  mediathekview/repos/community-any/PKGBUILD
    (from rev 622336, mediathekview/trunk/PKGBUILD)
  mediathekview/repos/community-any/de.mediathekview.MediathekView.desktop
    (from rev 622336, mediathekview/trunk/de.mediathekview.MediathekView.desktop)
  mediathekview/repos/community-any/mediathekview.sh
    (from rev 622336, mediathekview/trunk/mediathekview.sh)

----------------------------------------+
 PKGBUILD                               |   56 +++++++++++++++++++++++++++++++
 de.mediathekview.MediathekView.desktop |   11 ++++++
 mediathekview.sh                       |    4 ++
 3 files changed, 71 insertions(+)

Copied: mediathekview/repos/community-any/PKGBUILD (from rev 622336, mediathekview/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-29 23:07:39 UTC (rev 622337)
@@ -0,0 +1,56 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=MediathekView
+pkgname=mediathekview
+pkgver=13.5.1
+pkgrel=2
+pkgdesc="Access the Mediathek of many German TV stations"
+arch=('any')
+url="https://github.com/mediathekview/MediathekView"
+license=('GPL3')
+depends=('bash' 'hicolor-icon-theme' 'java-runtime>=11')
+provides=('mediathek')
+conflicts=('mediathek')
+replaces=('mediathek')
+makedepends=('maven')
+optdepends=('mplayer: for recording streams'
+            'vlc: for stream playback')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
+        "de.${pkgname}.${_name}.desktop"
+        "${pkgname}.sh")
+sha512sums=('8e46259eb0ecc4f378d01fa378cf3f52d9e419194e9d6b37668bb07a9c3f6590dbd60a08ff4feff1d475c1266eb852279db37e11c76c32d39aa5ca02c7ae6daa'
+            '24a94a078180aca7c50ed7763ef4806c116c27f901f644ef570ee413ffc3ac795b5ebd24d696a9b2ec426e7c9b6eaf8a8b22addb5ac7c9fe9700f7c04305f64b'
+            '3769eb34164d967a729aeaf733e8a20a6ea123b9ba63fdead628c6b245cc4d578847fc2c800f4606d933d62a509adce5bd489353cd2c70c20f890089acf0c8d5')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./mvnw clean install -Plinux,install4j-linux
+}
+
+package() {
+  local _size
+  cd "$pkgname-$pkgver"
+  # jar
+  install -vDm 644 "target/${_name}.jar" \
+    -t "${pkgdir}/usr/share/java/${pkgname}"
+  # script
+  install -vDm 755 "../${pkgname}.sh" \
+    "${pkgdir}/usr/bin/${pkgname}"
+  # XDG desktop file
+  install -vDm 644 "../de.mediathekview.${_name}.desktop" \
+    -t "${pkgdir}/usr/share/applications"
+  # icons
+  for _size in 16 32 48 128; do
+    install -vDm 644 "target/${_name}@x${_size}.png" \
+      "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png"
+  done
+  install -vDm 644 res/${_name}.svg \
+    -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
+  # docs
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: mediathekview/repos/community-any/de.mediathekview.MediathekView.desktop (from rev 622336, mediathekview/trunk/de.mediathekview.MediathekView.desktop)
===================================================================
--- community-any/de.mediathekview.MediathekView.desktop	                        (rev 0)
+++ community-any/de.mediathekview.MediathekView.desktop	2020-04-29 23:07:39 UTC (rev 622337)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Categories=AudioVideo;Audio;Video;Player;TV;
+Comment=Access to the Mediathek of different tv stations
+Comment[de]=Durchsucht die Online-Mediatheken verschiedener Sender
+Exec=mediathekview
+GenericName=Mediathek
+Icon=mediathekview
+Name=MediathekView
+StartupNotify=true
+Terminal=false
+Type=Application

Copied: mediathekview/repos/community-any/mediathekview.sh (from rev 622336, mediathekview/trunk/mediathekview.sh)
===================================================================
--- community-any/mediathekview.sh	                        (rev 0)
+++ community-any/mediathekview.sh	2020-04-29 23:07:39 UTC (rev 622337)
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+PATH="/usr/lib/jvm/java-13-openjdk/bin:${PATH}"
+java -jar /usr/share/java/mediathekview/MediathekView.jar "$@"


More information about the arch-commits mailing list