Makefile 1023 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.7 2017/05/31 08:08:15 espie Exp $
  2. COMMENT = Qt-based MPD client
  3. DISTNAME = cantata-2.0.1
  4. CATEGORIES = audio
  5. GH_TAGNAME= v2.0.1
  6. GH_ACCOUNT= CDrummond
  7. GH_PROJECT= cantata
  8. # GPLv2 only
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MODULES = devel/gettext \
  11. devel/cmake \
  12. x11/qt5
  13. RUN_DEPENDS += devel/desktop-file-utils
  14. RUN_DEPENDS += x11/gtk+3,-guic
  15. LIB_DEPENDS += audio/mpg123 \
  16. audio/speex \
  17. audio/libcddb \
  18. audio/libmusicbrainz5 \
  19. audio/taglib \
  20. x11/qt5/qtmultimedia \
  21. x11/qt5/qtsvg \
  22. devel/libmtp \
  23. graphics/ffmpeg
  24. WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Multimedia
  25. WANTLIB += Qt5Network Qt5Sql Qt5Svg Qt5Widgets Qt5Xml avcodec
  26. WANTLIB += avformat avutil c cdda_interface cdda_paranoia cddb
  27. WANTLIB += m mpg123 mtp musicbrainz5 pthread speexdsp tag z
  28. CONFIGURE_ARGS += -DCMAKE_INSTALL_PREFIX:Path=${PREFIX} \
  29. -DENABLE_LIBVLC=OFF \
  30. -DLRELEASE_EXECUTABLE:String=${MODQT_LRELEASE} \
  31. -DLCONVERT_EXECUTABLE:String=${LOCALBASE}/lib/qt5/bin/lconvert
  32. .include <bsd.port.mk>