diff options
author | pho <pho@pkgsrc.org> | 2021-11-30 10:34:58 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2021-11-30 10:34:58 +0000 |
commit | c3392dd60434340f2cec96f3ba2448661db2bc7f (patch) | |
tree | ad2e058e575ffe0dc370f9ec7e20d3c5126c69ef | |
parent | e3fc778a345f1c0fc8f6275bce025f26f959fac4 (diff) | |
download | pkgsrc-c3392dd60434340f2cec96f3ba2448661db2bc7f.tar.gz |
Update to mpdas-0.4.5
* mpdas-0.4.5
Remove C++11 code to fix compilation for older compilers
Re-add older authentication to fix scrobbling for Libre.fm (#43)
Also submit album artist if set in metadata (#48)
Some refactoring
* mpdas-0.4.4
Fix parsing of passwords containing special characters
Fix handshake bug caused by passwords containing special characters such as ampersands
Also load configuration file from $XDG_CONFIG_HOME/mpdasrc or ~/.config/mpdasrc, if the former is not set
* mpdas-0.4.3
Use HTTPS for communication
Move away from the deprecated authToken authentication.
NOTE: This requires you to change your configuration. Your Last.fm password now needs to be set as plaintext, not an MD5 hash (as before).
* mpdas-0.4.2
LibreFM support
MPD message command to unlove tracks
Bug fixes (better timeout/cURL error handling)
* mpdas-0.4.1
Fix memory leak (see #27)
* mpdas-0.4.0
Feature: A track can be set as 'loved' on Last.fm
e.g. with 'mpc sendmessage mpdas love'
Migrate to libmpdclient instead of deprecated libmpd along with some code refactoring
Fix typo that would result in an incorrent setgid()-call
Fix in the handshake to communicate properly with the new Last.fm site
Several other crash fixes and optimizations
-rw-r--r-- | audio/mpdas/Makefile | 12 | ||||
-rw-r--r-- | audio/mpdas/distinfo | 9 | ||||
-rw-r--r-- | audio/mpdas/patches/patch-Makefile | 15 |
3 files changed, 10 insertions, 26 deletions
diff --git a/audio/mpdas/Makefile b/audio/mpdas/Makefile index 9cd3dd1bb4c..c48e360734a 100644 --- a/audio/mpdas/Makefile +++ b/audio/mpdas/Makefile @@ -1,19 +1,20 @@ -# $NetBSD: Makefile,v 1.34 2021/11/26 15:23:04 pho Exp $ +# $NetBSD: Makefile,v 1.35 2021/11/30 10:34:58 pho Exp $ # -DISTNAME= mpdas-0.3.2 -PKGREVISION= 20 +DISTNAME= mpdas-0.4.5 CATEGORIES= audio MASTER_SITES= http://50hz.ws/mpdas/ MAINTAINER= gls@NetBSD.org HOMEPAGE= https://50hz.ws/mpdas/ -COMMENT= Mpdas is an AudioScrobbler client for MPD written in C++ +COMMENT= AudioScrobbler client for MPD written in C++ LICENSE= modified-bsd USE_TOOLS+= pkg-config USE_LANGUAGES= c++03 +MAKE_FLAGS+= MANPREFIX="${PREFIX}/${PKGMANDIR}/man1" + INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${DOCDIR} ${EGDIR} RCD_SCRIPTS= mpdas DOCDIR= share/doc/mpdas @@ -28,7 +29,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/mpdasrc.example \ ${DESTDIR}${PREFIX}/${EGDIR} -.include "../../audio/libmpd/buildlink3.mk" -.include "../../devel/glib2/buildlink3.mk" +.include "../../audio/libmpdclient/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/mpdas/distinfo b/audio/mpdas/distinfo index f1a0c8c7c67..1f1052d847d 100644 --- a/audio/mpdas/distinfo +++ b/audio/mpdas/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.7 2021/10/26 09:59:16 nia Exp $ +$NetBSD: distinfo,v 1.8 2021/11/30 10:34:58 pho Exp $ -BLAKE2s (mpdas-0.3.2.tar.gz) = 93b070b6d4b9dcbbedf79829949ea21cdabc36d201cf51a22de7a7c0301d1203 -SHA512 (mpdas-0.3.2.tar.gz) = b7bc6a78d9a531684a0b59d6e5b6b9701948d10650f567bfebd7eb408d4f22b8c5aed4ddd9b08968aca828ae59b22404bb19c552fc25cf50cdf8adbd7cd77771 -Size (mpdas-0.3.2.tar.gz) = 14143 bytes -SHA1 (patch-Makefile) = c4f684b4e06699615f31c2a9297421c059af6d1f +BLAKE2s (mpdas-0.4.5.tar.gz) = 97c909ed6d2d2d855d6c5b1fbdeb2c115e6d671dc77c94e4db7ad6bed3a3f365 +SHA512 (mpdas-0.4.5.tar.gz) = 18737f20b408a38424c46a611a1184e8e9ab78d1c3bddddc37423c8437007b87c343dfe03fd989c9c54dcc532ed1f567ba854d2ba8e12f344399267dc83daaab +Size (mpdas-0.4.5.tar.gz) = 19108 bytes diff --git a/audio/mpdas/patches/patch-Makefile b/audio/mpdas/patches/patch-Makefile deleted file mode 100644 index 8b50f5fd189..00000000000 --- a/audio/mpdas/patches/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-Makefile,v 1.3 2016/04/01 21:55:07 jperkin Exp $ - -Support PKGMANDIR. - ---- Makefile.orig 2014-09-26 13:34:00.000000000 +0000 -+++ Makefile -@@ -4,7 +4,7 @@ CXX ?= g++ - OBJ = main.o md5.o utils.o mpd.o audioscrobbler.o cache.o config.o - OUT = mpdas - PREFIX ?= /usr/local --MANPREFIX ?= ${PREFIX}/man/man1 -+MANPREFIX ?= ${PREFIX}/${PKGMANDIR}/man1 - CONFIG ?= $(PREFIX)/etc - - CXXFLAGS += `pkg-config --cflags libmpd libcurl` |