SPECS: mplayer.spec - use system vidix, builds
glen
glen at pld-linux.org
Mon Dec 11 23:57:55 CET 2006
Author: glen Date: Mon Dec 11 22:57:55 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use system vidix, builds
---- Files affected:
SPECS:
mplayer.spec (1.359 -> 1.360)
---- Diffs:
================================================================
Index: SPECS/mplayer.spec
diff -u SPECS/mplayer.spec:1.359 SPECS/mplayer.spec:1.360
--- SPECS/mplayer.spec:1.359 Sat Dec 9 18:56:37 2006
+++ SPECS/mplayer.spec Mon Dec 11 23:57:49 2006
@@ -2,7 +2,6 @@
# TODO:
# - nut support (http://www.nut.hu/ - currently down, but see svn.mplayerhq.hu/nut/)
# - update for lzo 2
-# - use external vidix?
# - try to use external ffmpeg, lrmi and few other libs:
# http://www.cyberlink.com/english/products/powercinema/pcm-linux/license/mplayer-10_copyright.htm
#
@@ -45,6 +44,7 @@
%bcond_without smb # disable Samba (SMB) input support
%bcond_without theora # without theora support
%bcond_without win32 # without win32 codecs support
+%bcond_without vidix # disable vidix
%bcond_without vorbis # without Ogg-Vorbis audio support
%bcond_without xvid # disable XviD codec
%bcond_without mencoder # disable mencoder (a/v encoder) compilation
@@ -57,6 +57,7 @@
%ifnarch %{ix86}
%undefine with_win32
%undefine with_quicktime
+%undefine with_vidix
%endif
%ifarch %{x8664}
@@ -73,7 +74,7 @@
%define snap %{nil}
%define _rc rc1
-%define _rel 1.3
+%define _rel 1.4
Summary: MPlayer - THE Movie Player for UN*X
Summary(de): MPlayer ist ein unter der freien GPL-Lizenz stehender Media-Player
Summary(es): Otro reproductor de películas
@@ -141,6 +142,7 @@
%{?with_faad:BuildRequires: faad2-devel >= 2.0}
BuildRequires: freetype-devel
BuildRequires: fribidi-devel
+%{?with_vidix:BuildRequires: vidix-devel}
%ifarch ppc
%{?with_altivec:BuildRequires: gcc >= 5:3.3.2-3}
%endif
@@ -148,6 +150,7 @@
%if %{with gui}
BuildRequires: gtk+2-devel
%endif
+%{?with_gnomess:BuildRequires: dbus-glib-devel}
%{?with_jack:BuildRequires: jack-audio-connection-kit-devel}
BuildRequires: lame-libs-devel
%{?with_caca:BuildRequires: libcaca-devel}
@@ -162,7 +165,6 @@
%{?with_smb:BuildRequires: libsmbclient-devel}
%{?with_dshow:BuildRequires: libstdc++-devel}
%{?with_theora:BuildRequires: libtheora-devel}
-%{?with_gnomess:BuildRequires: dbus-glib-devel}
# tremor is used by default, internal as we don't have system one
#%{?with_vorbis:BuildRequires: libvorbis-devel}
%{?with_x264:BuildRequires: libx264-devel >= 0.1.2-1.20060828_2245.1}
@@ -279,6 +281,7 @@
Summary: Configuration files and documentation for MPlayer
Summary(pl): Pliki konfiguracyjne i dokumentacja dla MPlayera
Group: Applications/Multimedia
+Obsoletes: mplayer-vidix
%description common
Configuration files, man page and HTML documentation for MPlayer.
@@ -299,34 +302,6 @@
%description -n mencoder -l pl
MEncoder to koder filmów dla Linuksa będący częścią pakietu MPlayer.
-%package vidix
-Summary: VIDeo Interface for *nIX
-Group: Applications/Multimedia
-Requires: mplayer-common = %{epoch}:%{version}-%{release}
-
-%description vidix
-VIDIX is the abbreviation for VIDeo Interface for *niX. VIDIX was
-designed and introduced as an interface for fast user-space drivers
-providing DGA everywhere where it's possible (unlike X11). I hope that
-these drivers will be as portable as X11 (not only on *nix).
-- What is it: It's a portable successor of mga_vid technology, but
- it's located in user-space.
-- Unlike X11 it provides DGA everywhere it's possible
-- Unlike v4l it provides interface for video playback
-- Unlike linux's drivers it uses the math library
-
-This package contains drivers for:
-- 3DLabs GLINT R3/Permedia3
-- ATI Mach64
-- ATI Radeon
-- ATI Rage128
-- Matrox Gxxx series (using BES and CRTC2)
-- nVidia chips (experimental)
-- SiS chips (experimental)
-- S3 Savage chips (experimental)
-- Trident Cyberblade i1
-- VIA CLE266
-
%prep
%setup -q -n %{sname}-%{version}%{_rc} -a3 -a6 -a9
cp -f etc/codecs.conf etc/codecs.win32.conf
@@ -378,7 +353,6 @@
%{?debug:--enable-debug=3} \
--prefix=%{_prefix} \
--confdir=%{_sysconfdir}/mplayer \
- --with-x11libdir=%{_libdir} \
--with-extraincdir=%{_includedir}/xvid \
--enable-menu \
%ifnarch %{ix86} %{x8664}
@@ -435,6 +409,8 @@
%{!?with_x264:--disable-x264} \
%{?with_xmms:--enable-xmms --with-xmmsplugindir=%{_libdir}/xmms/Input --with-xmmslibdir=%{_libdir}} \
%{!?with_xvid:--disable-xvid} \
+%{!?with_vidix:--disable-vidix-external --disable-vidix-internal} \
+%{?with_vidix:--disable-vidix-internal} \
%{!?with_mencoder:--disable-mencoder} \
--enable-dga \
--enable-fbdev \
@@ -476,7 +452,7 @@
install -d \
$RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_sysconfdir}/mplayer} \
$RPM_BUILD_ROOT%{_mandir}/{cs,de,es,fr,hu,it,pl,sv,zh_CN,}/man1 \
- $RPM_BUILD_ROOT{%{_datadir}/mplayer/Skin,%{_libdir}/mplayer/vidix} \
+ $RPM_BUILD_ROOT%{_datadir}/mplayer/Skin \
$RPM_BUILD_ROOT%{_desktopdir}
# default config files
@@ -500,12 +476,6 @@
cp -r font-* $RPM_BUILD_ROOT%{_datadir}/mplayer
ln -sf font-arial-iso-8859-2/font-arial-24-iso-8859-2 $RPM_BUILD_ROOT%{_datadir}/mplayer/font
-# libraries
-%ifarch %{ix86}
-install libdha/libdha.so.1.0 $RPM_BUILD_ROOT%{_libdir}
-install vidix/drivers/*.so $RPM_BUILD_ROOT%{_libdir}/mplayer/vidix
-%endif
-
%if %{with gui}
ln -s Blue $RPM_BUILD_ROOT%{_datadir}/%{name}/Skin/default
%endif
@@ -540,9 +510,6 @@
umask 022
[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
-%post vidix -p /sbin/ldconfig
-%postun vidix -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/mplayer*
@@ -596,35 +563,19 @@
%lang(sv) %{_mandir}/sv/man1/*
%lang(zh_CN) %{_mandir}/zh_CN/man1/*
%{_desktopdir}/mplayer.desktop
-%{_pixmapsdir}/*
+%{_pixmapsdir}/mplayer.png
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/font*
-%ifarch %{ix86}
-%files vidix
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdha.so.*.*
-%dir %{_libdir}/mplayer
-%dir %{_libdir}/mplayer/vidix
-%attr(755,root,root) %{_libdir}/mplayer/vidix/cyberblade_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/mach64_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/mga_crtc2_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/mga_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/nvidia_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/pm3_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/radeon_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/rage128_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/savage_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/sis_vid.so
-%attr(755,root,root) %{_libdir}/mplayer/vidix/unichrome_vid.so
-%endif
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.360 2006/12/11 22:57:49 glen
+- use system vidix, builds
+
Revision 1.359 2006/12/09 17:56:37 qboosh
- wrrr
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mplayer.spec?r1=1.359&r2=1.360&f=u
More information about the pld-cvs-commit
mailing list