[133985] trunk/dports/multimedia/mplayer2/Portfile
cal at macports.org
cal at macports.org
Mon Mar 16 13:27:19 PDT 2015
Revision: 133985
https://trac.macports.org/changeset/133985
Author: cal at macports.org
Date: 2015-03-16 13:27:19 -0700 (Mon, 16 Mar 2015)
Log Message:
-----------
mplayer2: upstream is dead, replace with mpv, closes #47169
Modified Paths:
--------------
trunk/dports/multimedia/mplayer2/Portfile
Modified: trunk/dports/multimedia/mplayer2/Portfile
===================================================================
--- trunk/dports/multimedia/mplayer2/Portfile 2015-03-16 17:18:03 UTC (rev 133984)
+++ trunk/dports/multimedia/mplayer2/Portfile 2015-03-16 20:27:19 UTC (rev 133985)
@@ -5,195 +5,11 @@
name mplayer2
epoch 3
+version 2.0-20131009
+revision 3
categories multimedia
platforms darwin
-license Restrictive
-maintainers cal openmaintainer
-description mplayer2 is an advanced general-purpose video player. A fork of the original MPlayer project, it contains significant \
- further development and supports a number of features not available in other Unix players.
-long_description ${description}
+license Permissive
+replaced_by mpv
-homepage http://www.mplayer2.org/
-version 2.0-20131009
-revision 2
-fetch.type git
-# This is a hack b/c the mplayer2.git is HUGE and takes AGES to fetch; let's
-# hope nobody makes more than 100 commits before I update the port.
-git.url --depth 100 git://git.mplayer2.org/mplayer2.git
-git.branch 2c378c71a4d9b1df382db9aa787b646628b4e3f9
-
-# disable livecheck, because it seems upstream isn't going to do any releases
-livecheck.type none
-
-conflicts MPlayer mplayer-devel
-
-depends_build-append port:pkgconfig \
- port:yasm \
- port:autoconf \
- port:python34 \
- port:py27-docutils
-
-depends_lib-append port:libsdl \
- path:lib/libavcodec.dylib:ffmpeg \
- port:XviD \
- port:a52dec \
- port:enca \
- port:faad2 \
- port:fontconfig \
- port:freetype \
- port:fribidi \
- port:gettext \
- port:jpeg \
- port:lame \
- port:lcms2 \
- port:libass \
- port:libdca \
- port:libdv \
- port:libdvdnav \
- port:libdvdread \
- port:libiconv \
- port:libmad \
- port:libmng \
- port:libogg \
- port:libpng \
- port:libtheora \
- port:libvorbis \
- port:ncurses \
- port:speex \
- port:zlib
-
-universal_variant no
-
-patchfiles patch-configure.diff \
- patch-libmpdemux-demuxer.h.diff \
- patch-stream_dvdnav.diff
-
-post-patch {
- reinplace "s|#!/usr/bin/env python3|#!$prefix/bin/python3.4|g" \
- ${worksrcpath}/TOOLS/file2string.py \
- ${worksrcpath}/TOOLS/matroska.py \
- ${worksrcpath}/TOOLS/vdpau_functions.py
-}
-
-configure.cppflags-append \
- -I$prefix/include/freetype2
-
-configure.args-append --enable-termcap \
- --disable-termios \
- --enable-iconv \
- --disable-lirc \
- --disable-lircc \
- --disable-joystick \
- --enable-apple-remote \
- --disable-apple-ir \
- --disable-xf86keysym \
- --disable-radio \
- --disable-radio-capture \
- --disable-radio-v4l2 \
- --disable-radio-bsdbt848 \
- --disable-tv \
- --disable-tv-v4l2 \
- --disable-tv-bsdbt848 \
- --disable-pvr \
- --disable-rtc \
- --enable-networking \
- --disable-winsock2_h \
- --disable-smb \
- --disable-libquvi \
- --enable-lcms2 \
- --enable-vcd \
- --disable-bluray \
- --enable-dvdnav \
- --enable-dvdread \
- --disable-dvdread-internal \ \
- --disable-libdvdcss-internal \
- --disable-unrarexec \
- --enable-enca \
- --enable-macosx-finder \
- --enable-macosx-bundle \
- --enable-inet6 \
- --enable-gethostbyname2 \
- --enable-ftp \
- --disable-vstream \
- --enable-pthreads \
- --disable-w32threads \
- --disable-rpath \
- --enable-libpostproc \
- --disable-gif \
- --enable-png \
- --enable-mng \
- --enable-jpeg \
- --disable-win32dll \
- --disable-qtx \
- --disable-xanim \
- --disable-real \
- --enable-xvid \
- --disable-libnut \
- --enable-libav \
- --enable-libvorbis \
- --disable-tremor \
- --enable-speex \
- --enable-theora \
- --enable-faad \
- --disable-ladspa \
- --disable-libbs2b \
- --enable-libdv \
- --disable-mpg123 \
- --enable-mad \
- --disable-xmms \
- --enable-libdca \
- --enable-liba52 \
- --disable-musepack \
- --enable-gl \
- --enable-sdl \
- --disable-caca \
- --disable-direct3d \
- --disable-directx \
- --disable-v4l2 \
- --disable-dvb \
- --disable-xv \
- --disable-vdpau \
- --disable-vm \
- --disable-xinerama \
- --disable-x11 \
- --disable-xss \
- --disable-directfb \
- --disable-tga \
- --disable-pnm \
- --disable-md5sum \
- --disable-yuv4mpeg \
- --enable-corevideo \
- --enable-cocoa \
- --enable-sharedbuffer \
- --disable-alsa \
- --disable-ossaudio \
- --disable-rsound \
- --disable-pulse \
- --disable-portaudio \
- --disable-jack \
- --disable-openal \
- --enable-coreaudio \
- --enable-translation \
- --disable-select \
- --cc=${configure.cc} \
- --disable-static \
- --extra-cflags=\"${configure.cppflags} ${configure.optflags} [get_canonical_archflags cc] -Wno-pointer-sign\" \
- --extra-ldflags=\"${configure.ldflags} [get_canonical_archflags ld]\" \
- --extra-libs=\"-liconv -lncurses -lpng -lz -lmng -lz -ljpeg -ldvdread -lfreetype -lfontconfig -lass -lfribidi -lenca -lz -lmad -lvorbis -logg -lspeex -ltheora -logg -la52 -ldca -lfaad -lavutil -lavcodec -lavformat -lavresample -lswscale -lpostproc -ldv -lxvidcore -lm -lpthread -lm -framework IOKit -framework Cocoa -framework OpenGL -framework QuartzCore -lSDLmain -lSDL -framework CoreAudio -framework AudioUnit -framework AudioToolbox -lintl -llcms2 \"
-
- # leave out libass, as configure doesn't handle it correctly
- # --enable-libass \
-
-build.target mplayer
-build.args-append V=1
-build.env-append CC=${configure.cc} \
- CPP=${configure.cpp} \
- CFLAGS="${configure.optflags} [get_canonical_archflags cc]" \
- CPPFLAGS="${configure.cppflags}" \
- LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
-
-variant smb description {Enable Samba support} {
- depends_lib-append port:samba3
- configure.args-delete --disable-smb
- configure.args-append --enable-smb
-}
+PortGroup obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150316/0c011d92/attachment.html>
More information about the macports-changes
mailing list