Wednesday, June 01, 2005

pkgsrc: mplayer switches to the options framework

My little project these last two days has been to convert the mplayer packages to use the options framework and deprecate the old-style variables to tune its behavior. This is the "new" (has been around for a while already) way to go in pkgsrc, as it's cleaner, more homogeneous and more flexible.

During the conversion, I've added a lot more optional features in the package so that users can build a smaller package if wanted. Have fun ;)

3 comments:

Anonymous said...

[Originally posted at 2005-06-02 07:37 am UTC]

I have been waiting for this for so long.
Now I can finally get rid of that annoying x11/gtk and a few other dependencies.

Thank you so much, Julio!

Julio M. Merino Vidal said...

[Originally posted at 2005-06-03 01:15 pm UTC]

Heh, removing gtk+ as a dependency was the main goal for me too. However, this should be done in another way: fix the libdv package to not install dvplay, so that gtk+ is not required by it. Hmm I'll take a look at it now.

Julio M. Merino Vidal said...

[Originally posted at 2005-06-03 03:41 pm UTC]

Done! libdv now does not depend on gtk nor glib, so mplayer can make use of it with few dependencies :)