Overview
Submit package home:Aloysius:branches:Multimedia / selene to package Multimedia / selene
selene.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Mon Apr 20 11:59:30 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
4
+
5
+- Add selene-fix-abstract.patch to fix build with recent versions
6
+ of vala
7
+
8
+-------------------------------------------------------------------
9
Thu Mar 29 12:29:53 UTC 2018 - sor.alexei@meowr.ru
10
11
- Update to version 17.7:
12
selene.spec
Changed
29
1
2
#
3
# spec file for package selene
4
#
5
-# Copyright (c) 2018 Packman Team <packman@links2linux.de>
6
+# Copyright (c) 2020 Packman Team <packman@links2linux.de>
7
#
8
# All modifications and additions to the file contributed by third parties
9
# remain the property of their copyright owners, unless otherwise agreed
10
11
Source: https://github.com/teejee2008/selene/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
12
# PATCH-FIX-OPENSUSE selene-fix-makefile.patch sor.alexei@meowr.ru -- Various Makefile fixes.
13
Patch0: %{name}-fix-makefile.patch
14
+# PATCH-FIX-UPSTREAM selene-fix-abstract.patch
15
+Patch1: %{name}-fix-abstract.patch
16
BuildRequires: fdupes
17
BuildRequires: gettext
18
BuildRequires: pkgconfig
19
20
%lang_package
21
22
%prep
23
-%setup -q
24
-%patch0 -p1
25
+%autosetup -p1
26
# Use ffmpeg instead of libav in scripts.
27
find src/share/selene/scripts/ -type f | while read file; do
28
sed -i 's/avconv/ffmpeg/g' "$file"
29
selene-fix-abstract.patch
Added
21
1
2
+From: Luigi Baldoni <aloisio@gmx.com>
3
+Date: Mon, 20 Apr 2020 13:59:03 +0200
4
+Subject: Make constructors of abstract classes protected
5
+
6
+Fixes build with recent vala
7
+
8
+Index: selene-17.7/src/MediaFile.vala
9
+===================================================================
10
+--- selene-17.7.orig/src/MediaFile.vala
11
++++ selene-17.7/src/MediaFile.vala
12
+@@ -633,7 +633,7 @@ public abstract class MediaStream : GLib
13
+ public string Description = "";
14
+ public bool IsSelected = true;
15
+
16
+- public MediaStream(MediaStreamType _type){
17
++ protected MediaStream(MediaStreamType _type){
18
+ Type = _type;
19
+ }
20
+
21
Refresh
Refresh
Login required, please
login
or
signup
in order to comment