SHA256
1
0
forked from pool/phonon-vlc

- Make sure installing phonon-vlc-qt6 also recommends installing

the translations package

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/phonon-vlc?expand=0&rev=9
This commit is contained in:
Christophe Marin 2024-03-17 13:44:14 +00:00 committed by Git OBS Bridge
parent 44a6f6923c
commit a5b851eee6
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Mar 17 13:43:41 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Make sure installing phonon-vlc-qt6 also recommends installing
the translations package
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 15 11:48:05 UTC 2024 - Christophe Marin <christophe@krop.fr> Fri Mar 15 11:48:05 UTC 2024 - Christophe Marin <christophe@krop.fr>

View File

@ -66,9 +66,9 @@ BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
Provides: phonon-qt6-backend = %{version} Provides: phonon-qt6-backend = %{version}
# AFAIK locale(pkg:xx) might not work with provides, do it explicitly
Recommends: phonon-vlc-qt5-lang
%endif %endif
# AFAIK locale(pkg:xx) might not work with provides, do it explicitly
Recommends: phonon-vlc-lang
# The plugins are split between non-X11 (vlc-noX) and the others, the vlc backend needs both (boo#1219416) # The plugins are split between non-X11 (vlc-noX) and the others, the vlc backend needs both (boo#1219416)
%requires_eq vlc %requires_eq vlc
%requires_eq vlc-noX %requires_eq vlc-noX
@ -84,11 +84,12 @@ This is the VLC backend for Phonon
# It's phonon_vlc_qt.qm for both. To avoid conflicts, use the Qt 5 translations # It's phonon_vlc_qt.qm for both. To avoid conflicts, use the Qt 5 translations
# for both. # for both.
%package -n phonon-vlc-lang %package -n phonon-vlc-lang
Summary: Translations for package %{name} Summary: Translations for phonon-vlc plugin
Requires: (phonon-vlc-qt5 or phonon-vlc-qt6) Requires: (phonon-vlc-qt5 or phonon-vlc-qt6)
Provides: phonon4qt5-backend-vlc-lang = %{version} Provides: phonon4qt5-backend-vlc-lang = %{version}
Obsoletes: phonon4qt5-backend-vlc-lang < %{version} Obsoletes: phonon4qt5-backend-vlc-lang < %{version}
Provides: %{name}-lang-all = %{version} Provides: phonon-vlc-qt5-lang-all = %{version}
Provides: phonon-vlc-qt6-lang-all = %{version}
BuildArch: noarch BuildArch: noarch
%description -n phonon-vlc-lang %description -n phonon-vlc-lang