| @@ -1,41 +1,41 @@ | | | @@ -1,41 +1,41 @@ |
1 | # $NetBSD: options.mk,v 1.5 2014/08/11 23:09:46 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.6 2016/06/24 11:33:59 he Exp $ |
2 | # | | 2 | # |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.freerdp | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.freerdp |
4 | PKG_SUPPORTED_OPTIONS= alsa cups ffmpeg pcsc pulseaudio debug | | 4 | PKG_SUPPORTED_OPTIONS= alsa cups ffmpeg pcsc pulseaudio debug |
5 | PKG_SUGGESTED_OPTIONS= alsa cups ffmpeg | | 5 | PKG_SUGGESTED_OPTIONS= alsa cups ffmpeg |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | PLIST_VARS+= alsa ffmpeg pcsc pulseaudio | | 9 | PLIST_VARS+= alsa ffmpeg pcsc pulseaudio |
10 | | | 10 | |
11 | # Package-specific option-handling | | 11 | # Package-specific option-handling |
12 | | | 12 | |
13 | ### | | 13 | ### |
14 | ### ALSA support | | 14 | ### ALSA support |
15 | ### | | 15 | ### |
16 | .if !empty(PKG_OPTIONS:Malsa) | | 16 | .if !empty(PKG_OPTIONS:Malsa) |
17 | . include "../../audio/alsa-lib/buildlink3.mk" | | 17 | . include "../../audio/alsa-lib/buildlink3.mk" |
18 | CMAKE_ARGS+= -DWITH_ALSA=ON | | 18 | CMAKE_ARGS+= -DWITH_ALSA=ON |
19 | PLIST.alsa= yes | | 19 | PLIST.alsa= yes |
20 | .else | | 20 | .else |
21 | CMAKE_ARGS+= -DWITH_ALSA=OFF | | 21 | CMAKE_ARGS+= -DWITH_ALSA=OFF |
22 | .endif | | 22 | .endif |
23 | | | 23 | |
24 | ### | | 24 | ### |
25 | ### CUPS support | | 25 | ### CUPS support |
26 | ### | | 26 | ### |
27 | .if !empty(PKG_OPTIONS:Mcups) | | 27 | .if !empty(PKG_OPTIONS:Mcups) |
28 | . include "../../print/cups15/buildlink3.mk" | | 28 | . include "../../print/cups/buildlink3.mk" |
29 | CMAKE_ARGS+= -DWITH_CUPS=ON | | 29 | CMAKE_ARGS+= -DWITH_CUPS=ON |
30 | PLIST.cups= yes | | 30 | PLIST.cups= yes |
31 | .else | | 31 | .else |
32 | CMAKE_ARGS+= -DWITH_CUPS=OFF | | 32 | CMAKE_ARGS+= -DWITH_CUPS=OFF |
33 | .endif | | 33 | .endif |
34 | | | 34 | |
35 | ### | | 35 | ### |
36 | ### FFmpeg support | | 36 | ### FFmpeg support |
37 | ### | | 37 | ### |
38 | .if !empty(PKG_OPTIONS:Mffmpeg) | | 38 | .if !empty(PKG_OPTIONS:Mffmpeg) |
39 | . include "../../multimedia/ffmpeg1/buildlink3.mk" | | 39 | . include "../../multimedia/ffmpeg1/buildlink3.mk" |
40 | CMAKE_ARGS+= -DWITH_FFMPEG=ON | | 40 | CMAKE_ARGS+= -DWITH_FFMPEG=ON |
41 | PLIST.ffmpeg= yes | | 41 | PLIST.ffmpeg= yes |