|
@@ -4,8 +4,8 @@
|
|
Name: phonon-backend-gstreamer
|
|
Name: phonon-backend-gstreamer
|
|
Summary: Gstreamer phonon backend
|
|
Summary: Gstreamer phonon backend
|
|
Summary(ja): Phonon の gstreamer バックエンド
|
|
Summary(ja): Phonon の gstreamer バックエンド
|
|
-Version: 4.8.2
|
|
+Version: 4.9.0
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -19,13 +19,13 @@ Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-gstreamer/%{vers
|
|
## Mandriva/upstreamable patches
|
|
## Mandriva/upstreamable patches
|
|
|
|
|
|
## Ubuntu/upstreamable patches
|
|
## Ubuntu/upstreamable patches
|
|
-Patch60: phonon-4.4.3-flac_mimetype.patch
|
|
|
|
|
|
|
|
## Upstream patches
|
|
## Upstream patches
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: automoc4
|
|
BuildRequires: automoc4
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake
|
|
|
|
+BuildRequires: extra-cmake-modules
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gstreamer1-devel
|
|
BuildRequires: gstreamer1-devel
|
|
BuildRequires: gstreamer1-plugins-base-devel
|
|
BuildRequires: gstreamer1-plugins-base-devel
|
|
@@ -33,12 +33,15 @@ BuildRequires: libxml2-devel
|
|
BuildRequires: mesa-libGL-devel
|
|
BuildRequires: mesa-libGL-devel
|
|
BuildRequires: phonon-devel >= %{phonon_version}
|
|
BuildRequires: phonon-devel >= %{phonon_version}
|
|
BuildRequires: qt4-devel >= 4.6.0
|
|
BuildRequires: qt4-devel >= 4.6.0
|
|
|
|
+BuildRequires: pkgconfig(phonon4qt5) >= 4.7.80
|
|
|
|
+BuildRequires: pkgconfig(QtOpenGL)
|
|
|
|
+BuildRequires: pkgconfig(Qt5OpenGL)
|
|
|
|
+BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
|
|
# vine patch
|
|
# vine patch
|
|
|
|
|
|
-Patch1000: phonon-backend-gstreamer-4.8.2-cmake.patch
|
|
|
|
|
|
|
|
-Provides: phonon-backend = %{phonon_version}
|
|
+Provides: phonon-backend%{?_isa} = %{phonon_version}
|
|
|
|
|
|
Obsoletes: phonon-backend-gst < 4.2.0-4
|
|
Obsoletes: phonon-backend-gst < 4.2.0-4
|
|
Provides: phonon-backend-gst = %{version}-%{release}
|
|
Provides: phonon-backend-gst = %{version}-%{release}
|
|
@@ -50,7 +53,7 @@ Requires: gstreamer1-plugins-good
|
|
# not *strictly* required, but strongly recommended by upstream when built
|
|
# not *strictly* required, but strongly recommended by upstream when built
|
|
# with USE_INSTALL_PLUGIN
|
|
# with USE_INSTALL_PLUGIN
|
|
#Requires: PackageKit-gstreamer-plugin
|
|
#Requires: PackageKit-gstreamer-plugin
|
|
-Requires: phonon => %{phonon_version}
|
|
+Requires: phonon%{?_isa} >= %{phonon_version}
|
|
Requires: qt4 >= %{_qt4_version}
|
|
Requires: qt4 >= %{_qt4_version}
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -59,29 +62,48 @@ Requires: qt4 >= %{_qt4_version}
|
|
%description -l ja
|
|
%description -l ja
|
|
Phonon の gstreamer バックエンドです.
|
|
Phonon の gstreamer バックエンドです.
|
|
|
|
|
|
-%prep
|
|
|
|
-%setup -q -n phonon-backend-gstreamer-%{version}
|
|
|
|
|
|
|
|
-#patch52 -p1 -b .gstreamer-fix-seekable-query-failed
|
|
+%package -n phonon-qt5-backend-gstreamer
|
|
-%patch60 -p1 -b .flac_mimetype
|
|
+Summary: Gstreamer phonon-qt5 backend
|
|
|
|
+Provides: phonon-qt5-backend%{?_isa} = %{phonon_version}
|
|
|
|
+%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
|
+Requires: gstreamer1-plugins-good
|
|
|
|
+%description -n phonon-qt5-backend-gstreamer
|
|
|
|
+%{summary}.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+%autosetup -n phonon-gstreamer-%{version} -p1
|
|
|
|
|
|
-%patch1000 -p1 -b .gstreamer
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
mkdir -p %{_target_platform}
|
|
mkdir -p %{_target_platform}
|
|
pushd %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%cmake \
|
|
%cmake \
|
|
- -DUSE_INSTALL_PLUGIN:BOOL=ON \
|
|
+ -DCMAKE_BUILD_TYPE:STRING="Release" \
|
|
- ..
|
|
+ -DUSE_INSTALL_PLUGIN:BOOL=ON \
|
|
|
|
+ ..
|
|
popd
|
|
popd
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
+mkdir -p %{_target_platform}-Qt5
|
|
|
|
+pushd %{_target_platform}-Qt5
|
|
|
|
+%cmake \
|
|
|
|
+ -DCMAKE_BUILD_TYPE:STRING="Release" \
|
|
|
|
+ -DUSE_INSTALL_PLUGIN:BOOL=ON \
|
|
|
|
+ -DPHONON_BUILD_PHONON4QT5:BOOL=ON \
|
|
|
|
+ ..
|
|
|
|
+popd
|
|
|
|
+
|
|
|
|
+make %{?_smp_mflags} -C %{_target_platform}-Qt5
|
|
|
|
+
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
|
|
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}-Qt5
|
|
|
|
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -103,13 +125,20 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc COPYING.LIB
|
|
+%license COPYING.LIB
|
|
%{_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
|
|
%{_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
|
|
%{_datadir}/kde4/services/phononbackends/gstreamer.desktop
|
|
%{_datadir}/kde4/services/phononbackends/gstreamer.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.*
|
|
%{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.*
|
|
|
|
|
|
|
|
+%files -n phonon-qt5-backend-gstreamer
|
|
|
|
+%license COPYING.LIB
|
|
|
|
+%{_qt5_plugindir}/phonon4qt5_backend/phonon_gstreamer.so
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jul 12 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.2-3
|
|
* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.2-3
|
|
- added Patch1000.
|
|
- added Patch1000.
|
|
|
|
|