pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/mpdas Update to mpdas-0.4.5
details: https://anonhg.NetBSD.org/pkgsrc/rev/e22a49e48df9
branches: trunk
changeset: 770388:e22a49e48df9
user: pho <pho%pkgsrc.org@localhost>
date: Tue Nov 30 10:34:58 2021 +0000
description:
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
diffstat:
audio/mpdas/Makefile | 12 ++++++------
audio/mpdas/distinfo | 9 ++++-----
audio/mpdas/patches/patch-Makefile | 15 ---------------
3 files changed, 10 insertions(+), 26 deletions(-)
diffs (70 lines):
diff -r 31cbea8a1ac0 -r e22a49e48df9 audio/mpdas/Makefile
--- a/audio/mpdas/Makefile Tue Nov 30 10:00:05 2021 +0000
+++ b/audio/mpdas/Makefile Tue Nov 30 10:34:58 2021 +0000
@@ -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@localhost
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 @@
${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 -r 31cbea8a1ac0 -r e22a49e48df9 audio/mpdas/distinfo
--- a/audio/mpdas/distinfo Tue Nov 30 10:00:05 2021 +0000
+++ b/audio/mpdas/distinfo Tue Nov 30 10:34:58 2021 +0000
@@ -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 -r 31cbea8a1ac0 -r e22a49e48df9 audio/mpdas/patches/patch-Makefile
--- a/audio/mpdas/patches/patch-Makefile Tue Nov 30 10:00:05 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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`
Home |
Main Index |
Thread Index |
Old Index