pkgsrc-Bugs archive

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

pkg/57099: audio/d11amp (new pkg)



>Number:         57099
>Category:       pkg
>Synopsis:       audio/d11amp (new pkg)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 10 10:05:00 +0000 2022
>Originator:     Thomas Dettbarn
>Release:        9.3
>Organization:
dettus.net
>Environment:
NetBSD netbsd 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
I recently started a new project, d11amp. It is a small, retro MP3 player, capable of loading Winamp Skins/Themes (whatever it is being called). 

Please, have a look. It would be wonderfull if it could become part of the official NetBSD pkgsrc tree.
>How-To-Repeat:

>Fix:
cvs diff: Diffing audio/d11amp
Index: audio/d11amp/DESCR
===================================================================
RCS file: audio/d11amp/DESCR
diff -N audio/d11amp/DESCR
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/d11amp/DESCR  10 Dec 2022 10:00:41 -0000
@@ -0,0 +1,2 @@
+D11AMP is is a frontend to MPG123, trying to resemble WinAmp,
+utilizing its treasure trove of themes.
Index: audio/d11amp/Makefile
===================================================================
RCS file: audio/d11amp/Makefile
diff -N audio/d11amp/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/d11amp/Makefile       10 Dec 2022 10:00:41 -0000
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+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: audio/d11amp/PLIST
===================================================================
RCS file: audio/d11amp/PLIST
diff -N audio/d11amp/PLIST
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/d11amp/PLIST  10 Dec 2022 10:00:41 -0000
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/d11amp
+man/man1/d11amp.1
Index: audio/d11amp/distinfo
===================================================================
RCS file: audio/d11amp/distinfo
diff -N audio/d11amp/distinfo
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/d11amp/distinfo       10 Dec 2022 10:00:41 -0000
@@ -0,0 +1,7 @@
+$NetBSD$
+
+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) = e2d544121d0728e4141553d9a0eb16e62ca60070
+SHA1 (patch-d11amp_1) = e88b388250890de4490af7f55430e4f504173f66
cvs diff: Diffing audio/d11amp/patches
Index: audio/d11amp/patches/patch-Makefile
===================================================================
RCS file: audio/d11amp/patches/patch-Makefile
diff -N audio/d11amp/patches/patch-Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/d11amp/patches/patch-Makefile 10 Dec 2022 10:00:41 -0000
@@ -0,0 +1,59 @@
+patches the makefile.
+--- Makefile.orig      2022-11-27 18:03:47.000000000 +0000
++++ Makefile   2022-12-09 14:51:55.647630004 +0000
+@@ -31,7 +31,7 @@
+ 
+ CC?=gcc
+ AR?=ar
+-CFLAGS= -O3 -Os
++CFLAGS?= -O3 -Os
+ #CFLAGS?=-O0 -g
+ CFLAGS+=-Wall
+ #CFLAGS+=-Werror
+@@ -40,26 +40,26 @@
+ 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 @@
+       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: audio/d11amp/patches/patch-d11amp_1
===================================================================
RCS file: audio/d11amp/patches/patch-d11amp_1
diff -N audio/d11amp/patches/patch-d11amp_1
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/d11amp/patches/patch-d11amp_1 10 Dec 2022 10:00:41 -0000
@@ -0,0 +1,16 @@
+--- d11amp.1.orig      2022-11-27 18:03:47.000000000 +0000
++++ d11amp.1   2022-12-09 14:53:32.588689533 +0000
+@@ -30,11 +30,11 @@
+ .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