Subject: Selecting mplayer drivers
To: None <tech-pkg@netbsd.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 07/27/2003 13:51:44
This is a multi-part message in MIME format.
--Multipart_Sun__27_Jul_2003_13:51:44_+0200_081d4200
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi all,
there is a PR that asks for arts support in mplayer adding a variable to
tune whether it is used or not. I would like to go one step further and
allow the user/administrator select which drivers he wants to remove from
the mplayer package (leaving all of them enabled by default, including
arts, to get a full featured binary package).
Thus, the user can set MPLAYER_DISABLE_DRIVERS to a list of which drivers
he wants to disable. The list is empty by default; when building the
encoder (mencoder), all drivers are disabled, as they are not used, right?
(I doubt about faad, thought).
The patch is attached. I'll commit it later if there are no objections.
Thanks.
PS: Anyway, the mplayer packages already honour several build_defs, so
another one is not bad. Also, there is no other way to "fix" this, as the
program is built as a single binary (i.e., no plugin support).
--
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/
--Multipart_Sun__27_Jul_2003_13:51:44_+0200_081d4200
Content-Type: application/octet-stream;
name="patch.diff"
Content-Disposition: attachment;
filename="patch.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IG1wbGF5ZXItc2hhcmUvTWFrZWZpbGUuY29tbW9uCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6
IC9jdnNyb290L3BrZ3NyYy9ncmFwaGljcy9tcGxheWVyLXNoYXJlL01ha2VmaWxlLmNvbW1vbix2
CnJldHJpZXZpbmcgcmV2aXNpb24gMS4zNQpkaWZmIC11IC11IC1yMS4zNSBNYWtlZmlsZS5jb21t
b24KLS0tIG1wbGF5ZXItc2hhcmUvTWFrZWZpbGUuY29tbW9uCTIwMDMvMDcvMTcgMjE6NDE6NTIJ
MS4zNQorKysgbXBsYXllci1zaGFyZS9NYWtlZmlsZS5jb21tb24JMjAwMy8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