pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/d11amp
Module Name: pkgsrc
Committed By: wiz
Date: Sat Dec 10 12:50:58 UTC 2022
Added Files:
pkgsrc/audio/d11amp: DESCR Makefile PLIST distinfo
pkgsrc/audio/d11amp/patches: patch-Makefile patch-d11amp.1
Log Message:
audio/d11amp: import d11amp-0.59
>From Thomas Dettbarn in PR 57099.
D11AMP is is a frontend to MPG123, trying to resemble WinAmp,
utilizing its treasure trove of themes.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/d11amp/DESCR pkgsrc/audio/d11amp/Makefile \
pkgsrc/audio/d11amp/PLIST pkgsrc/audio/d11amp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/d11amp/patches/patch-Makefile \
pkgsrc/audio/d11amp/patches/patch-d11amp.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/audio/d11amp/DESCR
diff -u /dev/null pkgsrc/audio/d11amp/DESCR:1.1
--- /dev/null Sat Dec 10 12:50:58 2022
+++ pkgsrc/audio/d11amp/DESCR Sat Dec 10 12:50:58 2022
@@ -0,0 +1,2 @@
+D11AMP is is a frontend to MPG123, trying to resemble WinAmp,
+utilizing its treasure trove of themes.
Index: pkgsrc/audio/d11amp/Makefile
diff -u /dev/null pkgsrc/audio/d11amp/Makefile:1.1
--- /dev/null Sat Dec 10 12:50:58 2022
+++ pkgsrc/audio/d11amp/Makefile Sat Dec 10 12:50:58 2022
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2022/12/10 12:50:58 wiz Exp $
+
+DISTNAME= d11amp_0.59
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= audio
+MASTER_SITES= https://www.dettus.net/d11amp/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= dettus%dettus.net@localhost
+HOMEPAGE= https://www.dettus.net/d11amp/
+COMMENT= Simple MP3 player
+LICENSE= 2-clause-bsd
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+USE_TOOLS+= pkg-config
+
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/d11amp ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/d11amp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+## The idea of this test is to check if the output is the expected one.
+## for this, the sha256sum is being compared.
+do-test:
+ cd ${WRKSRC} && ${MAKE} SHA256_CMD=sha256 TMP_DIR=/tmp/d11amp check
+
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../x11/gtk4/buildlink3.mk"
+.include "../../archivers/libzip/buildlink3.mk"
+.include "../../audio/mpg123/buildlink3.mk"
+.include "../../audio/portaudio/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/d11amp/PLIST
diff -u /dev/null pkgsrc/audio/d11amp/PLIST:1.1
--- /dev/null Sat Dec 10 12:50:58 2022
+++ pkgsrc/audio/d11amp/PLIST Sat Dec 10 12:50:58 2022
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/10 12:50:58 wiz Exp $
+bin/d11amp
+man/man1/d11amp.1
Index: pkgsrc/audio/d11amp/distinfo
diff -u /dev/null pkgsrc/audio/d11amp/distinfo:1.1
--- /dev/null Sat Dec 10 12:50:58 2022
+++ pkgsrc/audio/d11amp/distinfo Sat Dec 10 12:50:58 2022
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2022/12/10 12:50:58 wiz Exp $
+
+BLAKE2s (d11amp_0.59.tar.bz2) = 81cf38c1e3e9f177a8c57a0e7a5e4d5a2afc171d8ad1aab643281f1903f8e782
+SHA512 (d11amp_0.59.tar.bz2) = 5a663bf185477956cc24ba988170876935f7cfc81674a283ad086124f992978c0006f652df21e5fb4476479abaacf40ec4db82e18ec2069d99c6a1f229b9f81b
+Size (d11amp_0.59.tar.bz2) = 73479 bytes
+SHA1 (patch-Makefile) = b65e8cdf585be261ba2b3010dd25c31d9c819149
+SHA1 (patch-d11amp.1) = 3cd843d7c538d4830ac42140a4285650a1e51b55
Index: pkgsrc/audio/d11amp/patches/patch-Makefile
diff -u /dev/null pkgsrc/audio/d11amp/patches/patch-Makefile:1.1
--- /dev/null Sat Dec 10 12:50:58 2022
+++ pkgsrc/audio/d11amp/patches/patch-Makefile Sat Dec 10 12:50:58 2022
@@ -0,0 +1,62 @@
+$NetBSD: patch-Makefile,v 1.1 2022/12/10 12:50:58 wiz Exp $
+
+Don't override CFLAGS/LDFLAGS.
+
+--- Makefile.orig 2022-11-27 18:03:47.000000000 +0000
++++ Makefile
+@@ -31,7 +31,7 @@ INSTALLMAN=$(PREFIX)/share/man
+
+ CC?=gcc
+ AR?=ar
+-CFLAGS= -O3 -Os
++CFLAGS?= -O3 -Os
+ #CFLAGS?=-O0 -g
+ CFLAGS+=-Wall
+ #CFLAGS+=-Werror
+@@ -40,26 +40,26 @@ INCFLAGS= -I$(PROJ_HOME)src/
+ LINK=$(CC)
+
+ # Library gdk-pixbuf
+-LDFLAGS+= `pkg-config --libs gdk-pixbuf-2.0`
+-CFLAGS+= `pkg-config --cflags gdk-pixbuf-2.0`
++LINKFLAGS+= `pkg-config --libs gdk-pixbuf-2.0`
++INCFLAGS+= `pkg-config --cflags gdk-pixbuf-2.0`
+
+ # Library: gtk4
+-LDFLAGS+= `pkg-config --libs gtk4`
+-CFLAGS+= `pkg-config --cflags gtk4`
++LINKFLAGS+= `pkg-config --libs gtk4`
++INCFLAGS+= `pkg-config --cflags gtk4`
+
+ # Library: libMPG123
+-LDFLAGS+= `pkg-config --libs libmpg123`
+-CFLAGS+= `pkg-config --cflags libmpg123`
++LINKFLAGS+= `pkg-config --libs libmpg123`
++INCFLAGS+= `pkg-config --cflags libmpg123`
+
+ # Library: portaudio
+-LDFLAGS+= `pkg-config --libs portaudio-2.0`
+-CFLAGS+= `pkg-config --cflags portaudio-2.0`
++LINKFLAGS+= `pkg-config --libs portaudio-2.0`
++INCFLAGS+= `pkg-config --cflags portaudio-2.0`
+
+ # Library: libzip
+-LDFLAGS+= `pkg-config --libs libzip`
+-CFLAGS+= `pkg-config --cflags libzip`
++LINKFLAGS+= `pkg-config --libs libzip`
++INCFLAGS+= `pkg-config --cflags libzip`
+
+-LDFLAGS+=-lpthread -lm
++LINKFLAGS+=-lpthread -lm
+
+
+
+@@ -125,7 +125,7 @@ install: d11amp d11amp.1
+ cp d11amp.1 $(INSTALLMAN)/man1/
+
+ d11amp: $(OBJFILES)
+- $(LINK) -o $@ $(OBJFILES) $(LDFLAGS)
++ $(LINK) -o $@ $(OBJFILES) $(LINKFLAGS) $(LDFLAGS)
+
+ .c.o:
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) $(INCFLAGS) -c -o $@ $<
Index: pkgsrc/audio/d11amp/patches/patch-d11amp.1
diff -u /dev/null pkgsrc/audio/d11amp/patches/patch-d11amp.1:1.1
--- /dev/null Sat Dec 10 12:50:58 2022
+++ pkgsrc/audio/d11amp/patches/patch-d11amp.1 Sat Dec 10 12:50:58 2022
@@ -0,0 +1,20 @@
+$NetBSD: patch-d11amp.1,v 1.1 2022/12/10 12:50:58 wiz Exp $
+
+Fix typos.
+
+--- d11amp.1.orig 2022-11-27 18:03:47.000000000 +0000
++++ d11amp.1
+@@ -30,11 +30,11 @@ is a frontend to MPG123, trying to resem
+ .Nm
+ .Op --audiooutput.portaudio.device=NUMBER
+ .br
+-The audio output is being handled through the portaudio library. This allows to select any audio output present in the device on which
++The audio output is being handled through the portaudio library. This allows one to select any audio output present in the device on which
+ .Nm
+ has been started. The outputs are identified through a number, and a list of available outputs can be seen by using a question mark instead of the number.
+ .br
+-The default audio output device can be adressed by using -1.
++The default audio output device can be addressed by using -1.
+ .Pp
+ .Nm
+ .Op --bsd
Home |
Main Index |
Thread Index |
Old Index