Created
November 25, 2012 14:55
-
-
Save sshilovsky/4143830 to your computer and use it in GitHub Desktop.
[PATCH] 'screensaver' and 'enca' options for media/mplayer2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bb465f12939b51b7c813cb98fecd6b5a179fade3 Mon Sep 17 00:00:00 2001 | |
From: Sergei Shilovsky <[email protected]> | |
Date: Sun, 25 Nov 2012 18:36:01 +0000 | |
Subject: [PATCH] 'screensaver' and 'enca' options for media/mplayer2 | |
--- | |
packages/media/mplayer2/mplayer2.exlib | 7 ++++++- | |
1 file changed, 6 insertions(+), 1 deletion(-) | |
diff --git a/packages/media/mplayer2/mplayer2.exlib b/packages/media/mplayer2/mplayer2.exlib | |
index 10658f2..73a0753 100644 | |
--- a/packages/media/mplayer2/mplayer2.exlib | |
+++ b/packages/media/mplayer2/mplayer2.exlib | |
@@ -14,8 +14,10 @@ MYOPTIONS=" | |
bluray [[ description = [ Support playing Blu-ray discs via libbluray ] ]] | |
caca [[ description = [ Colored ASCII-art video output ] ]] | |
cddb [[ description = [ Fetch AudioCD track information from cddb or freedb ] ]] | |
+ enca [[ description = [ ENCA charset autodetection for subtitles etc. ] ]] | |
postproc [[ description = [ Enable prost processing filters using libav's libpostproc ] ]] | |
samba [[ description = [ Support playing files on SMB shares ] ]] | |
+ screensaver [[ description = [ Use the X Screen Saver extension, e.g. to block the screensaver ] ]] | |
v4l [[ description = [ Support V4L2 decoders, encoders, and tuners ] ]] | |
vdpau [[ description = [ Enable support for VDPAU hardware accelerated video decoding ] ]] | |
@@ -48,11 +50,13 @@ DEPENDENCIES=" | |
media-libs/libdvdnav | |
media-libs/libdvdread | |
) | |
+ enca? ( app-text/enca ) | |
mp3? ( media-sound/mpg123 ) | |
opengl? ( x11-dri/mesa ) | |
postproc? ( virtual/libpostproc ) | |
pulseaudio? ( media-sound/pulseaudio[>=0.9] ) | |
samba? ( net-fs/samba ) | |
+ screensaver? ( x11-libs/libXScrnSaver ) | |
sdl? ( media-libs/SDL ) | |
vdpau? ( x11-libs/libvdpau ) | |
xinerama? ( x11-libs/libXinerama ) | |
@@ -165,7 +169,7 @@ src_configure() { | |
--disable-dvdread-internal # internal libdvdread | |
--disable-libdvdcss-internal # internal libdvdcss | |
$(my_option_enable cddb) # cddb | |
- --disable-enca # ENCA charset oracle library | |
+ $(my_option_enable enca) # ENCA charset oracle library | |
--disable-macosx-bundle # Mac OS X bundle file locations | |
$(my_option_enable ipv6 inet6) # IPv6 support | |
--disable-vstream # TiVo vstream client support | |
@@ -218,6 +222,7 @@ src_configure() { | |
$(my_option_enable alsa) # ALSA audio output | |
--enable-ossaudio # OSSv4 audio output | |
$(my_option_enable pulseaudio pulse) # Pulseaudio audio output | |
+ $(my_option_enable screensaver xss) | |
--disable-jack # JACK audio output | |
--disable-rsound # RSound audio output | |
--disable-coreaudio # CoreAudio audio output | |
-- | |
1.7.10.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment