|
@@ -3,13 +3,13 @@
|
|
|
%global with_libvpx 1
|
|
|
|
|
|
# define with_ffmpeg 1
|
|
|
-%global ffmpegver 0.11.5
|
|
|
+%global ffmpegver 2.8.5
|
|
|
|
|
|
%global pkgname mplayer
|
|
|
%global name self-build-%{pkgname}
|
|
|
-%global version 1.1.1
|
|
|
+%global version 1.2
|
|
|
#% global svndate 20120525
|
|
|
-%global release 4%{?svndate:.%svndate}%{?_dist_release}
|
|
|
+%global release 1%{?svndate:.%svndate}%{?_dist_release}
|
|
|
|
|
|
%global source0path MPlayer/releases/MPlayer-%{version}.tar.xz
|
|
|
%global source1url http://ffmpeg.org/releases/ffmpeg-%{ffmpegver}.tar.bz2
|
|
@@ -22,14 +22,14 @@ Release: %{release}
|
|
|
Source0: %{pkgname}-vl.spec
|
|
|
Source10: mplayer-snapshot-vine.sh
|
|
|
|
|
|
-Source11: http://www.mplayerhq.hu/MPlayer/skins/Blue-1.10.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
|
|
|
+Source11: http://www.mplayerhq.hu/MPlayer/skins/Blue-1.11.tar.bz2
|
|
|
+Source12: http://www.mplayerhq.hu/MPlayer/skins/Blue-small-1.8.tar.bz2
|
|
|
+Source13: http://www.mplayerhq.hu/MPlayer/skins/standard-1.11.tar.bz2
|
|
|
Source14: http://www.mplayerhq.hu/MPlayer/skins/OSX-Mod-1.1.tar.bz2
|
|
|
|
|
|
Source102: %{pkgname}-1.1.1-config-vine.patch
|
|
|
Source108: %{pkgname}-1.1.1-manlinks.patch
|
|
|
-Source114: %{pkgname}-1.1.1-nodvdcss.patch
|
|
|
+# Source114: %{pkgname}-1.1.1-nodvdcss.patch
|
|
|
Source118: %{pkgname}-1.1.1-ffmpeg.patch
|
|
|
|
|
|
License: GPLv2+
|
|
@@ -200,7 +200,7 @@ samba-libsmbclient-devel: SMB ファイルシステムのサポート
|
|
|
%{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
|
|
|
${RPM_BUILD_ROOT}/%{_datadir}/%{name}
|
|
|
%{__install} -m 644 \
|
|
|
- %{SOURCE102} %{SOURCE108} %{SOURCE114} %{SOURCE118} \
|
|
|
+ %{SOURCE102} %{SOURCE108} %{SOURCE118} \
|
|
|
${RPM_BUILD_ROOT}/%{_datadir}/%{name}
|
|
|
|
|
|
|
|
@@ -217,7 +217,7 @@ exit 0
|
|
|
|
|
|
## svn checkout
|
|
|
# set locale
|
|
|
-case $LANG in
|
|
|
+case ${LANG} in
|
|
|
ja*)LOCALE=ja ;;
|
|
|
*) LOCALE=C ;;
|
|
|
esac
|
|
@@ -232,17 +232,17 @@ GetSrc_ja(){
|
|
|
echo "Subversion を用いてソースファイルをダウンロードしています..."
|
|
|
}
|
|
|
|
|
|
-GetSrc_$LOCALE
|
|
|
+GetSrc_${LOCALE}
|
|
|
|
|
|
# svn checkout
|
|
|
. /etc/self-build.conf
|
|
|
-(cd $TEMP_DIR
|
|
|
-su $BUILD_USER -c "/bin/bash %{_datadir}/%{name}/%{pkgname}-snapshot-vine.sh >/dev/null 2>&1 || exit 1"
|
|
|
+(cd ${TEMP_DIR}
|
|
|
+su ${BUILD_USER} -c "/bin/bash %{_datadir}/%{name}/%{pkgname}-snapshot-vine.sh >/dev/null 2>&1 || exit 1"
|
|
|
%__mv %{pkgname}-export-%{svndate}.tar.xz %{_datadir}/%{name}/ || exit 1
|
|
|
)
|
|
|
|
|
|
/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec \
|
|
|
- http://www{,1,2,3,4,5,7,8,9}.mplayerhq.hu/%{source1path} 1368000
|
|
|
+ http://www{,1,2,3,4,5,7,8,9}.mplayerhq.hu/%{source1path} 2261000
|
|
|
|
|
|
|
|
|
%files
|
|
@@ -250,6 +250,9 @@ su $BUILD_USER -c "/bin/bash %{_datadir}/%{name}/%{pkgname}-snapshot-vine.sh >/d
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.2-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Sat Jul 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.1-4
|
|
|
- rebuilt
|
|
|
|