Skip to content
Snippets Groups Projects
Commit f5765ab2 authored by Robert Mader's avatar Robert Mader Committed by Patrycja Rosa
Browse files

community/livi: upgrade to 0.2.0

And drop the patch thas has been upstreamed in
https://gitlab.gnome.org/guidog/livi/-/merge_requests/43

The upgrade will also rebuild against Gst 1.24, which should enable
Wayland passthrough, improving performance.
parent 5090192c
No related branches found
No related tags found
1 merge request!67667community/livi: upgrade to 0.2.0
Pipeline #241750 canceled
# Contributor: Krassy Boykinov <kboykinov@teamcentrixx.com>
# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
pkgname=livi
pkgver=0.1.0
pkgver=0.2.0
pkgrel=0
pkgdesc="A small video player targeting mobile devices"
url="https://gitlab.gnome.org/guidog/livi"
......@@ -16,9 +16,7 @@ makedepends="
meson
"
checkdepends="appstream-glib"
source="https://gitlab.gnome.org/guidog/livi/-/archive/v$pkgver/livi-v$pkgver.tar.gz
fix-ld-format-string.patch
"
source="https://gitlab.gnome.org/guidog/livi/-/archive/v$pkgver/livi-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
......@@ -35,6 +33,5 @@ package() {
}
sha512sums="
e16d8c1e3f5cda4e1b9281eb308137c2193c4fcf270a06dd5c270049f45c3b153648e6dae8bcbb1dbf65d8b2c239b2735d0232a79f70da322db03b955801cf5f livi-v0.1.0.tar.gz
5d5cdf5e74528e6d5819688e4eff0362fb9ed300b0e0b73e4b2d81351c603ed6d9b02fed334beb3553b8c383b2c351851a02c31fca7208f6e0bee12387d768e6 fix-ld-format-string.patch
da643fac51406c36b70c8f0259a8e29702f1c98db8b4585effd939d248d02cb507f476ed688b5139f2f3577c7d295076f8ba46161f7c7560d849b1504a576a15 livi-v0.2.0.tar.gz
"
diff --git a/src/livi-window.c b/src/livi-window.c
index 0df725a..c9eacf5 100644
--- a/src/livi-window.c
+++ b/src/livi-window.c
@@ -25,6 +25,7 @@
#include <adwaita.h>
#include <glib/gi18n.h>
+#include <inttypes.h>
enum {
PROP_0,
@@ -1176,7 +1177,7 @@ livi_window_resume_pos (LiviWindow *self)
if (pos > 0) {
pos *= GST_MSECOND;
/* Seek directly without showing any overlays */
- g_debug ("Found video %s, resuming at %ld s", self->stream.ref_uri, pos / GST_SECOND);
+ g_debug ("Found video %s, resuming at %" PRId64 "s", self->stream.ref_uri, pos / GST_SECOND);
gst_play_seek (self->player, pos);
show_resume_or_restart_overlay (self, TRUE);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment