Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # $OpenBSD: Makefile,v 1.38 2017/04/10 11:45:23 sthen Exp $
  2. COMMENT = bundle of plugins for gmpc
  3. VERSION = 11.8.16
  4. DISTNAME = gmpc-plugins-${VERSION}
  5. REVISION = 7
  6. CATEGORIES = audio
  7. MAINTAINER = Landry Breuil <landry@openbsd.org>
  8. HOMEPAGE = http://gmpclient.org/plugins
  9. MASTER_SITES = http://www.musicpd.org/download/gmpc-plugins/${VERSION}/
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  13. WANTLIB += Xrandr Xrender atk-1.0 avahi-client avahi-common avahi-glib
  14. WANTLIB += cairo dbus-1 dbus-glib-1 expat ffi fontconfig freetype
  15. WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
  16. WANTLIB += gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0 harfbuzz
  17. WANTLIB += iconv intl lzma m mpd pango-1.0 pangocairo-1.0 pangoft2-1.0
  18. WANTLIB += pcre pixman-1 png pthread pthread-stubs sqlite3 ${LIBCXX}
  19. WANTLIB += tag tag_c xcb xcb-render xcb-shm xml2 z
  20. MODULES = textproc/intltool
  21. LIB_DEPENDS = audio/taglib \
  22. x11/dbus-glib
  23. RUN_DEPENDS = audio/gmpc>=${VERSION} \
  24. audio/vorbis-tools
  25. BUILD_DEPENDS = audio/gmpc>=${VERSION} \
  26. audio/vorbis-tools \
  27. x11/gob2
  28. USE_GMAKE = Yes
  29. LIBTOOL_FLAGS = --tag=disable-static
  30. CONFIGURE_STYLE = gnu
  31. CONFIGURE_ARGS= --disable-mserver \
  32. --disable-mmkeys \
  33. --disable-lirc \
  34. --disable-wikipedia
  35. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  36. LDFLAGS="-L${LOCALBASE}/lib -liconv"
  37. post-install:
  38. rm ${PREFIX}/lib/gmpc/plugins/*.la
  39. .include <bsd.port.mk>