blob: 0ee9b4118630f258acfce3c9ce626f885337e5fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.32 2022/03/10 08:05:04 pin Exp $
DISTNAME= termusic-0.6.11
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=tramhao/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/tramhao/termusic/
COMMENT= Music Player TUI written in Rust
LICENSE= mit AND gnu-gpl-v3
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gstreamer1}/lib
CARGO_NO_DEFAULT_FEATURES= YES
CARGO_FEATURES+= gst
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/termusic ${DESTDIR}${PREFIX}/bin
DEPENDS+= gst-plugins1-libav-[0-9]*:../../multimedia/gst-plugins1-libav
DEPENDS+= gstreamer1-default-backend-[0-9]*:../../meta-pkgs/gstreamer1-default-backend
DEPENDS+= yt-dlp-[0-9]*:../../net/yt-dlp
.include "../../lang/rust/cargo.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../multimedia/gst-plugins1-good/buildlink3.mk"
.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
.include "../../multimedia/gst-plugins1-ugly/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|