diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/mplayer-sh |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/mplayer-sh')
-rw-r--r-- | media-video/mplayer-sh/Manifest | 9 | ||||
-rw-r--r-- | media-video/mplayer-sh/files/mplayer-sh-0.8.6-parameter-aid.diff | 84 | ||||
-rw-r--r-- | media-video/mplayer-sh/files/mplayer-sh-0.8.7-parameter-aid.diff | 84 | ||||
-rw-r--r-- | media-video/mplayer-sh/metadata.xml | 11 | ||||
-rw-r--r-- | media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild | 42 | ||||
-rw-r--r-- | media-video/mplayer-sh/mplayer-sh-0.8.7.ebuild | 42 |
6 files changed, 272 insertions, 0 deletions
diff --git a/media-video/mplayer-sh/Manifest b/media-video/mplayer-sh/Manifest new file mode 100644 index 000000000000..a82f99174579 --- /dev/null +++ b/media-video/mplayer-sh/Manifest @@ -0,0 +1,9 @@ +AUX mplayer-sh-0.8.6-parameter-aid.diff 3541 SHA256 b63f1c0220b2a2fce8ad5a81767a756bfa91aca769c3a943058cbbf023f56dc5 SHA512 5e53a456eefd98c43c0e3adfd2ce2c3e688257d18b3cf76f74d48d94913450098427c308276f6b5831c93c93a5c4f6f0f36636777a99b9497556425ed8b09bd3 WHIRLPOOL 0b294378434ddeb14688abc026af9906cf218baf14f99b6478d53dd68cc332d6e88208104edfde09692264fd3a58f8b5d25e35ef30219beeac9f76770192123f +AUX mplayer-sh-0.8.7-parameter-aid.diff 3570 SHA256 5d0079cb73baee2108ee1cb587988a09e6108b92361587b045a718215914858f SHA512 9783f779a09143faa89ef3de5d87ec415dd797af53d4b1da6b56ed28021a414768b4393e0fd8812c74805c17970eb24cbee3ebc12ee741e036a2f4276e449e5c WHIRLPOOL 42a6b1d9b5d78d7fd70b24cf33f94a0c3fe576d570bdbfa79f2050fa74a52387178e145719a6c55ffc97c5086bdf24e0e6882c950ad6183850c8c1701c986ed1 +DIST mplayer.sh-0.8.6.tar.gz 7568 SHA256 3d98b55f7b173296ac40d14b967f525459f415b340322de53cd8105cca4851ef SHA512 ff4a11f1b8dae014646f101fcab16d6cebc0c3250bc8d259500c2819b484913270051ed9ec9b1442e647e811030f927db07f71aa64edd6221a875e067e22e36a WHIRLPOOL fc3e54d76256dc0c4b5af7e67c6322073195a8613ec86690e6b5491e9776302301146d84a7f838193d6d10df8761a22dbadf1a7d6aeadccd31bd40bd77c7a6c2 +DIST mplayer.sh-0.8.7.tar.gz 7851 SHA256 271f1105efcc6292117d826255f873da4ef70cf517f523d65a36036c74c60dcf SHA512 5e83dd2f83b104f7043d828b713e34f47c9a42a93324424c802d4d448b770e36515accf67bd67ce7461201b5e9cd5596da2bbd182eccef9578c9b31b5fed50d9 WHIRLPOOL 7dfe74c54d455cad09963a31d7e28125c3e58c621632c0c41d8fbeec6dc78abe4fb5f9ff495602e82a1a71dde56cdee9d917bc9a914f9f2a82d8066441ee0132 +EBUILD mplayer-sh-0.8.6-r2.ebuild 1019 SHA256 e694bb352562d0b61dd2d640b78b102d0c4ef722b1410a7db16db46e5ded4e71 SHA512 90f5c6a0914280f03432514131b0353106f8eff78252ffc5e87ee7e7e7320f4e26d0ae2e733dd3fe86a80bc3c789827b81786ad42dc26a47fa525860cf7d1579 WHIRLPOOL 9c06310eae6c8baccbd5d11c22874a8342a0c009bebd3f2236d90fe5153915e939d75431b0d29955d997bfbf6d5fb442cb8831aaf6072b36e8cc6faca38d663c +EBUILD mplayer-sh-0.8.7.ebuild 1043 SHA256 5d085ac92070b6f657f5fd50b4bd928885b78020621f4e306007eb1f22404cbc SHA512 493e799c0e40f6dc431a7412170ff503394ed06d3384271e75e2fe2b9e5bb9aa85cbbbb784148bdf6c672f1e7a2dde8ff220d659cf337d2224f129e9d153b131 WHIRLPOOL e4b67340188f22fe58ed33fd6ca73baa2df1e879a7e53ececbe752530fb3cc25c274c8ee0e06245031b9c5b18913c57596b618be112d962a2649aaa30810b2f5 +MISC ChangeLog 2595 SHA256 dd055b7c459c79ba4bc075c3c23b85fe1a93bf7aca8d43a08950a56b0f559b37 SHA512 877108aaeae866f6b36fbf1d20477bb9cf8cafafeefe1715e8b5ec974cb6227a74d07e84bef7492e9466a55a06bad3df60d04bbed4bfcfb1fd037f8bfe64e4d7 WHIRLPOOL ff604f9f50d0ae8f3ad398c9454403a6f288cf68c3f749d11a900c6911467d56b7ff17f7b57d76b6966cb936d933fbaf7aa4f11b1d9595528fd17248a0f7c067 +MISC ChangeLog-2015 1584 SHA256 5bab88015bf65ec4010835a5594337edc72ab236d65c82f1b2ef1b4f2abf1864 SHA512 7f9f23f56243138da98e209242137f7a15e0a8cf42cedd8afbc19fddc9d719c57005f666d5b76a05354906c61108fc1b9e13ba0baf097f7f9d079e37194fbfdf WHIRLPOOL 71f0b789e016dcb2813ce92dbfbbdf6cacf79cac2589afd124a5964e64250410f08d55d6e252f27b57b5908f4795b41680ae1cb6cb617bf186f061189b46f118 +MISC metadata.xml 352 SHA256 c13fb290aa7a0170d5ac7d25a96f02a39037f3510aa6aa2f7e313745a7622505 SHA512 0cfe165c67b3cf97eb5bf97b0783efcec1622e9fea10e6272a66c20c218663cff53d68cd8127048f8ec50897e5959eb4cdd0348f3cae8296c7ad82accc62bfe9 WHIRLPOOL f887fa281fc9d7a631c7cf4e90ba52fbd51ae2273402c6d5ccafa4eb9bc990f25d5505bce51ba6b252e614b1a93e2a7af6bf71f5b5fd7ecb5b6ad194acd658fd diff --git a/media-video/mplayer-sh/files/mplayer-sh-0.8.6-parameter-aid.diff b/media-video/mplayer-sh/files/mplayer-sh-0.8.6-parameter-aid.diff new file mode 100644 index 000000000000..3b329215564b --- /dev/null +++ b/media-video/mplayer-sh/files/mplayer-sh-0.8.6-parameter-aid.diff @@ -0,0 +1,84 @@ +--- mplayer.sh.orig 2006-03-26 23:31:10.000000000 +0200 ++++ mplayer.sh 2006-03-26 23:50:39.000000000 +0200 +@@ -6,6 +6,7 @@ + declare VERSION="0.8.6" + + # History (as always in the source code :-) ++# - add -aid to mplayer when AID is given (Matthias Schwarzott <zzam@gentoo.org>) + # 0.8.6 - fixed a copy'n'paste bug regarding the subtitle background + # alpha color (thanks to Christian Haider) + # - changed the fps values from rational values to integer ones +@@ -208,6 +209,11 @@ + fi + debugvar REMOTE "$REMOTE" + ++ if test -n "${AID}"; then ++ AUDIO="-aid ${AID}" ++ fi ++ debugvar AUDIO "${AUDIO}" ++ + if ! test -z "$USERDEF"; then echolog "*** Use Option USERDEF at your own risk!"; fi + debugvar USERDEF "$USERDEF" + +@@ -478,15 +484,24 @@ + declare -i NEW_X NEW_Y + declare -i HALF_Y FULL_Y + declare ORIG_FPS NEW_FPS ORIG_ASPECT VIDEO_FORMAT AUDIO_CODEC +-declare CMDLINE AOUT REMOTE USERDEF SUFFIX ++declare CMDLINE AOUT REMOTE AUDIO USERDEF SUFFIX + declare FILE="$1" +-declare SLAVE="$2" ++shift + declare -a XResPAL[0] + declare -a XResNTSC[0] + declare FDSTR="" + declare SUBTITLES="" + declare DETC="" + ++while [[ -n $1 ]]; do ++ case ${1} in ++ SLAVE) SLAVE=SLAVE ;; ++ AID) AID=${2}; shift ;; ++ esac ++ ++ shift ++done ++ + echolog "*** Starting mplayer.sh Version $VERSION" + + if test -z "$FILE"; then echolog "*** USAGE: mplayer.sh <File_to_be_played>"; exit; fi +@@ -504,18 +519,18 @@ + if test \( "$FILE" == "$DVDFiles/DVD" -o "$FILE" == "$DVDFiles/VCD" \) -a -n "$DVDFiles" -a -n "$DVD"; then + if test "$FILE" == "$DVDFiles/DVD"; then + $USEAC3 && AOUT="$AC3AOUT" +- CMDLINE="$MPLAYER -vo $VO $AOUT -alang $DVDLANG $DVDOPTIONS $FDSTR $CACHESTR $REMOTE $USERDEF -dvd-device $DVD dvd://" ++ CMDLINE="$MPLAYER -vo $VO $AOUT -alang $DVDLANG $DVDOPTIONS $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF -dvd-device $DVD dvd://" + fi + if test "$FILE" == "$DVDFiles/VCD"; then +- CMDLINE="$MPLAYER -vo $VO $AOUT $VCDOPTIONS $FDSTR $CACHESTR $REMOTE $USERDEF -cdrom-device $DVD vcd://" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $VCDOPTIONS $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF -cdrom-device $DVD vcd://" + fi + unset FILE + elif test "${SUFFIX}" == ".cue"; then + if $MPLAYER_V1; then +- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF cue://$FILE:2" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF cue://$FILE:2" + unset FILE + else +- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF -vcd 2 -cuefile" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF -vcd 2 -cuefile" + fi + else + # Try to determine the video attributes +@@ -545,9 +560,9 @@ + \( $NTSC -a $NEW_FPS == "30" -a \( \( $ORIG_X == "352" -a $ORIG_Y == "240" \) -o \( $ORIG_Y == "480" -a \ + \( $ORIG_X == "352" -o $ORIG_X == "480" -o $ORIG_X == "512" -o $ORIG_X == "640" -o $ORIG_X == "704" -o $ORIG_X == "720" \) \) \) \) \ + \) ; then +- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF" + else +- CMDLINE="$MPLAYER -vo $VO $AOUT -vop $VOP:$NEW_FPS,expand=$NEW_X:$REAL_Y:-1:-1:1,scale=$NEW_X:${NEW_Y}${DETC} $SPEED $FDSTR $CACHESTR $REMOTE $SUBTITLES $USERDEF $FORCEIDX" ++ CMDLINE="$MPLAYER -vo $VO $AOUT -vop $VOP:$NEW_FPS,expand=$NEW_X:$REAL_Y:-1:-1:1,scale=$NEW_X:${NEW_Y}${DETC} $SPEED $FDSTR $CACHESTR $AUDIO $REMOTE $SUBTITLES $USERDEF $FORCEIDX" + fi + fi + diff --git a/media-video/mplayer-sh/files/mplayer-sh-0.8.7-parameter-aid.diff b/media-video/mplayer-sh/files/mplayer-sh-0.8.7-parameter-aid.diff new file mode 100644 index 000000000000..3de61e76cd1b --- /dev/null +++ b/media-video/mplayer-sh/files/mplayer-sh-0.8.7-parameter-aid.diff @@ -0,0 +1,84 @@ +--- mplayer.sh.orig 2007-02-11 16:34:07.000000000 +0100 ++++ mplayer.sh 2007-05-05 18:17:48.000000000 +0200 +@@ -12,6 +12,7 @@ + # - calculate USE_SPEED with 30 fps instead of 29.97 + # - use '-vf' and '-af' instead of '-vop' and '-aop', as the + # latter are deprecated ++# - add -aid to mplayer when AID is given (Matthias Schwarzott <zzam@gentoo.org>) + # + # 0.8.6 - fixed a copy'n'paste bug regarding the subtitle background + # alpha color (thanks to Christian Haider) +@@ -215,6 +216,11 @@ + fi + debugvar REMOTE "$REMOTE" + ++ if test -n "${AID}"; then ++ AUDIO="-aid ${AID}" ++ fi ++ debugvar AUDIO "${AUDIO}" ++ + if ! test -z "$USERDEF"; then echolog "*** Use Option USERDEF at your own risk!"; fi + debugvar USERDEF "$USERDEF" + +@@ -485,15 +491,24 @@ + declare -i NEW_X NEW_Y + declare -i HALF_Y FULL_Y + declare ORIG_FPS NEW_FPS ORIG_ASPECT VIDEO_FORMAT AUDIO_CODEC +-declare CMDLINE AOUT REMOTE USERDEF SUFFIX ++declare CMDLINE AOUT REMOTE AUDIO USERDEF SUFFIX + declare FILE="$1" +-declare SLAVE="$2" ++shift + declare -a XResPAL[0] + declare -a XResNTSC[0] + declare FDSTR="" + declare SUBTITLES="" + declare DETC="" + ++while [[ -n $1 ]]; do ++ case ${1} in ++ SLAVE) SLAVE=SLAVE ;; ++ AID) AID=${2}; shift ;; ++ esac ++ ++ shift ++done ++ + echolog "*** Starting mplayer.sh Version $VERSION" + + if test -z "$FILE"; then echolog "*** USAGE: mplayer.sh <File_to_be_played>"; exit; fi +@@ -511,18 +526,18 @@ + if test \( "$FILE" == "$DVDFiles/DVD" -o "$FILE" == "$DVDFiles/VCD" \) -a -n "$DVDFiles" -a -n "$DVD"; then + if test "$FILE" == "$DVDFiles/DVD"; then + $USEAC3 && AOUT="$AC3AOUT" +- CMDLINE="$MPLAYER -vo $VO $AOUT -alang $DVDLANG $DVDOPTIONS $FDSTR $CACHESTR $REMOTE $USERDEF -dvd-device $DVD dvd://" ++ CMDLINE="$MPLAYER -vo $VO $AOUT -alang $DVDLANG $DVDOPTIONS $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF -dvd-device $DVD dvd://" + fi + if test "$FILE" == "$DVDFiles/VCD"; then +- CMDLINE="$MPLAYER -vo $VO $AOUT $VCDOPTIONS $FDSTR $CACHESTR $REMOTE $USERDEF -cdrom-device $DVD vcd://" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $VCDOPTIONS $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF -cdrom-device $DVD vcd://" + fi + unset FILE + elif test "${SUFFIX}" == ".cue"; then + if $MPLAYER_V1; then +- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF cue://$FILE:2" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF cue://$FILE:2" + unset FILE + else +- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF -vcd 2 -cuefile" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF -vcd 2 -cuefile" + fi + else + # Try to determine the video attributes +@@ -552,9 +567,9 @@ + \( $NTSC -a $NEW_FPS == "30" -a \( \( $ORIG_X == "352" -a $ORIG_Y == "240" \) -o \( $ORIG_Y == "480" -a \ + \( $ORIG_X == "352" -o $ORIG_X == "480" -o $ORIG_X == "512" -o $ORIG_X == "544" -o $ORIG_X == "640" -o $ORIG_X == "704" -o $ORIG_X == "720" \) \) \) \) \ + \) ; then +- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF" ++ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $AUDIO $REMOTE $USERDEF" + else +- CMDLINE="$MPLAYER -vo $VO $AOUT -vf scale=$NEW_X:${NEW_Y}${DETC},expand=$NEW_X:$REAL_Y:-1:-1:1,$VOP:$NEW_FPS $SPEED $FDSTR $CACHESTR $REMOTE $SUBTITLES $USERDEF $FORCEIDX" ++ CMDLINE="$MPLAYER -vo $VO $AOUT -vf scale=$NEW_X:${NEW_Y}${DETC},expand=$NEW_X:$REAL_Y:-1:-1:1,$VOP:$NEW_FPS $SPEED $FDSTR $CACHESTR $AUDIO $REMOTE $SUBTITLES $USERDEF $FORCEIDX" + fi + fi + diff --git a/media-video/mplayer-sh/metadata.xml b/media-video/mplayer-sh/metadata.xml new file mode 100644 index 000000000000..2e199ea15fcc --- /dev/null +++ b/media-video/mplayer-sh/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription lang="en"> + API script between Plugin vdr-mplayer and mplayer. + </longdescription> +</pkgmetadata> diff --git a/media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild b/media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild new file mode 100644 index 000000000000..ba1d12f2242c --- /dev/null +++ b/media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +RESTRICT="mirror bindist" + +inherit eutils + +DESCRIPTION="Video Disk Recorder Mplayer API Script" +HOMEPAGE="http://batleth.sapienti-sat.org/" +SRC_URI="http://batleth.sapienti-sat.org/projects/VDR/mplayer.sh-${PV}.tar.gz" + +KEYWORDS="x86 ~amd64" +SLOT="0" +LICENSE="all-rights-reserved" +IUSE="" + +RDEPEND=">=media-video/mplayer-0.90_rc4" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}/${P}-parameter-aid.diff" + + sed -i "s:^declare CFGFIL.*$:declare CFGFIL=\"\/etc\/vdr\/plugins\/mplayer\/mplayer.sh.conf\":" mplayer.sh + sed -i mplayer.sh.conf -e "s:^LIRCRC.*$:LIRCRC=\/etc\/lircd.conf:" \ + -e "s:^MPLAYER=.*$:MPLAYER=\/usr\/bin\/mplayer:" +} + +src_install() { + + insinto /etc/vdr/plugins/mplayer + doins mplayer.sh.conf + + into /usr/share/vdr/mplayer + dobin mplayer.sh + + dodir /etc/vdr/plugins/DVD-VCD + touch "${D}"/etc/vdr/plugins/DVD-VCD/{DVD,VCD} + fowners vdr:video /etc/vdr/plugins/DVD-VCD/{DVD,VCD} +} diff --git a/media-video/mplayer-sh/mplayer-sh-0.8.7.ebuild b/media-video/mplayer-sh/mplayer-sh-0.8.7.ebuild new file mode 100644 index 000000000000..8fd6e86d2590 --- /dev/null +++ b/media-video/mplayer-sh/mplayer-sh-0.8.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils + +RESTRICT="mirror bindist" + +DESCRIPTION="Video Disk Recorder Mplayer API Script" +HOMEPAGE="http://batleth.sapienti-sat.org/projects/VDR/" +SRC_URI="http://batleth.sapienti-sat.org/projects/VDR/versions/mplayer.sh-${PV}.tar.gz" + +KEYWORDS="x86 ~amd64" +SLOT="0" +LICENSE="all-rights-reserved" +IUSE="" + +RDEPEND=">=media-video/mplayer-0.1.20070321" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}/${P}-parameter-aid.diff" + + sed -i "s:^declare CFGFIL.*$:declare CFGFIL=\"\/etc\/vdr\/plugins\/mplayer\/mplayer.sh.conf\":" mplayer.sh + sed -i mplayer.sh.conf -e "s:^LIRCRC.*$:LIRCRC=\/etc\/lircd.conf:" \ + -e "s:^MPLAYER=.*$:MPLAYER=\/usr\/bin\/mplayer:" +} + +src_install() { + + insinto /etc/vdr/plugins/mplayer + doins mplayer.sh.conf + + into /usr/share/vdr/mplayer + dobin mplayer.sh + + dodir /etc/vdr/plugins/DVD-VCD + touch "${D}"/etc/vdr/plugins/DVD-VCD/{DVD,VCD} + fowners vdr:vdr /etc/vdr/plugins/DVD-VCD/{DVD,VCD} +} |