File:
[cvs.NetBSD.org] /
pkgsrc /
graphics /
eom /
options.mk
Revision
1.7:
download - view:
text,
annotated -
select for diffs
Mon Sep 2 13:20:18 2019 UTC (5 years, 3 months ago) by
adam
Branches:
MAIN
CVS tags:
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
HEAD
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8
# $NetBSD: options.mk,v 1.7 2019/09/02 13:20:18 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.eog
PKG_SUPPORTED_OPTIONS= dbus exif jpeg lcms rsvg xmp
PKG_SUGGESTED_OPTIONS= dbus exif jpeg lcms rsvg xmp
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../sysutils/dbus-glib/buildlink3.mk"
CONFIGURE_ARGS+= --with-dbus
.else
CONFIGURE_ARGS+= --without-dbus
.endif
.if !empty(PKG_OPTIONS:Mexif)
.include "../../graphics/libexif/buildlink3.mk"
CONFIGURE_ARGS+= --with-libexif
.else
CONFIGURE_ARGS+= --without-libexif
.endif
.if !empty(PKG_OPTIONS:Mjpeg)
.include "../../mk/jpeg.buildlink3.mk"
CONFIGURE_ARGS+= --with-libjpeg
.else
CONFIGURE_ARGS+= --without-libjpeg
.endif
.if !empty(PKG_OPTIONS:Mlcms)
.include "../../graphics/lcms2/buildlink3.mk"
CONFIGURE_ARGS+= --with-cms
.include "../../graphics/libexif/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-cms
.endif
# The python option is logically impossible right now. This option sets python
# 3.x as being incompatible, yet eom depends on libpeas which itself sets 2.x
# as being incompatible, leaving us with no remaining choices.
.if !empty(PKG_OPTIONS:Mpython)
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
.include "../../lang/python/extension.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../devel/py-gobject/buildlink3.mk"
CONFIGURE_ARGS+= --enable-python
.else
CONFIGURE_ARGS+= --disable-python
.endif
.if !empty(PKG_OPTIONS:Mrsvg)
.include "../../graphics/librsvg/buildlink3.mk"
CONFIGURE_ARGS+= --with-librsvg
.else
CONFIGURE_ARGS+= --without-librsvg
.endif
.if !empty(PKG_OPTIONS:Mxmp)
.include "../../devel/exempi/buildlink3.mk"
CONFIGURE_ARGS+= --with-xmp
.else
CONFIGURE_ARGS+= --without-xmp
.endif
CVSweb <webmaster@jp.NetBSD.org>