[packages/kp5-plank-player] - new

witekfl witekfl at pld-linux.org
Wed Oct 12 15:19:17 CEST 2022


commit 4556ba6017cd3dfb4f0a5eccc1a884914d1a36e3
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Oct 12 15:19:01 2022 +0200

    - new

 kp5-plank-player.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
---
diff --git a/kp5-plank-player.spec b/kp5-plank-player.spec
new file mode 100644
index 0000000..9b7d553
--- /dev/null
+++ b/kp5-plank-player.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeplasmaver	5.26.0
+%define		qtver		5.15.2
+%define		kpname		plank-player
+Summary:	Multimedia Player for playing local files on Plasma Bigscreen
+Name:		kp5-%{kpname}
+Version:	5.26.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5:	6144a66ba6b07f5ccd3d874f5fc15c97
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Quick-devel
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	gettext
+BuildRequires:	gstreamer-devel
+BuildRequires:	kf5-extra-cmake-modules
+BuildRequires:	kf5-ki18n-devel
+BuildRequires:	kf5-kirigami2-devel
+BuildRequires:	ninja
+BuildRequires:	pipewire-devel
+BuildRequires:	qt5-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Multimedia Player for playing local files on Plasma Bigscreen.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake -G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DHTML_INSTALL_DIR=%{_kdedocdir} \
+	..
+%ninja_build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/plank-player
+%{_desktopdir}/org.plank.player.desktop
+%{_iconsdir}/hicolor/128x128/apps/plank-player.png
+%{_iconsdir}/hicolor/256x256/apps/plank-player.png
+%{_datadir}/metainfo/org.kde.invent.plank_player.metainfo.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-plank-player.git/commitdiff/4556ba6017cd3dfb4f0a5eccc1a884914d1a36e3



More information about the pld-cvs-commit mailing list