pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

spotify-qt: new package



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Sep 15 10:31:24 2020 +0200
Changeset:	9cda6cdae23ae4cd3326095619265a8080798428

Modified Files:
	Makefile
Added Files:
	spotify-qt/DESCR
	spotify-qt/Makefile
	spotify-qt/PLIST
	spotify-qt/distinfo

Log Message:
spotify-qt: new package

This is the first step towards adding GUI Spotify support on
NetBSD.

The client builds, installs and launches without issues but,
we still need a functional backend.
Unfortunately, `librespot` still fails to build for me, any
help fixing it would be highly appreciated. Please see,
/wip/librespot/TODO for details.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9cda6cdae23ae4cd3326095619265a8080798428

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 spotify-qt/DESCR    |  5 +++++
 spotify-qt/Makefile | 30 ++++++++++++++++++++++++++++++
 spotify-qt/PLIST    |  4 ++++
 spotify-qt/distinfo |  6 ++++++
 5 files changed, 46 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0851f384b4..28812eb802 100644
--- a/Makefile
+++ b/Makefile
@@ -4556,6 +4556,7 @@ SUBDIR+=	spidermonkey24
 SUBDIR+=	spidermonkey31
 SUBDIR+=	splix
 SUBDIR+=	spot
+SUBDIR+=	spotify-qt
 SUBDIR+=	spotifyd
 SUBDIR+=	spread4
 SUBDIR+=	spyder
diff --git a/spotify-qt/DESCR b/spotify-qt/DESCR
new file mode 100644
index 0000000000..c22e13fa01
--- /dev/null
+++ b/spotify-qt/DESCR
@@ -0,0 +1,5 @@
+A Spotify client using Qt as a simpler, lighter alternative to the official
+client, inspired by spotify-tui.
+Much like spotify-tui, you need an actual Spotify client running, which can be
+configured from within the app.
+Also like other clients, controlling music playback requires Spotify Premium.
diff --git a/spotify-qt/Makefile b/spotify-qt/Makefile
new file mode 100644
index 0000000000..80100a7abd
--- /dev/null
+++ b/spotify-qt/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=	spotify-qt-2.11
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kraxarn/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pin%NetBSD.org@localhost
+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]*:../../wip/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"
diff --git a/spotify-qt/PLIST b/spotify-qt/PLIST
new file mode 100644
index 0000000000..d29227b86f
--- /dev/null
+++ b/spotify-qt/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/spotify-qt
+share/applications/spotify-qt.desktop
+share/icons/hicolor/scalable/apps/spotify-qt.svg
diff --git a/spotify-qt/distinfo b/spotify-qt/distinfo
new file mode 100644
index 0000000000..f3089579d5
--- /dev/null
+++ b/spotify-qt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (spotify-qt-2.11.tar.gz) = a2829ab559ade761d10aa7d2479c4c1aeb9820f5
+RMD160 (spotify-qt-2.11.tar.gz) = ad263f79ab68b29569d17898709d563628ab5fb9
+SHA512 (spotify-qt-2.11.tar.gz) = 071a176410d412c1c716aaa46b60a293e1d5eee24259547da9e1f246163fab1f50a4b674cd9a3f2b284eca41e77542363adc7d4d8011ac1f9d99d9e5f8c553cf
+Size (spotify-qt-2.11.tar.gz) = 120999 bytes


Home | Main Index | Thread Index | Old Index