|
@@ -2,45 +2,48 @@
|
|
%global with_vaapi 1
|
|
%global with_vaapi 1
|
|
%global with_libvpx 1
|
|
%global with_libvpx 1
|
|
|
|
|
|
-#% define with_ffmpeg 1
|
|
|
|
|
|
+#% global with_ffmpeg 1
|
|
|
|
+%global ffmpegver 0.11.1
|
|
|
|
|
|
-%global name mplayer
|
|
|
|
-%global version 1.0
|
|
|
|
-#% define extver rc4
|
|
|
|
-%global svndate 20120525
|
|
|
|
-%global release 47%{?extver:.%extver}%{?svndate:.%svndate}%{?_dist_release}
|
|
|
|
-
|
|
|
|
-#% define dvbappver 0.98
|
|
|
|
|
|
+#% global svndate 20120525
|
|
|
|
+#% global dvbappver 0.98
|
|
|
|
|
|
%define codecdir %{_libdir}/codecs
|
|
%define codecdir %{_libdir}/codecs
|
|
|
|
|
|
-%global ttfontdir /usr/share/fonts
|
|
|
|
|
|
+%global ttfontdir %{_datadir}/fonts
|
|
%global ttfontlist TrueType-vlgothic/VL-PGothic-Regular \\\
|
|
%global ttfontlist TrueType-vlgothic/VL-PGothic-Regular \\\
|
|
TrueType-sazanami-gothic/sazanami-gothic
|
|
TrueType-sazanami-gothic/sazanami-gothic
|
|
|
|
|
|
Summary: The Movie Player
|
|
Summary: The Movie Player
|
|
Summary(ja): 動画プレイヤー
|
|
Summary(ja): 動画プレイヤー
|
|
-Name: %{name}
|
|
|
|
-Version: %{version}
|
|
|
|
-Release: %{release}
|
|
|
|
-#Source0: http://www.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}%{extver}.tar.bz2
|
|
|
|
-Source0: mplayer-export-%{svndate}.tar.xz
|
|
|
|
-Source1: http://www.mplayerhq.hu/MPlayer/skins/Blue-1.8.tar.bz2
|
|
|
|
|
|
+Name: mplayer
|
|
|
|
+Version: 1.1
|
|
|
|
+Release: 1%{?svndate:.%svndate}%{?_dist_release}
|
|
|
|
+Source0: http://www.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}.tar.xz
|
|
|
|
+#Source0: mplayer-export-%{svndate}.tar.xz
|
|
|
|
+Source1: http://ffmpeg.org/releases/ffmpeg-%{ffmpegver}.tar.bz2
|
|
|
|
+
|
|
Source10: mplayer-snapshot-vine.sh
|
|
Source10: mplayer-snapshot-vine.sh
|
|
|
|
|
|
|
|
+Source11: http://www.mplayerhq.hu/MPlayer/skins/Blue-1.8.tar.bz2
|
|
|
|
+Source12: http://www.mplayerhq.hu/MPlayer/skins/Blue-small-1.5.tar.bz2
|
|
|
|
+Source13: http://www.mplayerhq.hu/MPlayer/skins/standard-1.9.tar.bz2
|
|
|
|
+Source14: http://www.mplayerhq.hu/MPlayer/skins/OSX-Mod-1.1.tar.bz2
|
|
|
|
+
|
|
# ## DVB app.
|
|
# ## DVB app.
|
|
# ## 0.9.8
|
|
# ## 0.9.8
|
|
# Source100: http://2sen.dip.jp/cgi-bin/dtvup/source/up0799.zip
|
|
# Source100: http://2sen.dip.jp/cgi-bin/dtvup/source/up0799.zip
|
|
|
|
|
|
# set defaults for Vine Linux
|
|
# set defaults for Vine Linux
|
|
#Patch2: %{name}-config.patch
|
|
#Patch2: %{name}-config.patch
|
|
-Patch2: %{name}-config-20120525-vine.patch
|
|
|
|
|
|
+#Patch2: %{name}-config-20120525-vine.patch
|
|
|
|
+Patch2: %{name}-1.1-config-vine.patch
|
|
# use roff include statements instead of symlinks
|
|
# use roff include statements instead of symlinks
|
|
-Patch8: %{name}-manlinks.patch
|
|
|
|
|
|
+Patch8: %{name}-1.1-manlinks.patch
|
|
# erase any trace of libdvdcss
|
|
# erase any trace of libdvdcss
|
|
-Patch14: %{name}-nodvdcss.patch
|
|
|
|
|
|
+Patch14: %{name}-1.1-nodvdcss.patch
|
|
# use system FFmpeg libraries
|
|
# use system FFmpeg libraries
|
|
-Patch18: %{name}-ffmpeg.patch
|
|
|
|
|
|
+Patch18: %{name}-1.1-ffmpeg.patch
|
|
|
|
|
|
## Vine
|
|
## Vine
|
|
|
|
|
|
@@ -148,8 +151,9 @@ MPlayer は何もしなくても DVD や MPEG-1/2/4 のように一般的なフ
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-#%setup -q -n MPlayer-%{version}%{extver}
|
|
|
|
-%setup -q -n mplayer-export-%{svndate}
|
|
|
|
|
|
+#% setup -q -n mplayer-export-%{svndate}
|
|
|
|
+%setup -q -n MPlayer-%{version}
|
|
|
|
+%__rm -rf ffmpeg && %__tar xf %{SOURCE1} && mv ffmpeg-%{ffmpegver} ffmpeg || exit 1
|
|
|
|
|
|
%patch2 -p1 -b .vine
|
|
%patch2 -p1 -b .vine
|
|
%patch8 -p1 -b .manlinks
|
|
%patch8 -p1 -b .manlinks
|
|
@@ -228,11 +232,13 @@ MPlayer は何もしなくても DVD や MPEG-1/2/4 のように一般的なフ
|
|
# $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$iconsize/apps/mplayer.png
|
|
# $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$iconsize/apps/mplayer.png
|
|
# done
|
|
# done
|
|
|
|
|
|
-# install default skin
|
|
|
|
|
|
+# install skins and set the default skin
|
|
%{__mkdir} -p ${RPM_BUILD_ROOT}%{_datadir}/mplayer/skins
|
|
%{__mkdir} -p ${RPM_BUILD_ROOT}%{_datadir}/mplayer/skins
|
|
pushd ${RPM_BUILD_ROOT}%{_datadir}/mplayer/skins
|
|
pushd ${RPM_BUILD_ROOT}%{_datadir}/mplayer/skins
|
|
-%{__tar} xjf %{SOURCE1}
|
|
|
|
-%{__ln_s} Blue default
|
|
|
|
|
|
+ for x in %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14}; do
|
|
|
|
+ %__tar xf ${x} || exit 1
|
|
|
|
+ done
|
|
|
|
+ %__ln_s Blue default || exit 1
|
|
popd
|
|
popd
|
|
|
|
|
|
# make sybolic link to ttf font for subtitle
|
|
# make sybolic link to ttf font for subtitle
|
|
@@ -288,8 +294,11 @@ fi || :
|
|
%{_bindir}/mplayer
|
|
%{_bindir}/mplayer
|
|
%{_bindir}/gmplayer
|
|
%{_bindir}/gmplayer
|
|
%{_bindir}/mencoder
|
|
%{_bindir}/mencoder
|
|
-%{_datadir}/mplayer/skins/Blue
|
|
|
|
%{_datadir}/mplayer/skins/default
|
|
%{_datadir}/mplayer/skins/default
|
|
|
|
+%{_datadir}/mplayer/skins/Blue
|
|
|
|
+%{_datadir}/mplayer/skins/Blue-small
|
|
|
|
+%{_datadir}/mplayer/skins/OSX-Mod
|
|
|
|
+%{_datadir}/mplayer/skins/standard
|
|
%{_datadir}/mplayer/subfont.ttf
|
|
%{_datadir}/mplayer/subfont.ttf
|
|
%{_datadir}/applications/mplayer.desktop
|
|
%{_datadir}/applications/mplayer.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/mplayer.png
|
|
%{_datadir}/icons/hicolor/*/apps/mplayer.png
|
|
@@ -311,6 +320,11 @@ fi || :
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 13 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.1-1
|
|
|
|
+- updated to 1.1
|
|
|
|
+ - built with ffmpeg-0.11.1
|
|
|
|
+- added some skins
|
|
|
|
+
|
|
* Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-47.20120525
|
|
* Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-47.20120525
|
|
- updated snapshot 20120525 with ffmpeg 0.11
|
|
- updated snapshot 20120525 with ffmpeg 0.11
|
|
|
|
|