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.
This commit is contained in:
pin 2020-09-15 10:31:24 +02:00
parent 5eb4d6ac15
commit 9cda6cdae2
5 changed files with 46 additions and 0 deletions

View File

@ -4556,6 +4556,7 @@ SUBDIR+= spidermonkey24
SUBDIR+= spidermonkey31
SUBDIR+= splix
SUBDIR+= spot
SUBDIR+= spotify-qt
SUBDIR+= spotifyd
SUBDIR+= spread4
SUBDIR+= spyder

5
spotify-qt/DESCR Normal file
View File

@ -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.

30
spotify-qt/Makefile Normal file
View File

@ -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
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"

4
spotify-qt/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $NetBSD$
bin/spotify-qt
share/applications/spotify-qt.desktop
share/icons/hicolor/scalable/apps/spotify-qt.svg

6
spotify-qt/distinfo Normal file
View File

@ -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