-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplasma6-kasts.spec
70 lines (64 loc) · 2.09 KB
/
plasma6-kasts.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%define stable %([ "`echo %{version} |cut -d. -f3`" -ge 80 ] && echo -n un; echo -n stable)
#define git 20240218
%define gitbranch release/24.02
%define gitbranchd %(echo %{gitbranch} |sed -e "s,/,-,g")
#define commit cc1ac2462e41873741c8b6f3fcafa29ae3ce6a30
Name: plasma6-kasts
Version: 24.12.1
Release: %{?git:0.%{git}.}1
Summary: Podcast application primarily for Plasma Mobile
%if 0%{?git:1}
Source0: https://invent.kde.org/multimedia/kasts/-/archive/%{gitbranch}/kasts-%{gitbranchd}.tar.bz2
%else
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/kasts-%{version}.tar.xz
%endif
License: GPLv3
Group: Applications/Productivity
BuildRequires: cmake
BuildRequires: ninja
BuildRequires: bison
BuildRequires: flex
BuildRequires: cmake(ECM)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6Test)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6QuickControls2)
BuildRequires: cmake(Qt6Sql)
BuildRequires: cmake(Qt6Multimedia)
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6Crash)
BuildRequires: cmake(KF6Syndication)
BuildRequires: cmake(KF6ThreadWeaver)
BuildRequires: cmake(KF6Config)
BuildRequires: cmake(KF6ColorScheme)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(Qt6Svg)
BuildRequires: cmake(KF6Kirigami2)
BuildRequires: cmake(KF6KirigamiAddons)
BuildRequires: cmake(OpenSSL)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(Qt6DBus)
BuildRequires: pkgconfig(taglib)
BuildRequires: cmake(KF6NetworkManagerQt)
BuildRequires: cmake(Qt6Keychain)
%description
Podcast application for Plasma Mobile
%prep
%autosetup -p1 -n kasts-%{?git:%{gitbranchd}}%{!?git:%{version}}
%cmake \
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON \
-G Ninja -G Ninja
%build
%ninja_build -C build
%install
%ninja_install -C build
%find_lang kasts
%files -f kasts.lang
%{_bindir}/kasts
%{_datadir}/applications/org.kde.kasts.desktop
%{_datadir}/metainfo/org.kde.kasts.appdata.xml
%{_libdir}/libKMediaSession.so
#{_libdir}/qt6/qml/org/kde/kmediasession/libkmediasession-qmlplugin.so
#{_libdir}/qt6/qml/org/kde/kmediasession/qmldir
%{_datadir}/icons/hicolor/*/*/*