head 1.4; access; symbols pkgsrc-2021Q3:1.3.0.46 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.44 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.42 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.40 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.38 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.34 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.14 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.36 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.32 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.30 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.28 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.26 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.24 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.22 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.20 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.18 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.16 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.12 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.10 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.8 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.6 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.4 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2014Q2:1.1.1.1.0.28 pkgsrc-2014Q2-base:1.1.1.1 pkgsrc-2014Q1:1.1.1.1.0.26 pkgsrc-2014Q1-base:1.1.1.1 pkgsrc-2013Q4:1.1.1.1.0.24 pkgsrc-2013Q4-base:1.1.1.1 pkgsrc-2013Q3:1.1.1.1.0.22 pkgsrc-2013Q3-base:1.1.1.1 pkgsrc-2013Q2:1.1.1.1.0.20 pkgsrc-2013Q2-base:1.1.1.1 pkgsrc-2013Q1:1.1.1.1.0.18 pkgsrc-2013Q1-base:1.1.1.1 pkgsrc-2012Q4:1.1.1.1.0.16 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.14 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.12 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.10 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.8 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.6 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.4 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.2 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2021.11.30.10.34.58; author pho; state dead; branches; next 1.3; commitid dfh4Vfdly6ls2OiD; 1.3 date 2016.04.01.21.55.07; author jperkin; state Exp; branches; next 1.2; commitid yfvVSS5mXqT3jY0z; 1.2 date 2014.07.16.20.42.46; author gls; state dead; branches; next 1.1; commitid 14Nkl2SWXYkIZDIx; 1.1 date 2011.02.02.21.35.35; author gls; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.02.02.21.35.35; author gls; state Exp; branches; next ; desc @@ 1.4 log @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 @ text @$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` @ 1.3 log @Support PKGMANDIR. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update audio/mpdas to 0.3.1. Bugfix release. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2011/02/02 21:35:35 gls Exp $ d3 1 a3 1 Fix installation dirs d5 1 a5 1 --- Makefile.orig 2010-11-22 01:15:12.000000000 +0000 d7 9 a15 11 @@@@ -27,8 +27,8 @@@@ clean: rm -rf $(OBJ) $(OUT) install: all - install mpdas ${PREFIX}/bin - install -m 644 mpdas.1 ${MANPREFIX}/mpdas.1 + install mpdas ${DESTDIR}${PREFIX}/bin + install -m 644 mpdas.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mpdas.1 uninstall: -rm ${PREFIX}/bin/mpdas @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import audio/mpdas, version 0.3.0, into the NetBSD Packages Collection. mpdas is an AudioScrobbler client for MPD written in C++. It uses libcurl and libmpd. It supports the latest AudioScrobbler protocol (2.0). In case of a downtime or connectivity problems, mpdas will cache the played songs to ~/.mpdascache. Features: - Sets now-playing status - Scrobbling (obviously) - Caching - Config files - User switching @ text @@