Maintenance -Fix crash when saving track or opening similar tracks (#661) Features -Introduce cache file format version indicator. Will reload cache when file format had breaking changes.
35 lines
928 B
Makefile
35 lines
928 B
Makefile
# $NetBSD: Makefile,v 1.31 2021/12/02 11:43:22 pin Exp $
|
|
|
|
DISTNAME= ncspot-0.9.2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=hrkfdn/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/hrkfdn/ncspot/
|
|
COMMENT= Cross-platform ncurses Spotify client written in Rust
|
|
LICENSE= 2-clause-bsd
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_LANGUAGES+= c c++
|
|
USE_TOOLS+= pkg-config
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
|
|
|
|
CARGO_NO_DEFAULT_FEATURES= YES
|
|
|
|
.include "options.mk"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/ncspot ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/python/tool.mk"
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|