Switch to a git snapshot
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaffeine?expand=0&rev=52
This commit is contained in:
parent
f491b517dd
commit
5524f7c35c
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionformat">2.0.18git.%ci~%h</param>
|
||||
<param name="url">https://invent.kde.org/multimedia/kaffeine.git</param>
|
||||
<param name="scm">git</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled" />
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://invent.kde.org/multimedia/kaffeine.git</param>
|
||||
<param name="changesrevision">afc6c121b8cb23c0b1f14ab3c2dd04918d28cc05</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d9799a5b7b94a55963f94938b36b8fcb1be3e753b2be110989934ab15386b681
|
||||
size 6033112
|
3
kaffeine-2.0.18git.20230531T022124~afc6c12.obscpio
Normal file
3
kaffeine-2.0.18git.20230531T022124~afc6c12.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02af3951da3c41ef169c13e37cbd2c2832b089ca54b07ce9d64fb3c98a39b6ae
|
||||
size 13516301
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 01 07:05:39 UTC 2023 - christophe@krop.fr
|
||||
|
||||
- Kaffeine is unmaintained upstream but still has users. Switch to
|
||||
a git snapshot. Notable changes:
|
||||
* Drop kdelirc profile
|
||||
* Don't invoke XScreenSaverSuspend on Wayland (kde#460970)
|
||||
* Add desktop file name to solid actions
|
||||
* Fix activating existing window
|
||||
* src/scanfile.dvb: update to latest database
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 23 08:40:56 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
4
kaffeine.obsinfo
Normal file
4
kaffeine.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: kaffeine
|
||||
version: 2.0.18git.20230531T022124~afc6c12
|
||||
mtime: 1685499684
|
||||
commit: afc6c121b8cb23c0b1f14ab3c2dd04918d28cc05
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kaffeine
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,16 +17,16 @@
|
||||
|
||||
|
||||
Name: kaffeine
|
||||
Version: 2.0.18
|
||||
Version: 2.0.18git.20230531T022124~afc6c12
|
||||
Release: 0
|
||||
Summary: VLC-based Multimedia Player
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
URL: https://kaffeine.kde.org/
|
||||
Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz
|
||||
URL: https://apps.kde.org/kaffeine/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
# PATCH-FEATURE-OPENSUSE kaffeine-fixsplitter.patch -- GUI improvement (allow more flexibly set splitters)
|
||||
Patch0: kaffeine-fixsplitter.patch
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(KF5CoreAddons)
|
||||
@ -43,16 +43,13 @@ BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Sql)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(libvlc)
|
||||
BuildRequires: pkgconfig(libdvbv5)
|
||||
BuildRequires: pkgconfig(libvlc) >= 3.0
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xscrnsaver)
|
||||
Requires: libQt5Sql5-sqlite
|
||||
Requires: vlc-noX
|
||||
Recommends: %{name}-lang = %{version}
|
||||
Recommends: vlc-codecs
|
||||
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?sle_version} >= 120300)
|
||||
BuildRequires: pkgconfig(libdvbv5)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Kaffeine is a media player.
|
||||
@ -67,46 +64,34 @@ playing their movies: from DVD (including DVD menus, titles, chapters, etc.), VC
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%{kf5_find_htmldocs}
|
||||
|
||||
# place desktop entry in video and tv
|
||||
%suse_update_desktop_file -r org.kde.%{name} Qt KDE AudioVideo Video Player TV
|
||||
|
||||
%find_lang %{name} --without-kde --with-man
|
||||
%if 0%{?suse_version} == 1315 && 0%{?sle_version} <= 120200
|
||||
# %%kf5_find_htmldocs is only defined since Leap 42.3
|
||||
CURDIR=`pwd`
|
||||
pushd %{buildroot}%{_kf5_htmldir}
|
||||
for i in *; do
|
||||
if ! [ -d "%{_datadir}/locale/${i}" ]; then
|
||||
echo "Removing unsupported translation %{_kf5_htmldir}/${i}"
|
||||
rm -rf "$i"
|
||||
elif [ "$i" != "en" ]; then
|
||||
echo "%doc %lang($i) %{_kf5_htmldir}/${i}" >> $CURDIR/%{name}.lang
|
||||
fi
|
||||
done
|
||||
echo "%doc %lang(uk) %{_kf5_mandir}/uk" >> $CURDIR/%{name}.lang
|
||||
popd
|
||||
%else
|
||||
%{kf5_find_htmldocs}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc COPYING-DOCS Changelog NOTES README.md
|
||||
%{_kf5_bindir}/kaffeine
|
||||
%doc README.md
|
||||
%doc %lang(en) %{_kf5_htmldir}/en/kaffeine/
|
||||
%{_kf5_applicationsdir}/org.kde.kaffeine.desktop
|
||||
%{_kf5_appstreamdir}/org.kde.kaffeine.appdata.xml
|
||||
%{_kf5_htmldir}/en/
|
||||
%{_kf5_bindir}/kaffeine
|
||||
%{_kf5_iconsdir}/hicolor/*/*/*
|
||||
%{_kf5_mandir}/man1/*
|
||||
%{_kf5_mandir}/man1/kaffeine.1%{?ext_man}
|
||||
%{_kf5_sharedir}/kaffeine/
|
||||
%{_kf5_sharedir}/profiles/
|
||||
%{_kf5_sharedir}/solid/actions/
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%{_kf5_mandir}/*/man1/kaffeine.1%{?ext_man}
|
||||
%{_kf5_htmldir}/*/kaffeine/
|
||||
%exclude %{_kf5_htmldir}/en/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user