Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.38 2017/04/04 21:23:06 ajacoutot Exp $
  2. COMMENT = GLib ICE implementation
  3. DISTNAME = libnice-0.1.14
  4. SHARED_LIBS += nice 3.0 # 17.0
  5. CATEGORIES = net
  6. HOMEPAGE = http://nice.freedesktop.org/
  7. MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
  8. Antoine Jacoutot <ajacoutot@openbsd.org>
  9. # LGPLv2.1/MPLv1.1
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gmp gnutls gobject-2.0
  12. WANTLIB += gssdp-1.0 gstbase-1.0 gstreamer-1.0 gthread-2.0 gupnp-1.0
  13. WANTLIB += gupnp-igd-1.0 hogweed iconv idn2 intl lzma m nettle
  14. WANTLIB += p11-kit pcre pthread soup-2.4 sqlite3 tasn1 unistring
  15. WANTLIB += xml2 z
  16. MASTER_SITES = http://nice.freedesktop.org/releases/
  17. BUILD_DEPENDS = devel/gobject-introspection
  18. LIB_DEPENDS = multimedia/gstreamer1/core \
  19. net/gupnp/igd
  20. CONFIGURE_STYLE = gnu
  21. CONFIGURE_ARGS = --with-gstreamer \
  22. --without-gstreamer-0.10
  23. USE_GMAKE = Yes
  24. # configure sets -Werror
  25. CFLAGS += -Wno-error
  26. PORTHOME = ${WRKBUILD}
  27. post-install:
  28. rm ${PREFIX}/lib/gstreamer-1.0/*.{a,la}
  29. # don't install example binaries
  30. rm ${PREFIX}/bin/*-example
  31. .include <bsd.port.mk>