Makefile 878 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.7 2017/04/10 11:45:23 sthen Exp $
  2. COMMENT = Qt-based C++ library for the Last.fm webservices
  3. V = 1.0.9
  4. DISTNAME = $V
  5. PKGNAME = liblastfm-$V
  6. CATEGORIES = audio devel net
  7. REVISION = 0
  8. HOMEPAGE = https://github.com/lastfm/liblastfm
  9. MAINTAINER = Vadim Zhukov <zhuk@openbsd.org>
  10. SHARED_LIBS = lastfm 1.0
  11. SHARED_LIBS += lastfm_fingerprint 1.0
  12. # GPLv3
  13. PERMIT_PACKAGE_CDROM = Yes
  14. # archives are stable but naming scheme sucks, thus DIST_SUBDIR
  15. MASTER_SITES = ${HOMEPAGE}/archive/
  16. DIST_SUBDIR = liblastfm
  17. WRKDIST = ${WRKDIR}/${PKGNAME}
  18. WANTLIB = lib/qt4/QtDBus lib/qt4/QtNetwork lib/qt4/QtSql lib/qt4/QtXml
  19. WANTLIB += fftw3f c m pthread samplerate ${LIBCXX}
  20. LIB_DEPENDS = audio/libsamplerate \
  21. math/fftw3,float
  22. MODULES = devel/cmake x11/qt4
  23. CONFIGURE_ARGS = -DBUILD_WITH_QT4=On
  24. # network access
  25. TEST_IS_INTERACTIVE = Yes
  26. .include <bsd.port.mk>