2021-03-11 23:11:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2021/03/11 22:11:27 pin Exp $
|
2020-10-11 15:40:06 +02:00
|
|
|
|
2021-03-11 23:11:27 +01:00
|
|
|
DISTNAME= spotify-qt-3.5
|
2020-10-11 15:40:06 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=kraxarn/}
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/kraxarn/spotify-qt/
|
|
|
|
COMMENT= Lightweight Spotify client using Qt
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_LANGUAGES= c++
|
|
|
|
|
|
|
|
CONFIGURE_DIRS= build
|
|
|
|
CMAKE_ARG_PATH= ..
|
|
|
|
|
|
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
|
|
|
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${MKDIR} -p ${WRKSRC}/build
|
|
|
|
|
|
|
|
DEPENDS+= librespot-[0-9]*:../../audio/librespot
|
|
|
|
|
|
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qtsvg/buildlink3.mk"
|
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|