| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.28 2008/03/16 11:56:49 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.29 2008/03/16 21:22:45 wiz Exp $ |
2 | | | 2 | |
3 | .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) | | 3 | .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) |
4 | | | 4 | |
5 | # Note: This expression is the same as ${PKGBASE}, but the latter is | | 5 | # Note: This expression is the same as ${PKGBASE}, but the latter is |
6 | # not defined yet, so we cannot use it here. | | 6 | # not defined yet, so we cannot use it here. |
7 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} | | 7 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} |
8 | | | 8 | |
9 | .include "../../mk/oss.buildlink3.mk" | | 9 | .include "../../mk/oss.buildlink3.mk" |
10 | | | 10 | |
11 | # ------------------------------------------------------------------------- | | 11 | # ------------------------------------------------------------------------- |
12 | # Define PKG_SUPPORTED_OPTIONS based on the current package and system. | | 12 | # Define PKG_SUPPORTED_OPTIONS based on the current package and system. |
13 | # ------------------------------------------------------------------------- | | 13 | # ------------------------------------------------------------------------- |
14 | | | 14 | |
| @@ -264,26 +264,27 @@ CONFIGURE_ARGS+= --disable-theora | | | @@ -264,26 +264,27 @@ CONFIGURE_ARGS+= --disable-theora |
264 | .if empty(PKG_OPTIONS:Mvidix) | | 264 | .if empty(PKG_OPTIONS:Mvidix) |
265 | CONFIGURE_ARGS+= --disable-vidix-internal | | 265 | CONFIGURE_ARGS+= --disable-vidix-internal |
266 | CONFIGURE_ARGS+= --disable-vidix-external | | 266 | CONFIGURE_ARGS+= --disable-vidix-external |
267 | .endif | | 267 | .endif |
268 | | | 268 | |
269 | .if !empty(PKG_OPTIONS:Mvorbis) | | 269 | .if !empty(PKG_OPTIONS:Mvorbis) |
270 | CONFIGURE_ARGS+= --enable-libvorbis | | 270 | CONFIGURE_ARGS+= --enable-libvorbis |
271 | .else | | 271 | .else |
272 | CONFIGURE_ARGS+= --disable-libvorbis | | 272 | CONFIGURE_ARGS+= --disable-libvorbis |
273 | .endif | | 273 | .endif |
274 | | | 274 | |
275 | .if !empty(PKG_OPTIONS:Mx264) | | 275 | .if !empty(PKG_OPTIONS:Mx264) |
276 | CONFIGURE_ARGS+= --enable-x264 | | 276 | CONFIGURE_ARGS+= --enable-x264 |
| | | 277 | . include "../../multimedia/x264-devel/buildlink3.mk" |
277 | .else | | 278 | .else |
278 | CONFIGURE_ARGS+= --disable-x264 | | 279 | CONFIGURE_ARGS+= --disable-x264 |
279 | .endif | | 280 | .endif |
280 | | | 281 | |
281 | .if !empty(PKG_OPTIONS:Mxvid) | | 282 | .if !empty(PKG_OPTIONS:Mxvid) |
282 | CONFIGURE_ARGS+= --enable-xvid | | 283 | CONFIGURE_ARGS+= --enable-xvid |
283 | EXTRA_LIBS+= -lxvidcore | | 284 | EXTRA_LIBS+= -lxvidcore |
284 | . include "../../multimedia/xvidcore/buildlink3.mk" | | 285 | . include "../../multimedia/xvidcore/buildlink3.mk" |
285 | .else | | 286 | .else |
286 | CONFIGURE_ARGS+= --disable-xvid | | 287 | CONFIGURE_ARGS+= --disable-xvid |
287 | .endif | | 288 | .endif |
288 | | | 289 | |
289 | .if !empty(PKG_OPTIONS:Mmplayer-ssse3) | | 290 | .if !empty(PKG_OPTIONS:Mmplayer-ssse3) |