forked from pool/phonon-vlc
Add phonon-vlc to KDE:Frameworks
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/phonon-vlc?expand=0&rev=1
This commit is contained in:
commit
183b46e903
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
||||
<multibuild>
|
||||
<package>qt5</package>
|
||||
<package>qt6</package>
|
||||
</multibuild>
|
3
phonon-backend-vlc-0.12.0.tar.xz
Normal file
3
phonon-backend-vlc-0.12.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:338479dc451e4b94b3ca5b578def741dcf82f5c626a2807d36235be2dce7c9a5
|
||||
size 71664
|
16
phonon-backend-vlc-0.12.0.tar.xz.sig
Normal file
16
phonon-backend-vlc-0.12.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmVDrUEACgkQ11dEg7tX
|
||||
sY2WTRAAmT1yN9y+BW8LlsIBBdmGoicEQ/DBjPBulAjTvTWauTx5qk90f90NNLZU
|
||||
m2faaJMbKz7W+ZNvBerzIHB9TC9FvWw7wssJLvl4Em/FLOrO7Cf4r2fCbaf2BUWQ
|
||||
SJPnNapz6pZiPHrOkAbCNTLrDVcR8Lau0xintixLJAox8BZcpHU7dtwNdsnBXa38
|
||||
9bzL0Ee03aLf4zdbBqhL8sD1QoAmDalKe4h8sYo/l6OI1mGUolTESkZXJT48DUkA
|
||||
+16jHzJMmCcSaOehPk5A1rxyCxettETULjCwvulWLfBiSVJ4BXH0eDMv7KqjudDn
|
||||
1pK6EoPnNjBV7GAQwzJ8Wxxr7n6XKKbXidBW0B2Nclz/nAxB5FEgmhz2Cldq13/R
|
||||
4QYNWtNfSqy4HERLTc+YaprAIHFGBG9hmZs6X0guSRAla9ttomI1GAfE3gFFIqY8
|
||||
qPAHMqQVZgjCq17LQBlWVosdeVdwdmZfnjhh2JVLkIJFThJc3CSeD/XfvcQy1P0o
|
||||
IQV2X4mYTjmGCbpsRnaX1vXrDt5pn9hCvTsbzJAZZUAciNRW8dqr8RIzZptuqsJK
|
||||
SjSC6VcZFezeHYrVNHX2eUWhSydu4OXXM1xO3SsbFpAdhGE2SokNYraxxVS5R0HY
|
||||
5AQWU1v+v1UeyUiOcHY/9HjAFpvEaV+nUgzc/gfoBOuNoBb79CM=
|
||||
=kAdE
|
||||
-----END PGP SIGNATURE-----
|
4
phonon-vlc.changes
Normal file
4
phonon-vlc.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 30 12:39:48 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init phonon-vlc
|
BIN
phonon-vlc.keyring
Normal file
BIN
phonon-vlc.keyring
Normal file
Binary file not shown.
126
phonon-vlc.spec
Normal file
126
phonon-vlc.spec
Normal file
@ -0,0 +1,126 @@
|
||||
#
|
||||
# spec file for package phonon-vlc
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define phonon_flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{phonon_flavor}" == ""
|
||||
ExclusiveArch: do_not_build
|
||||
%endif
|
||||
%if "%{phonon_flavor}" == "qt5"
|
||||
%define qt5 1
|
||||
%define pkg_suffix -qt5
|
||||
%define qt5_version 5.15.0
|
||||
%endif
|
||||
%if "%{phonon_flavor}" == "qt6"
|
||||
%define qt6 1
|
||||
%define pkg_suffix -qt6
|
||||
%global kf6_version 5.240.0
|
||||
%define qt6_version 6.5.0
|
||||
%endif
|
||||
%define rname phonon-backend-vlc
|
||||
%bcond_without released
|
||||
Name: phonon-vlc%{?pkg_suffix}
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
Summary: Phonon VLC Backend
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://www.kde.org/
|
||||
Source: https://download.kde.org/stable/phonon/%{rname}/%{version}/%{rname}-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/stable/phonon/%{rname}/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||
Source2: phonon-vlc.keyring
|
||||
%endif
|
||||
BuildRequires: vlc-devel >= 3.0.0
|
||||
%if 0%{?qt5}
|
||||
BuildRequires: extra-cmake-modules >= %{qt5_version}
|
||||
# Temporarily use the package name to avoid unresolvable build
|
||||
# BuildRequires: cmake(Phonon4Qt5) >= 4.11.60
|
||||
BuildRequires: phonon-qt5-devel >= 4.11.60
|
||||
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
|
||||
BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version}
|
||||
BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
|
||||
Provides: phonon4qt5-backend = %{version}
|
||||
Provides: phonon4qt5-backend-vlc = %{version}
|
||||
Obsoletes: phonon4qt5-backend-vlc < %{version}
|
||||
%endif
|
||||
%if 0%{?qt6}
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: cmake(Phonon4Qt6) >= 4.10.60
|
||||
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
Provides: phonon-qt6-backend = %{version}
|
||||
# Catalog name conflicts
|
||||
Conflicts: phonon-vlc-qt5-lang
|
||||
%endif
|
||||
# TODO? vlc-noX needs to be installed before the backend to run vlc-cache-gen
|
||||
# Requires(post): vlc-noX
|
||||
%requires_eq vlc-noX
|
||||
|
||||
%description
|
||||
Phonon is a cross-platform portable Multimedia Support Abstraction,
|
||||
which allows you to play multiple audio or video formats with the same
|
||||
quality on all platforms, no matter which underlying architecture is
|
||||
used.
|
||||
|
||||
This is the VLC backend for Phonon
|
||||
|
||||
%lang_package -n phonon-vlc%{?pkg_suffix}
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?qt5}
|
||||
%cmake_kf5 -d build -- -DPHONON_BUILD_QT5:BOOL=TRUE -DPHONON_BUILD_QT6:BOOL=FALSE
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
%if 0%{?qt6}
|
||||
%cmake_kf6 -DPHONON_BUILD_QT5:BOOL=FALSE -DPHONON_BUILD_QT6:BOOL=TRUE
|
||||
%kf6_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?qt5}
|
||||
%kf5_makeinstall -C build
|
||||
%endif
|
||||
|
||||
%if 0%{?qt6}
|
||||
%kf6_install
|
||||
%endif
|
||||
|
||||
%find_lang phonon_vlc %{name}.lang --with-qt
|
||||
|
||||
%post
|
||||
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
|
||||
|
||||
%files
|
||||
%license COPYING.LIB
|
||||
%doc AUTHORS
|
||||
%if 0%{?qt5}
|
||||
%dir %{_kf5_plugindir}/phonon4qt5_backend
|
||||
%{_kf5_plugindir}/phonon4qt5_backend/phonon_vlc_qt5.so
|
||||
%endif
|
||||
%if 0%{?qt6}
|
||||
%dir %{_kf6_plugindir}/phonon4qt6_backend
|
||||
%{_kf6_plugindir}/phonon4qt6_backend/phonon_vlc_qt6.so
|
||||
%endif
|
||||
|
||||
%files -n phonon-vlc%{?pkg_suffix}-lang -f %{name}.lang
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user