- Explicitely use -fPIC compilation even for dmo plugin

- Silence post scriptlet
el8
Nicolas Chauvet 14 years ago
parent 5dd942c795
commit 1a59c074fc

@ -21,7 +21,7 @@
Summary: The cross-platform open-source multimedia framework, player and server Summary: The cross-platform open-source multimedia framework, player and server
Name: vlc Name: vlc
Version: 1.1.4 Version: 1.1.4
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://www.videolan.org URL: http://www.videolan.org
@ -228,6 +228,7 @@ JACK audio plugin for the VLC media player.
%endif %endif
%patch0 -p1 -b .noerror %patch0 -p1 -b .noerror
%patch1 -p1 -b .gtk23 %patch1 -p1 -b .gtk23
sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in
rm modules/access/videodev2.h rm modules/access/videodev2.h
ln -sf %{_includedir}/linux/videodev2.h modules/access/videodev2.h ln -sf %{_includedir}/linux/videodev2.h modules/access/videodev2.h
@ -252,6 +253,7 @@ popd
%configure \ %configure \
--disable-dependency-tracking \ --disable-dependency-tracking \
--with-pic \
--disable-rpath \ --disable-rpath \
--with-binary-version=%{version} \ --with-binary-version=%{version} \
--with-tuning=no \ --with-tuning=no \
@ -366,12 +368,12 @@ touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi fi
%{_bindir}/update-desktop-database %{_datadir}/applications || : %{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null || :
%post core -p /sbin/ldconfig %post core -p /sbin/ldconfig
%postun %postun
%{_bindir}/update-desktop-database %{_datadir}/applications %{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null
touch --no-create %{_datadir}/icons/hicolor touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
@ -380,26 +382,26 @@ fi || :
%postun core -p /sbin/ldconfig %postun core -p /sbin/ldconfig
%posttrans core %posttrans core
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc || : %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null || :
%post nox %post nox
if [ $1 == 1 ] ; then if [ $1 == 1 ] ; then
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc || : %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null || :
fi fi
%post plugin-jack %post plugin-jack
if [ $1 == 1 ] ; then if [ $1 == 1 ] ; then
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc || : %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null || :
fi fi
%postun nox %postun nox
if [ $1 == 0 ] ; then if [ $1 == 0 ] ; then
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc || : %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null || :
fi fi
%postun plugin-jack %postun plugin-jack
if [ $1 == 0 ] ; then if [ $1 == 0 ] ; then
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc || : %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null || :
fi fi
%preun core %preun core
@ -519,6 +521,10 @@ fi || :
%changelog %changelog
* Sun Oct 17 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.4-3
- Explicitely use -fPIC compilation even for dmo plugin
- Silence post scriptlet
* Sun Sep 05 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.4-2 * Sun Sep 05 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.4-2
- Adds support for vlc-cache-gen - Adds support for vlc-cache-gen
- Drop support for vlc-handlers.schemas - Drop support for vlc-handlers.schemas

Loading…
Cancel
Save