commit
caa5ce4661
@ -0,0 +1,2 @@
|
||||
SOURCES/MPlayer-1.5.tar.xz
|
||||
SOURCES/Blue-1.11.tar.bz2
|
@ -0,0 +1,2 @@
|
||||
9e969f5866066a6b643fed7e62c53a11426d63f0 SOURCES/MPlayer-1.5.tar.xz
|
||||
7e112978e5cf16a023fbbfdb73d06f9709164aff SOURCES/Blue-1.11.tar.bz2
|
@ -0,0 +1,58 @@
|
||||
diff -up mplayer-export-2011-01-10/etc/example.conf.config mplayer-export-2011-01-10/etc/example.conf
|
||||
--- mplayer-export-2011-01-10/etc/example.conf.config 2011-01-05 15:55:45.000000000 +0100
|
||||
+++ mplayer-export-2011-01-10/etc/example.conf 2011-01-10 19:46:06.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# MPlayer configuration file
|
||||
#
|
||||
-# Configuration files are read system-wide from /usr/local/etc/mplayer.conf
|
||||
+# Configuration files are read system-wide from /etc/mplayer/mplayer.conf
|
||||
# and per-user from ~/.mplayer/config, where per-user settings override
|
||||
# system-wide settings, all of which are overrriden by the command line.
|
||||
#
|
||||
@@ -74,7 +74,7 @@
|
||||
##################
|
||||
|
||||
# Specify default audio driver (see -ao help for a list).
|
||||
-#ao=oss
|
||||
+ao = pulse,alsa,
|
||||
|
||||
# Use SDL audio driver with the esd subdriver by default.
|
||||
#ao = sdl:esd
|
||||
@@ -114,7 +114,7 @@
|
||||
#framedrop = yes
|
||||
|
||||
# Specify your preferred skin here (skins are searched for in
|
||||
-# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
|
||||
+# /usr/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
|
||||
#skin = Abyss
|
||||
|
||||
# Resample the font alphamap.
|
||||
@@ -124,6 +124,15 @@
|
||||
# 10 bold black outline
|
||||
#ffactor = 0.75
|
||||
|
||||
+# FriBidi can do "funny" things to some ISO-8859-* subtitles
|
||||
+flip-hebrew = no
|
||||
+
|
||||
+# Use fontconfig for font selection
|
||||
+fontconfig = yes
|
||||
+
|
||||
+# Default font for unstyled subtitles
|
||||
+font = "Sans"
|
||||
+
|
||||
# cache settings
|
||||
#
|
||||
# Use 8MB input cache by default.
|
||||
@@ -141,6 +150,11 @@
|
||||
# DVD: Play English audio tracks if available.
|
||||
#alang = en
|
||||
|
||||
+# A plugged in joystick can interfere with keyboard shortcuts
|
||||
+joystick = no
|
||||
+
|
||||
+# Inhibit (a XScrnSaver compatible) screensaver while playing a movie
|
||||
+stop-xscreensaver = yes
|
||||
|
||||
############
|
||||
# Profiles #
|
@ -0,0 +1,12 @@
|
||||
diff -up mplayer-export-2015-05-05/Makefile.ffmpeg mplayer-export-2015-05-05/Makefile
|
||||
--- mplayer-export-2015-05-05/Makefile.ffmpeg 2015-05-06 07:22:42.638716016 +0200
|
||||
+++ mplayer-export-2015-05-05/Makefile 2015-05-06 07:22:42.642716037 +0200
|
||||
@@ -754,7 +754,7 @@ mencoder$(EXESUF) mplayer$(EXESUF):
|
||||
codec-cfg-test$(EXESUF): HOSTCFLAGS := $(HOSTCFLAGS) -DTESTING
|
||||
codec-cfg$(EXESUF) codecs2html$(EXESUF): HOSTCFLAGS := $(HOSTCFLAGS) -DCODECS2HTML
|
||||
codec-cfg$(EXESUF) codec-cfg-test$(EXESUF) codecs2html$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
|
||||
- $(HOST_CC) $(HOSTCFLAGS) -o $@ $<
|
||||
+ $(HOST_CC) $(HOSTCFLAGS) $(CFLAGS) -o $@ $<
|
||||
|
||||
codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
|
||||
./$^ > $@
|
@ -0,0 +1,33 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -880,10 +880,10 @@ install-mencoder-man: $(foreach lang,$(M
|
||||
install-mplayer-man: $(foreach lang,$(MAN_LANGS),install-mplayer-man-$(lang))
|
||||
|
||||
install-gui-man-en: install-mplayer-man-en
|
||||
- cd $(MANDIR)/man1/ && ln -sf mplayer.1 gmplayer.1
|
||||
+ echo ".so mplayer.1" > $(MANDIR)/man1/gmplayer.1
|
||||
|
||||
install-mencoder-man-en: install-mplayer-man-en
|
||||
- cd $(MANDIR)/man1 && ln -sf mplayer.1 mencoder.1
|
||||
+ echo ".so mplayer.1" > $(MANDIR)/man1/mencoder.1
|
||||
|
||||
install-mplayer-man-en:
|
||||
$(INSTALL) -d $(MANDIR)/man1
|
||||
@@ -897,7 +897,7 @@ endef
|
||||
|
||||
define GUI_MAN_RULE
|
||||
install-gui-man-$(lang): install-mplayer-man-$(lang)
|
||||
- cd $(MANDIR)/$(lang)/man1/ && ln -sf mplayer.1 gmplayer.1
|
||||
+ echo ".so mplayer.1" > $(MANDIR)/$(lang)/man1/gmplayer.1
|
||||
endef
|
||||
|
||||
define GUI_MSG_RULE
|
||||
@@ -908,7 +908,7 @@ endef
|
||||
|
||||
define MENCODER_MAN_RULE
|
||||
install-mencoder-man-$(lang): install-mplayer-man-$(lang)
|
||||
- cd $(MANDIR)/$(lang)/man1 && ln -sf mplayer.1 mencoder.1
|
||||
+ echo ".so mplayer.1" > $(MANDIR)/$(lang)/man1/mencoder.1
|
||||
endef
|
||||
|
||||
define MPLAYER_MAN_RULE
|
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
tmp=$(mktemp -d)
|
||||
|
||||
trap cleanup EXIT
|
||||
cleanup() {
|
||||
set +e
|
||||
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
|
||||
}
|
||||
|
||||
unset CDPATH
|
||||
pwd=$(pwd)
|
||||
svn=$(date +%Y-%m-%d)
|
||||
#svn=2019-04-16
|
||||
dirname=mplayer-export-$svn
|
||||
mplayer_rev={$svn}
|
||||
#mplayer_rev=HEAD
|
||||
|
||||
cd "$tmp"
|
||||
svn checkout -r ${mplayer_rev} svn://svn.mplayerhq.hu/mplayer/trunk $dirname
|
||||
cd $dirname
|
||||
|
||||
svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
|
||||
sed -i -e 's/\(SVN-r[0-9]* \)/\1rpmfusion /' -e "s/UNKNOWN/SVN-r$svn_revision/" version.sh
|
||||
find . -type d -name .svn -print0 | xargs -0r rm -rf
|
||||
cd ..
|
||||
tar Jcf "$pwd"/$dirname.tar.xz $dirname
|
||||
cd - >/dev/null
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue