File:  [cvs.NetBSD.org] / pkgsrc / audio / librespot / Makefile
Revision 1.20: download - view: text, annotated - select for diffs
Mon May 23 21:08:34 2022 UTC (2 years, 6 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, HEAD
audio/librespot: update to 0.4.1

0.4.1 - 2022-05-23
Changed
    [chore] The MSRV is now 1.56

Fixed
    [playback] Fixed dependency issues when installing from crate

# $NetBSD: Makefile,v 1.20 2022/05/23 21:08:34 pin Exp $

DISTNAME=	librespot-0.4.1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_GITHUB:=librespot-org/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pin@NetBSD.org
HOMEPAGE=	https://github.com/librespot-org/librespot/
COMMENT=	Open Source Spotify client library
LICENSE=	mit

.include "cargo-depends.mk"

USE_TOOLS+=		pkg-config

INSTALLATION_DIRS=	bin

CARGO_NO_DEFAULT_FEATURES=	yes

.include "options.mk"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/librespot \
		${DESTDIR}${PREFIX}/bin

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>