Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (11ba966032716bded53315908f0fed6a0174d6e1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (11ba966032716bded53315908f0fed6a0174d6e1)
  • Date: Fri, 27 Sep 2013 10:01:05 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3
video/mpv/BUILD | 25 ++++
video/mpv/CONFIGURE | 9 +
video/mpv/DEPENDS | 233
++++++++++++++++++++++++++++++++++++++++++
video/mpv/DETAILS | 18 +++
video/mpv/HISTORY | 3
video/mpv/INSTALL | 9 +
video/mpv/desktop/mpv.desktop | 9 +
video/mpv/mpv.png |binary
9 files changed, 309 insertions(+)

New commits:
commit 11ba966032716bded53315908f0fed6a0174d6e1
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

mpv: new spell, free and open-source general-purpose video player

diff --git a/ChangeLog b/ChangeLog
index 1f0efc2..2f7c15b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-09-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * video/mpv: new spell, free and open-source general-purpose video
player
+
2013-09-22 Treeve Jelbert <treeve AT sourcemage.org>
* python-pypi/kinterbasdb: spell deprecated [replaced by fdb]
* devel/qxorm: new spell, ORM library for Qt/Boost
diff --git a/video/mpv/BUILD b/video/mpv/BUILD
new file mode 100755
index 0000000..446e4c8
--- /dev/null
+++ b/video/mpv/BUILD
@@ -0,0 +1,25 @@
+OPTS="$MPV_OPTS $OPTS" &&
+
+if is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL); then
+ local GLSELECT=n &&
+
+ for provider in `gaze -q provides OPENGL`; do
+ if spell_ok $provider && [[ $provider != mesalib ]]; then
+ GLSELECT=y
+ fi
+ done &&
+
+ if [[ $GLSELECT == y ]]; then
+ message "${MESSAGE_COLOR}NOTICE: Other OPENGL provider than mesalib is
installed;" &&
+ message "$SPELL requires active mesalib headers - switching it now." &&
+ message "Don't forget to switch back via smgl-gl_select
script.${DEFAULT_COLOR}\n" &&
+
+ glselect mesa
+ fi
+fi &&
+
+./configure --prefix=${INSTALL_ROOT}/usr \
+ --confdir=${TRACK_ROOT}/etc/mpv \
+ $OPTS &&
+
+make V=1
diff --git a/video/mpv/CONFIGURE b/video/mpv/CONFIGURE
new file mode 100755
index 0000000..2301e04
--- /dev/null
+++ b/video/mpv/CONFIGURE
@@ -0,0 +1,9 @@
+default_configure &&
+
+config_query_option MPV_OPTS "Compile-in debugging information?" y \
+ "--enable-debug" \
+ "--disable-debug" &&
+
+config_query_option MPV_OPTS "Enable VCD (VideoCD) support?" y \
+ "--enable-vcd" \
+ "--disable-vcd"
diff --git a/video/mpv/DEPENDS b/video/mpv/DEPENDS
new file mode 100755
index 0000000..039de97
--- /dev/null
+++ b/video/mpv/DEPENDS
@@ -0,0 +1,233 @@
+depends perl &&
+depends -sub STABLE ffmpeg &&
+
+optional_depends docutils \
+ "" \
+ "--disable-manpage" \
+ "to build and install manpage" &&
+
+# WARNING: --enable-* flags are strictly forbidden to add in places where
+# they don't exist; it breaks adding proper LDFLAGS and makes configure
+# script choose bad decisions on dependencies
+
+# localization
+optional_depends gettext \
+ "--enable-gettext" \
+ "--disable-gettext" \
+ "for native language support" &&
+
+# audio output
+optional_depends alsa-lib \
+ "" \
+ "--disable-alsa" \
+ "for ALSA audio output" &&
+
+# `--disable' flag is removed to support native OSS anyway via autodetect
mode
+optional_depends oss \
+ "" \
+ "" \
+ "for OSS4 audio output" &&
+
+optional_depends pulseaudio \
+ "" \
+ "--disable-pulse" \
+ "for Pulseaudio audio output" &&
+
+optional_depends portaudio19 \
+ "" \
+ "--disable-portaudio" \
+ "for PortAudio audio output" &&
+
+optional_depends JACK-DRIVER \
+ "" \
+ "--disable-jack" \
+ "for JACK audio output" &&
+
+optional_depends openal \
+ "--enable-openal" \
+ "--disable-openal" \
+ "for OpenAL audio output" &&
+
+optional_depends sdl \
+ "--enable-sdl" \
+ "--disable-sdl" \
+ "for SDL audio output" &&
+
+# TODO: add sdl2 spell
+#optional_depends sdl2 \
+# "--enable-sdl2" \
+# "--disable-sdl2" \
+# "for SDL 2.0+ audio and video output" &&
+
+# video output
+optional_depends OPENGL \
+ "--enable-gl" \
+ "--disable-gl" \
+ "for OpenGL video output" &&
+
+optional_depends libcaca \
+ "" \
+ "--disable-caca" \
+ "for CACA video output" &&
+
+optional_depends libx11 \
+ "" \
+ "--disable-x11" \
+ "for X11 video output" &&
+
+if is_depends_enabled $SPELL libx11; then
+ depends libxext &&
+
+ optional_depends libxxf86vm \
+ "" \
+ "--disable-vm" \
+ "for X video mode extensions" &&
+
+ optional_depends libvdpau \
+ "" \
+ "--disable-vdpau" \
+ "for VDPAU acceleration" &&
+
+ optional_depends libxv \
+ "" \
+ "--disable-xv" \
+ "for Xv video output" &&
+
+ optional_depends libxinerama \
+ "" \
+ "--disable-xinerama" \
+ "for Xinerama support"
+else
+ list_add MPV_OPTS "--disable-vm" &&
+ list_add MPV_OPTS "--disable-vdpau" &&
+ list_add MPV_OPTS "--disable-xv" &&
+ list_add MPV_OPTS "--disable-xinerama"
+fi &&
+
+optional_depends libxscrnsaver \
+ "" \
+ "--disable-xss" \
+ "for screensaver support via xss" &&
+
+# codecs
+optional_depends libmng \
+ "--enable-mng" \
+ "--disable-mng" \
+ "for MNG input support" &&
+
+optional_depends JPEG \
+ "--enable-jpeg" \
+ "--disable-jpeg" \
+ "for JPEG input/output support" &&
+
+optional_depends libcdio \
+ "--enable-libcdio" \
+ "--disable-libcdio" \
+ "for libcdio support" &&
+
+optional_depends ladspa \
+ "" \
+ "--disable-ladspa" \
+ "for LADSPA plugin support" &&
+
+optional_depends MPG123 \
+ "" \
+ "--disable-mpg123" \
+ "for libmpg123 MP3 decoding support" &&
+
+# features
+optional_depends lirc \
+ "--enable-lirc" \
+ "--disable-lirc" \
+ "for LIRC (remote control) support" &&
+
+if is_depends_enabled $SPELL libx11; then
+ optional_depends xproto \
+ "" \
+ "--disable-xf86keysym" \
+ "for multimedia keys support"
+else
+ list_add MPV_OPTS "--disable-xf86keysym"
+fi &&
+
+optional_depends v4l-utils \
+ "--enable-radio" \
+ "--disable-radio --disable-radio-v4l2" \
+ "for Video4Linux2 radio interface" &&
+
+if is_depends_enabled $SPELL v4l-utils; then
+ if is_depends_enabled $SPELL alsa-lib || is_depends_enabled $SPELL oss;
then
+ config_query_option MPV_OPTS "Enable radio capture (through
PCI/line-in)?" n \
+ "--enable-radio-capture" \
+ "--disable-radio-capture"
+ else
+ list_add MPV_OPTS "--disable-radio-capture"
+ fi
+fi &&
+
+optional_depends v4l-utils \
+ "--enable-tv" \
+ "--disable-tv --disable-tv-v4l2" \
+ "for Video4Linux2 TV interface (TV/DVB grabbers)" &&
+
+if is_depends_enabled $SPELL v4l-utils; then
+ config_query_option MPV_OPTS "Enable Video4Linux2 MPEG PVR?" y \
+ "" \
+ "--disable-pvr"
+else
+ list_add MPV_OPTS "--disable-pvr"
+fi &&
+
+optional_depends samba \
+ "--enable-smb" \
+ "--disable-smb" \
+ "for Samba (SMB) input support" &&
+
+if is_depends_enabled $SPELL samba; then
+ depends openssl
+fi &&
+
+# TODO: update quvi spell to >=0.4.1 (stable)
+#optional_depends quvi \
+# "--enable-libquvi4" \
+# "--disable-libquvi4" \
+# "for parsing media stream URLs via libquvi 0.4.x" &&
+
+optional_depends lcms2 \
+ "" \
+ "--disable-lcms2" \
+ "for LCMS2 support" &&
+
+optional_depends libbluray \
+ "" \
+ "--disable-bluray" \
+ "for Blu-ray support" &&
+
+optional_depends libdvdread \
+ "" \
+ "--disable-dvdread" \
+ "for reading scrambled (CSS) DVDs" &&
+
+optional_depends enca \
+ "" \
+ "--disable-enca" \
+ "for ENCA charset oracle library support" &&
+
+# accepts only autodetect mode (forcing `--enable-libass' flag disables
libass
+# support); this also happens for `--enable-libass-osd'
+optional_depends libass \
+ "" \
+ "--disable-libass" \
+ "for subtitle rendering" &&
+
+if is_depends_enabled $SPELL libass; then
+ config_query_option MPV_OPTS "Enable libass OSD rendering?" y \
+ "" \
+ "--disable-libass-osd"
+else
+ list_add MPV_OPTS "--disable-libass-osd"
+fi &&
+
+if is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL); then
+ suggest_depends smgl-gl_select "" "" "to switch between OPENGL providers
in userspace"
+fi
diff --git a/video/mpv/DETAILS b/video/mpv/DETAILS
new file mode 100755
index 0000000..00816b3
--- /dev/null
+++ b/video/mpv/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=mpv
+ VERSION=0.1.7
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCEX=v${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/${SPELL}-player/${SPELL}/archive/${SOURCEX}
+ SOURCE_HINTS="no-check-certificate"
+
SOURCE_HASH=sha512:17a9a98f4cf47f604851cedd74bb86f8b3d6553b1906d198bcc430419b27cf038729b091df318c6db3fbf4b64f40758c4f79da7212c585d878aff77a25105790
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ DOCS="AUTHORS Copyright DOCS/tech-overview.txt
DOCS/OUTDATED-tech/* $DOCS"
+ WEB_SITE=http://mpv.io/
+ LICENSE[0]=GPL
+ ENTERED=20130927
+ KEYWORDS="player video"
+ SHORT="free and open-source general-purpose video player"
+cat << EOF
+mpv is a movie player based on MPlayer and mplayer2. It supports a wide
variety
+of video file formats, audio and video codecs, and subtitle types.
+EOF
diff --git a/video/mpv/HISTORY b/video/mpv/HISTORY
new file mode 100644
index 0000000..b711a79
--- /dev/null
+++ b/video/mpv/HISTORY
@@ -0,0 +1,3 @@
+2013-09-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, CONFIGURE, BUILD, INSTALL, mpv.png,
+ desktop/mpv.desktop: spell created
diff --git a/video/mpv/INSTALL b/video/mpv/INSTALL
new file mode 100755
index 0000000..777ce29
--- /dev/null
+++ b/video/mpv/INSTALL
@@ -0,0 +1,9 @@
+make V=1 install &&
+
+install -vm 755 -d "$INSTALL_ROOT/etc/mpv" &&
+
+install -vm 644 etc/*example*.conf "$INSTALL_ROOT/etc/mpv" &&
+
+# install 64x64 transparent png icon extracted from etc/mpv-icon.ico
+install -vm 755 -d "$INSTALL_ROOT/usr/share/pixmaps" &&
+install -vm 644 $SPELL_DIRECTORY/mpv.png $INSTALL_ROOT/usr/share/pixmaps
diff --git a/video/mpv/desktop/mpv.desktop b/video/mpv/desktop/mpv.desktop
new file mode 100644
index 0000000..b9bdfcd
--- /dev/null
+++ b/video/mpv/desktop/mpv.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=MPV
+Exec=mpv
+Icon=mpv.png
+Terminal=false
+Type=Application
+Categories=Application;AudioVideo;Video;
+GenericName=General-purpose video player
diff --git a/video/mpv/mpv.png b/video/mpv/mpv.png
new file mode 100644
index 0000000..630c990
Binary files /dev/null and b/video/mpv/mpv.png differ



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (11ba966032716bded53315908f0fed6a0174d6e1), Vlad Glagolev, 09/27/2013

Archive powered by MHonArc 2.6.24.

Top of Page