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 <hubert%feyrer.de@localhost> writes:

> I want to install mplayer, either from binary pkgs or from pkgsrc.
> I cannot find binary pkgs on ftp.netbsd.org, and the distfiles at
> http://irkmaffia.com/~ahoka/distfiles/ 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
redistribute.

I have a patch to mplayer-share/options.mk 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}
 #PKGREVISION=  0
 
-COMMENT=       Fast, cross-platform movie player
+COMMENT=       Software-only multiformat video decoder
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
Index: multimedia/mplayer-share/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mplayer-share/options.mk,v
retrieving revision 1.39
diff -u -p -r1.39 options.mk
--- multimedia/mplayer-share/options.mk 4 Nov 2009 16:00:54 -0000       1.39
+++ multimedia/mplayer-share/options.mk 27 Dec 2009 13:47:18 -0000
@@ -21,7 +21,8 @@ PKG_SUPPORTED_OPTIONS+=       oss
 
 PKG_OPTIONS_OPTIONAL_GROUPS=   faadgroup
 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
 # Define PKG_SUGGESTED_OPTIONS.
 # -------------------------------------------------------------------------
 
+# 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