pkgsrc-WIP-changes archive

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

cmusfm: Update to 0.3.3



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Wed Apr 8 12:41:31 2020 +0800
Changeset:	8d7ac7c09214919afee8e971382b7137f2b1ec8f

Modified Files:
	cmusfm/Makefile
	cmusfm/distinfo
Removed Files:
	cmusfm/patches/patch-src_server.c

Log Message:
cmusfm: Update to 0.3.3

https://github.com/Arkq/cmusfm/releases

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

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

diffstat:
 cmusfm/Makefile                   | 26 +++++++++++++-------------
 cmusfm/distinfo                   |  8 ++++----
 cmusfm/patches/patch-src_server.c | 14 --------------
 3 files changed, 17 insertions(+), 31 deletions(-)

diffs:
diff --git a/cmusfm/Makefile b/cmusfm/Makefile
index 91e348ef57..33bfea7b8f 100644
--- a/cmusfm/Makefile
+++ b/cmusfm/Makefile
@@ -1,31 +1,31 @@
-# $NetBSD: Makefile,v 1.1 2014/06/05 21:26:12 leot1990 Exp $
+# $NetBSD$
 
-DISTNAME=	cmusfm-0.2.0
+DISTNAME=	cmusfm-0.3.3
 CATEGORIES=	audio
-MASTER_SITES=	-https://github.com/Arkq/cmusfm/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Arkq/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/Arkq/cmusfm
 COMMENT=	Last.fm standalone scrobbler for the cmus music player
 LICENSE=	gnu-gpl-v3
 
-NO_CONFIGURE=	yes
-USE_TOOLS+=	gmake
+USE_TOOLS+=	autoconf automake pkg-config
+GNU_CONFIGURE=	yes
 
-SUBST_CLASSES+=		makefile
-SUBST_STAGE.makefile=	pre-build
-SUBST_MESSAGE.makefile=	Fixing Makefile.
-SUBST_FILES.makefile=	Makefile
-SUBST_SED.makefile+=	-e 's/gcc/${CC:Q}/'
-SUBST_SED.makefile+=	-e 's,^CFLAGS *=,CFLAGS +=,'
-SUBST_SED.makefile+=	-e 's,^LDFLAGS *=,LDFLAGS +=,'
+TOOL_DEPENDS+=	autoconf-archive-[0-9]*:../../devel/autoconf-archive
 
 INSTALLATION_DIRS=	bin ${DOCDIR}
 
 DOCDIR=			${PREFIX}/share/doc/cmusfm
 
+TEST_TARGET=		check
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -i
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cmusfm ${DESTDIR}${PREFIX}/bin/cmusfm
+	${INSTALL_PROGRAM} ${WRKSRC}/src/cmusfm ${DESTDIR}${PREFIX}/bin/cmusfm
 	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}
 
 .include "../../www/curl/buildlink3.mk"
diff --git a/cmusfm/distinfo b/cmusfm/distinfo
index 32a88e929f..934184a7ae 100644
--- a/cmusfm/distinfo
+++ b/cmusfm/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.1 2014/06/05 21:26:12 leot1990 Exp $
 
-SHA1 (cmusfm-0.2.0.tar.gz) = c7b8c4456ac256d6e8719ddad4e1e31f9990ad99
-RMD160 (cmusfm-0.2.0.tar.gz) = 2c9d5791b650413c2d3b24a77812c381ca13ce29
-Size (cmusfm-0.2.0.tar.gz) = 26036 bytes
-SHA1 (patch-src_server.c) = 5da49e932b453c1a378581042df6b604d8eb006d
+SHA1 (cmusfm-0.3.3.tar.gz) = da7698d9c048f6f0b6d5a7291a2c60af500ecc67
+RMD160 (cmusfm-0.3.3.tar.gz) = a83df9b8dff54ca4c9eacb8994ac37dfbae07e14
+SHA512 (cmusfm-0.3.3.tar.gz) = 6537905bdf09d04f09783237997536a1ee231ee4e589826d87f435c0dd7542dbd7d97167990bf949d2a9eb73c4a9a4da1bab17888de0aecedb2a63deaa873f39
+Size (cmusfm-0.3.3.tar.gz) = 37553 bytes
diff --git a/cmusfm/patches/patch-src_server.c b/cmusfm/patches/patch-src_server.c
deleted file mode 100644
index f4f3a38fb0..0000000000
--- a/cmusfm/patches/patch-src_server.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_server.c,v 1.1 2014/06/05 21:26:12 leot1990 Exp $
-
-mem*(3) and str*(3) used need <string.h>
-
---- src/server.c.orig	2014-05-08 15:59:02.000000000 +0000
-+++ src/server.c
-@@ -21,6 +21,7 @@
- #include <unistd.h>
- #include <stdlib.h>
- #include <stdio.h>
-+#include <string.h>
- #include <fcntl.h>
- #include <sys/socket.h>
- #include <sys/un.h>


Home | Main Index | Thread Index | Old Index