mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-20 09:58:24 -04:00
36 lines
889 B
Makefile
36 lines
889 B
Makefile
# $NetBSD: options.mk,v 1.6 2016/07/09 13:03:32 wiz Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.streamtuner
|
|
PKG_SUPPORTED_OPTIONS= streamtuner-local streamtuner-xiph python
|
|
PKG_SUGGESTED_OPTIONS= streamtuner-local streamtuner-xiph
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= local python xiph
|
|
|
|
.if !empty(PKG_OPTIONS:Mstreamtuner-local)
|
|
PLIST.local= yes
|
|
CONFIGURE_ARGS+= --enable-local
|
|
. include "../../audio/taglib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-local
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mstreamtuner-xiph)
|
|
PLIST.xiph= yes
|
|
CONFIGURE_ARGS+= --enable-xiph
|
|
. include "../../textproc/libxml2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-xiph
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
PLIST.python= yes
|
|
CONFIGURE_ARGS+= --enable-python
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # py-gtk2
|
|
. include "../../x11/py-gtk2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-python
|
|
.endif
|