summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-05-20 20:00:01 +0000
committeradam <adam@pkgsrc.org>2014-05-20 20:00:01 +0000
commit32f690282816b645712d2beecdd8a551d78c78f6 (patch)
tree679fa328541d20d5d01756f560dfdbb9b7a90ee0 /audio
parent883bd2a47f75b1fc6d4c32ae9bb3ec6e41b635f8 (diff)
downloadpkgsrc-32f690282816b645712d2beecdd8a551d78c78f6.tar.gz
Makefile
Diffstat (limited to 'audio')
-rw-r--r--audio/libmpg123/DESCR1
-rw-r--r--audio/libmpg123/Makefile28
-rw-r--r--audio/libmpg123/Makefile.common34
-rw-r--r--audio/libmpg123/Makefile.version8
-rw-r--r--audio/libmpg123/PLIST4
-rw-r--r--audio/libmpg123/buildlink3.mk12
-rw-r--r--audio/libmpg123/distinfo9
-rw-r--r--audio/libmpg123/options.mk40
-rw-r--r--audio/libmpg123/patches/patch-aa17
-rw-r--r--audio/libmpg123/patches/patch-ab22
-rw-r--r--audio/libmpg123/patches/patch-ac13
-rw-r--r--audio/libmpg123/patches/patch-ad33
12 files changed, 0 insertions, 221 deletions
diff --git a/audio/libmpg123/DESCR b/audio/libmpg123/DESCR
deleted file mode 100644
index 342f988365f..00000000000
--- a/audio/libmpg123/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-This package provides the mpg123 project's core decoder library.
diff --git a/audio/libmpg123/Makefile b/audio/libmpg123/Makefile
deleted file mode 100644
index 24b420e66fd..00000000000
--- a/audio/libmpg123/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2012/10/21 10:27:14 cheusov Exp $
-#
-
-.include "../../audio/libmpg123/Makefile.common"
-
-PKGNAME= libmpg123-${LIBMPG123_VERSION}
-COMMENT= MPEG layer 1, 2, and 3 decoder library
-MAINTAINER= pkgsrc-users@NetBSD.org
-LICENSE= gnu-lgpl-v2
-
-PKGCONFIG_OVERRIDE+= libmpg123.pc.in
-
-AUTO_MKDIRS= yes
-
-BUILD_DIRS= src/libmpg123
-INSTALL_DIRS= src/libmpg123
-
-post-extract:
- ${ECHO} "#!${CONFIG_SHELL}${.newline}${TRUE}" > \
- ${WRKSRC}/libltdl/configure
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/libmpg123.pc \
- ${DESTDIR}${PREFIX}/lib/pkgconfig
-
-.include "options.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libmpg123/Makefile.common b/audio/libmpg123/Makefile.common
deleted file mode 100644
index e61f71396b9..00000000000
--- a/audio/libmpg123/Makefile.common
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile.common,v 1.3 2012/10/21 10:27:14 cheusov Exp $
-#
-# used by audio/libmpg123/Makefile
-
-.include "../../audio/libmpg123/Makefile.version"
-
-DISTNAME= mpg123-${MPG123_DISTVERSION}
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
-EXTRACT_SUFX= .tar.bz2
-
-HOMEPAGE= http://mpg123.sourceforge.net/
-
-
-GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config
-USE_LIBTOOL= yes
-
-CONFIGURE_ARGS+= --enable-fifo=yes
-CONFIGURE_ARGS+= --enable-modules=yes
-CONFIGURE_ARGS+= --enable-network=yes
-CONFIGURE_ARGS+= --enable-gapless=yes
-###
-### XXX Use pkgsrc-provided CFLAGS.
-###
-CONFIGURE_ARGS+= --with-optimization=0
-CFLAGS+= ${COPTS.mpg123:U${COPTS}}
-###
-### XXX This should be set to 'no' for platforms where it is required.
-### It's easier doing this here than patching configure.
-MPG123_XFERMEM= yes
-.if !empty(MPG123_XFERMEM:tl:Myes)
-BUILDLINK_TRANSFORM+= rm:-DNO_XFERMEM
-.endif
diff --git a/audio/libmpg123/Makefile.version b/audio/libmpg123/Makefile.version
deleted file mode 100644
index c690c558ea8..00000000000
--- a/audio/libmpg123/Makefile.version
+++ /dev/null
@@ -1,8 +0,0 @@
-# $NetBSD: Makefile.version,v 1.2 2008/10/15 01:58:53 bjs Exp $
-#
-
-MPG123_DISTVERSION= 1.5.1
-###
-### This version number is found as LIBMPG123_VERSION in configure.ac.
-###
-LIBMPG123_VERSION= 0.7.0
diff --git a/audio/libmpg123/PLIST b/audio/libmpg123/PLIST
deleted file mode 100644
index a6fc3d8cce0..00000000000
--- a/audio/libmpg123/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2008/09/08 23:26:18 joerg Exp $
-include/mpg123.h
-lib/libmpg123.la
-lib/pkgconfig/libmpg123.pc
diff --git a/audio/libmpg123/buildlink3.mk b/audio/libmpg123/buildlink3.mk
deleted file mode 100644
index 18d3f02091d..00000000000
--- a/audio/libmpg123/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:23:56 joerg Exp $
-
-BUILDLINK_TREE+= libmpg123
-
-.if !defined(LIBMPG123_BUILDLINK3_MK)
-LIBMPG123_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.libmpg123+= libmpg123>=0.7.0
-BUILDLINK_PKGSRCDIR.libmpg123?= ../../audio/libmpg123
-.endif # LIBMPG123_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -libmpg123
diff --git a/audio/libmpg123/distinfo b/audio/libmpg123/distinfo
deleted file mode 100644
index e30a03c3041..00000000000
--- a/audio/libmpg123/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.3 2012/09/26 13:20:12 jperkin Exp $
-
-SHA1 (mpg123-1.5.1.tar.bz2) = 4e85388294c5c432bd899bb910694dd259e76679
-RMD160 (mpg123-1.5.1.tar.bz2) = aeaf5ab770eeb66826d81ba3d840492709b2c7a5
-Size (mpg123-1.5.1.tar.bz2) = 1033406 bytes
-SHA1 (patch-aa) = faf686e1b47bc53ef5155129da2fd0b81632c2f9
-SHA1 (patch-ab) = 7d1d36cf5ea4a3e3d0a43da351ac7e3c97c636bf
-SHA1 (patch-ac) = 751f52278354413e11f857c53e954e2fd56ba06b
-SHA1 (patch-ad) = 2b888b710499308216a90d48036c1d00327033e3
diff --git a/audio/libmpg123/options.mk b/audio/libmpg123/options.mk
deleted file mode 100644
index ac542c846fa..00000000000
--- a/audio/libmpg123/options.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD: options.mk,v 1.4 2012/10/21 10:27:14 cheusov Exp $
-#
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.mpg123
-PKG_SUPPORTED_OPTIONS= inet6 debug
-PKG_SUGGESTED_OPTIONS= inet6
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if ${MACHINE_ARCH} == "powerpc" || \
- (${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS")
-PKG_SUPPORTED_OPTIONS+= simd
-.elif !empty(MACHINE_ARCH:Marm*)
-PKG_SUPPORTED_OPTIONS+= mpg123-arm-fixed64
-.endif
-
-PKG_SUGGESTED_OPTIONS= ${PKG_SUPPORTED_OPTIONS:Ndebug}
-
-.include "../../mk/bsd.options.mk"
-
-SIMD_CONFIGURE_ARGS.powerpc= altvec
-SIMD_CONFIGURE_ARGS.i386= x86_dither
-
-.if empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+= --with-ipv6=no
-.endif
-
-.if !empty(PKG_OPTIONS:Msimd)
-CONFIGURE_ARGS+= --with-cpu=${SIMD_CONFIGURE_ARGS.${MACHINE_ARCH}}
-.elif !empty(PKG_OPTIONS:Mmpg123-arm-fixed64)
-CONFIGURE_ARGS+= --with-cpu=generic_nofpu
-.else
-CONFIGURE_ARGS+= --with-cpu=generic_fpu
-.endif
-
-.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+= --enable-debug=yes
-.else
-CONFIGURE_ARGS+= --enable-debug=no
-.endif
diff --git a/audio/libmpg123/patches/patch-aa b/audio/libmpg123/patches/patch-aa
deleted file mode 100644
index a346248016d..00000000000
--- a/audio/libmpg123/patches/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/09/07 00:56:15 bjs Exp $
-
---- src/output/esd.c.orig 2008-08-29 02:43:51.000000000 -0400
-+++ src/output/esd.c
-@@ -18,6 +18,12 @@
- #endif
- #include "debug.h"
-
-+#ifdef NETBSD
-+#include <sys/ioctl.h>
-+#include <sys/audioio.h>
-+#endif
-+
-+
- static unsigned esd_rate = 0, esd_format = 0, esd_channels = 0;
-
-
diff --git a/audio/libmpg123/patches/patch-ab b/audio/libmpg123/patches/patch-ab
deleted file mode 100644
index 8a196b69af7..00000000000
--- a/audio/libmpg123/patches/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2008/09/07 00:56:15 bjs Exp $
-
---- src/output/oss.c.orig 2008-08-29 02:43:51.000000000 -0400
-+++ src/output/oss.c
-@@ -167,7 +167,7 @@ static int open_oss(audio_output_t *ao)
- if(!ao) return -1;
-
- if(!ao->device) {
-- ao->device = "/dev/dsp";
-+ ao->device = DEVOSSAUDIO;
- usingdefdev = 1;
- }
-
-@@ -176,7 +176,7 @@ static int open_oss(audio_output_t *ao)
- if(ao->fn < 0)
- {
- if(usingdefdev) {
-- ao->device = "/dev/sound/dsp";
-+ ao->device = DEVOSSSOUND;
- ao->fn = open(ao->device,O_WRONLY);
- if(ao->fn < 0) {
- if(!AOQUIET) error("Can't open default sound device!");
diff --git a/audio/libmpg123/patches/patch-ac b/audio/libmpg123/patches/patch-ac
deleted file mode 100644
index 14abb04162a..00000000000
--- a/audio/libmpg123/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2008/09/07 00:56:15 bjs Exp $
-
---- src/term.c.orig 2008-08-29 02:43:56.000000000 -0400
-+++ src/term.c
-@@ -196,7 +196,7 @@ static void term_handle_input(mpg123_han
- while(n > 0) {
- fd_set r;
- struct timeval t;
-- char val;
-+ unsigned char val;
-
- t.tv_sec=0;
- t.tv_usec=(do_delay) ? 10*1000 : 0;
diff --git a/audio/libmpg123/patches/patch-ad b/audio/libmpg123/patches/patch-ad
deleted file mode 100644
index 8a84cc7ac72..00000000000
--- a/audio/libmpg123/patches/patch-ad
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2008/09/07 00:56:15 bjs Exp $
-
---- src/xfermem.c.orig 2008-08-29 02:43:56.000000000 -0400
-+++ src/xfermem.c
-@@ -37,6 +37,13 @@ void xfermem_init (txfermem **xf, size_t
-
- #ifdef HAVE_MMAP
- # ifdef MAP_ANON
-+
-+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104030000)
-+ if(madvise((void *)xf, (regsize - sizeof(txfermem)),
-+ MADV_SEQUENTIAL) < 0)
-+ fprintf(stderr,"madvise failed, continuing anyway...\n");
-+#endif
-+
- if ((*xf = (txfermem *) mmap(0, regsize, PROT_READ | PROT_WRITE,
- MAP_ANON | MAP_SHARED, -1, 0)) == (txfermem *) -1) {
- perror ("mmap()");
-@@ -92,7 +99,13 @@ void xfermem_done (txfermem *xf)
- if(!xf)
- return;
- #ifdef HAVE_MMAP
-- munmap ((caddr_t) xf, xf->size + xf->metasize + sizeof(txfermem));
-+ munmap ((void *) xf, xf->size + xf->metasize + sizeof(txfermem));
-+
-+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104030000)
-+ if(madvise((void *)xf, (xf->size + xf->metasize), MADV_FREE) < 0)
-+ fprintf(stderr,"madvise failed, continuing anyways..\n");
-+#endif
-+
- #else
- if (shmdt((void *) xf) == -1) {
- perror ("shmdt()");