From c5268c40ab678ac3441963449ee94af6470c3533 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sun, 17 Mar 2024 07:57:44 +0100 Subject: [PATCH] testing/melon: upgrade to 0.2.0 --- ...info-file-to-pass-appstream-validate.patch | 647 ++++++++++++++++++ testing/melon/APKBUILD | 19 +- 2 files changed, 660 insertions(+), 6 deletions(-) create mode 100644 testing/melon/0001-update-metainfo-file-to-pass-appstream-validate.patch diff --git a/testing/melon/0001-update-metainfo-file-to-pass-appstream-validate.patch b/testing/melon/0001-update-metainfo-file-to-pass-appstream-validate.patch new file mode 100644 index 0000000..638f6ba --- /dev/null +++ b/testing/melon/0001-update-metainfo-file-to-pass-appstream-validate.patch @@ -0,0 +1,647 @@ +From 3a6244e5927fbcc8afd8953d81fa99deec6de76a Mon Sep 17 00:00:00 2001 +From: Jakob Meier +Date: Sun, 17 Mar 2024 07:54:21 +0100 +Subject: [PATCH] update metainfo file to pass appstream validate + +--- + data/icu.ccw.Melon.desktop.in | 2 +- + data/icu.ccw.Melon.metainfo.xml.in.in | 356 +++++++++++++------------- + po/de.po | 36 ++- + po/fa.po | 31 ++- + po/melon.pot | 31 ++- + 5 files changed, 243 insertions(+), 213 deletions(-) + +diff --git a/data/icu.ccw.Melon.desktop.in b/data/icu.ccw.Melon.desktop.in +index e02d30f..16a164b 100644 +--- a/data/icu.ccw.Melon.desktop.in ++++ b/data/icu.ccw.Melon.desktop.in +@@ -7,7 +7,7 @@ Icon=@appid@ + Terminal=false + Type=Application + StartupNotify=true +-Categories=Graphics;Network;Viewer;GTK;GNOME; ++Categories=Graphics;Network;Video;Player;GTK;GNOME; + # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! + Keywords=viewer;videos;stream;browse; + X-GNOME-UsesNotifications=true +diff --git a/data/icu.ccw.Melon.metainfo.xml.in.in b/data/icu.ccw.Melon.metainfo.xml.in.in +index d05cdf4..5e7c949 100644 +--- a/data/icu.ccw.Melon.metainfo.xml.in.in ++++ b/data/icu.ccw.Melon.metainfo.xml.in.in +@@ -1,189 +1,195 @@ + + +- @app_id@ ++ @app_id@ + +- @prettyname@ +- @app_id@ +- Video player that aims to be mobile friendly. Stream videos on the go from multiple sources. ++ @prettyname@ ++ @app_id@ ++ Stream videos on the go from different services + +- +- @authorfullname@ +- +- @authorfullname@ +- +- @authoremail@ ++ ++ @authorfullname@ ++ ++ @authoremail@ + + +- CC0-1.0 +- @license@ ++ CC0-1.0 ++ @license@ + +- +- 360 +- always +- +- +- pointing +- keyboard +- touch +- ++ ++ 360 ++ always ++ ++ ++ pointing ++ keyboard ++ touch ++ + +- +-

+- Melon allows you to watch videos, subscribe to channels and bookmark playlists from multiple services. +-

+-

+- The following services are currently supported: +-

+-
    +-
  • Invidious (to access YouTube)
  • +-
  • PeerTube (experimental)
  • +-
  • Nebula (account required to watch videos)
  • +-
+-
++ ++

++ Melon allows you to watch videos, subscribe to channels and bookmark playlists from multiple services. ++

++

++ Access to these services is provided via so called servers (aka plugins), which communicate with the API of said service. ++ The following services are currently supported: ++

++
    ++
  • Invidious (to access YouTube)
  • ++
  • PeerTube (experimental)
  • ++
  • Nebula (account required to watch videos)
  • ++
++
+ +- @gitrepo@/issues +- @website@ +- https://translate.codeberg.org/engage/melon/ +- @gitrepo@ ++ @gitrepo@/issues ++ @website@ ++ https://translate.codeberg.org/engage/melon/ ++ @gitrepo@ + +- @app_id@.desktop +- +- +- +- Default Melon home screen showing: crickets chirping; Subscribe to a channel first, to view uploads +- +- https://codeberg.org/comcloudway/melon/media/branch/main/screenshots/empty_feed.png +- +- +- +- List of available servers: Invidious, Nebula, Peertube; including server description +- +- https://codeberg.org/comcloudway/melon/media/branch/main/screenshots/server_list.png +- +- +- +- Video Screen, with a video player at the top, the video title below, an expandable description, channel information and a bookmark button +- +- https://codeberg.org/comcloudway/melon/media/branch/main/screenshots/video.png +- +- +- +- +- +-
    +-
  • +- Melon now remebers your playback position: +- Pick up where you left of +-
  • +-
  • +- Introducing Playlist-Mode: +- Click the play button when viewing a playlist to start playing. +- A slightly modified player will allow you to skip tracks, +- enable shuffle mode or repeat videos. +-
  • +-
  • +- Goodbye WebView. Hello GStreamer: +- Melon now has it's own simple video player, +- with slide gestures to change the volume and brightness +- and double click gesture to skip ahead/back. +-
  • +-
+-
+-
+- +- +-
    +-
  • +- made melon translateable. Help translate melon to your language +-
  • +-
  • +- decode title and description using Unidecode +-
  • +-
  • +- add load more pagination to history page +-
  • +-
  • +- show spinner on new pages while waiting for results +-
  • +-
+-
+-
+- +- +-
    +-
  • +- experimental peertube support +-
  • +-
  • +- new-uploads-feed speedup by fetching videos on 10 threads +-
  • +-
  • +- faster feed rendering by loading thumbnails on separate thread +-
  • +-
+-
+-
+- +- +-

fix what's-new feed duplicate error

+-
+-
+- +- +-

+- First stable Version +-

+-

+- Features: +-

+-
    +-
  • +- Import Subscriptions, Playlists and History from Newpipe (.db file +- inside the .zip) +-
  • +-
  • +- Browse Server feeds and search for channels, playlists and videos +-
  • +-
  • +- Browse uploads and playlists from channels +-
  • +-
  • +- Bookmark playlists and create new ones +-
  • +-
  • +- Add videos to local playlist +-
  • +-
  • +- Follow channels and view new uploads in a home feed +-
  • +-
  • +- Support for invidious and nebula source +-
  • +-
+-
+-
+-
++ @app_id@.desktop ++ ++ Graphics ++ Network ++ Video ++ Player ++ + +- @app_id@ ++ ++ ++ ++ Default Melon home screen showing: crickets chirping; Subscribe to a channel first, to view uploads ++ ++ https://codeberg.org/comcloudway/melon/media/branch/main/screenshots/empty_feed.png ++ ++ ++ ++ List of available servers: Invidious, Nebula, Peertube; including server description ++ ++ https://codeberg.org/comcloudway/melon/media/branch/main/screenshots/server_list.png ++ ++ ++ ++ Video Screen, with a video player at the top, video meta data and a bookmark button ++ ++ https://codeberg.org/comcloudway/melon/media/branch/main/screenshots/video.png ++ ++ ++ ++ ++ ++
    ++
  • ++ Melon now remebers your playback position: ++ Pick up where you left of ++
  • ++
  • ++ Introducing Playlist-Mode: ++ Click the play button when viewing a playlist to start playing. ++ A slightly modified player will allow you to skip tracks, ++ enable shuffle mode or repeat videos. ++
  • ++
  • ++ Goodbye WebView. Hello GStreamer: ++ Melon now has it's own simple video player, ++ with slide gestures to change the volume and brightness ++ and double click gesture to skip ahead/back. ++
  • ++
++
++
++ ++ ++
    ++
  • ++ Made melon translateable. Help translate melon to your language ++
  • ++
  • ++ Decode title and description using Unidecode ++
  • ++
  • ++ Add load more pagination to history page ++
  • ++
  • ++ Show spinner on new pages while waiting for results ++
  • ++
++
++
++ ++ ++
    ++
  • ++ Experimental peertube support ++
  • ++
  • ++ New-uploads-feed speedup by fetching videos on 10 threads ++
  • ++
  • ++ Faster feed rendering by loading thumbnails on separate thread ++
  • ++
++
++
++ ++ ++

Fix what's-new feed duplicate error

++
++
++ ++ ++

++ First stable Version ++

++

++ Features: ++

++
    ++
  • ++ Import Subscriptions, Playlists and History from Newpipe (.db file ++ inside the .zip) ++
  • ++
  • ++ Browse Server feeds and search for channels, playlists and videos ++
  • ++
  • ++ Browse uploads and playlists from channels ++
  • ++
  • ++ Bookmark playlists and create new ones ++
  • ++
  • ++ Add videos to local playlist ++
  • ++
  • ++ Follow channels and view new uploads in a home feed ++
  • ++
  • ++ Support for invidious and nebula source ++
  • ++
++
++
++
+ +- +- intense +- intense +- intense +- intense +- intense +- intense +- intense +- moderate +- moderate +- moderate +- intense +- intense +- intense +- intense +- intense +- mild +- intense +- ++ @app_id@ ++ ++ ++ intense ++ intense ++ intense ++ intense ++ intense ++ intense ++ intense ++ moderate ++ moderate ++ moderate ++ intense ++ intense ++ intense ++ intense ++ intense ++ mild ++ intense ++ + +
+diff --git a/po/de.po b/po/de.po +index 0b01df8..d9e6c31 100644 +--- a/po/de.po ++++ b/po/de.po +@@ -7,7 +7,7 @@ msgid "" + msgstr "" + "Project-Id-Version: Melon 0.1.2\n" + "Report-Msgid-Bugs-To: \n" +-"POT-Creation-Date: 2024-03-16 18:50+0100\n" ++"POT-Creation-Date: 2024-03-17 07:54+0100\n" + "PO-Revision-Date: 2024-03-01 11:23+0000\n" + "Last-Translator: Anonymous \n" + "Language-Team: German \n" + "Language-Team: Persian \n" + "Language-Team: LANGUAGE \n" +@@ -32,44 +32,51 @@ msgstr "" + msgid "viewer;videos;stream;browse;" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:31 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:7 ++msgid "Stream videos on the go from different services" ++msgstr "" ++ ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:29 + msgid "" + "Melon allows you to watch videos, subscribe to channels and bookmark " + "playlists from multiple services." + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:34 +-msgid "The following services are currently supported:" ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:32 ++msgid "" ++"Access to these services is provided via so called servers (aka plugins), " ++"which communicate with the API of said service. The following services are " ++"currently supported:" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:38 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:37 + msgid "Invidious (to access YouTube)" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:39 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:38 + msgid "PeerTube (experimental)" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:40 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:39 + msgid "Nebula (account required to watch videos)" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:52 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:58 + msgid "" + "Default Melon home screen showing: crickets chirping; Subscribe to a channel " + "first, to view uploads" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:58 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:64 + msgid "" + "List of available servers: Invidious, Nebula, Peertube; including server " + "description" + msgstr "" + +-#: ../data/icu.ccw.Melon.metainfo.xml.in.in:64 ++#: ../data/icu.ccw.Melon.metainfo.xml.in.in:70 + msgid "" +-"Video Screen, with a video player at the top, the video title below, an " +-"expandable description, channel information and a bookmark button" ++"Video Screen, with a video player at the top, video meta data and a bookmark " ++"button" + msgstr "" + + #: ../melon/browse/__init__.py:18 ../melon/browse/search.py:58 +-- +2.44.0 + diff --git a/testing/melon/APKBUILD b/testing/melon/APKBUILD index c5984b8..bfd07b5 100644 --- a/testing/melon/APKBUILD +++ b/testing/melon/APKBUILD @@ -1,29 +1,35 @@ # Contributor: Jakob Meier # Maintainer: Jakob Meier pkgname=melon -pkgver=0.1.0 +pkgver=0.2.0 pkgrel=0 pkgdesc="Melon is a video player that aims to be mobile friendly. Stream videos on the go from multiple sources." url="https://codeberg.org/comcloudway/melon" arch="noarch" license="GPL-3.0-or-later" depends=" + gettext + gst-plugins-rs + gtk4.0 libadwaita py3-beautifulsoup4 py3-gobject3 py3-lxml py3-requests + py3-unidecode webkit2gtk-6.0 - gtk4.0 - " +" makedepends=" desktop-file-utils gtk4.0-dev libadwaita-dev meson " -subpackages="$pkgname-pyc" -source="melon-$pkgver.tar.gz::https://git.hut.ccw.icu/~comcloudway/melon/archive/$pkgver.tar.gz" +subpackages="$pkgname-lang $pkgname-pyc" +source=" + melon-$pkgver.tar.gz::https://git.hut.ccw.icu/~comcloudway/melon/archive/$pkgver.tar.gz + 0001-update-metainfo-file-to-pass-appstream-validate.patch + " build() { abuild-meson build @@ -39,5 +45,6 @@ package() { DESTDIR="$pkgdir" meson install -C build } sha512sums=" -8115a114570ed082e4f06829893785e16ee6417e171988298e2f00c309e6046e21646b87150c7ea8a562c52b3c28dbc359e64bb1839cf7ff67237b39f0496646 melon-0.1.0.tar.gz +734b5d958f9983577d9ff10ece6795112aceb96ceae9d86e957bda0c82897ac5d31583a266f7e6af2f7b13f6e315cc509d67dc8a8a6a433bac287306a3ccbeea melon-0.2.0.tar.gz +c60d28e43107b1450c868638f71cb71bca67f5f2b7cf4c19327fd4c18a32053b77f5876248dba3d4d250d474b64b271977c2acf497f1cc981f8d3365e5b74cf9 0001-update-metainfo-file-to-pass-appstream-validate.patch " -- 2.38.5