pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mplayer binary pkg or distfile?

Hubert Feyrer <> writes:

> I want to install mplayer, either from binary pkgs or from pkgsrc.
> I cannot find binary pkgs on, and the distfiles at
> gives me a 404 error...
> where can I find distfiles for mplayer?
> I'm using latest pkgsrc-current on NetBSD 5.0/i386...
> Maybe a few mirrors can be setup for the distfiles?
> (yes, I'm ~aware of the situation that this pkg has set NO_SRC_ON_FTP)

The RESTRICTED setting for mplayer does not appear make any sense.  It
depends on libdvdread which reads dvds without dvdcss, and I'm not aware
of that being trouble.

The other problems with mplayer are that some codecs may have patent
issues (faad?), and some (win32-codecs) don't seem to have licenses to

I have a patch to mplayer-share/ that takes some options out
of PKG_SUGGESTED_OPTIONS but have never gotten the energy to have a
discussion about committing it.

Index: multimedia/mplayer/Makefile
RCS file: /cvsroot/pkgsrc/multimedia/mplayer/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- multimedia/mplayer/Makefile 18 Oct 2009 22:22:11 -0000      1.68
+++ multimedia/mplayer/Makefile 27 Dec 2009 13:47:18 -0000
@@ -3,7 +3,7 @@
 PKGNAME=       mplayer-${MPLAYER_VERSION}
-COMMENT=       Fast, cross-platform movie player
+COMMENT=       Software-only multiformat video decoder
 PKG_DESTDIR_SUPPORT=   user-destdir
Index: multimedia/mplayer-share/
RCS file: /cvsroot/pkgsrc/multimedia/mplayer-share/,v
retrieving revision 1.39
diff -u -p -r1.39
--- multimedia/mplayer-share/ 4 Nov 2009 16:00:54 -0000       1.39
+++ multimedia/mplayer-share/ 27 Dec 2009 13:47:18 -0000
@@ -21,7 +21,8 @@ PKG_SUPPORTED_OPTIONS+=       oss
 PKG_OPTIONS_GROUP.faadgroup=   faad mplayer-internal-faad
-PKG_SUGGESTED_OPTIONS+=                mplayer-internal-faad
+# faad appears to have patent issues; do not enable by default
+# PKG_SUGGESTED_OPTIONS+=              mplayer-internal-faad
 # Set options based on the specific package being built.
 .if !empty(PKGNAME:M*mplayer*)
@@ -73,9 +74,10 @@ PKG_SUPPORTED_OPTIONS+= xvid
 # -------------------------------------------------------------------------
+# Omit due to license issues: mplayer-real mplayer-win32
 .for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \
-           lame mad mplayer-menu mplayer-real \
-           mplayer-default-cflags mplayer-runtime-cpudetection mplayer-win32 \
+           lame mad mplayer-menu \
+           mplayer-default-cflags mplayer-runtime-cpudetection \
            nas oss pulseaudio png sdl theora vorbis x264 xvid
 .  if !empty(PKG_SUPPORTED_OPTIONS:M${_o_})
 PKG_SUGGESTED_OPTIONS+=        ${_o_}


Attachment: pgpSOVLM1Wijm.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index