View | Details | Raw Unified | Return to bug 182245
Collapse All | Expand All

(-)audio/alsa-lib/Makefile (-8 / +15 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:   alsa-lib
1
# Created by: Aragon Gouveia <aragon@phat.za.net>
2
# Date created:                June 29, 2009
3
# Whom:                        Aragon Gouveia <aragon@phat.za.net>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	alsa-lib
4
PORTNAME=	alsa-lib
9
PORTVERSION=	1.0.26
5
PORTVERSION=	1.0.27.2
10
CATEGORIES=	audio
6
CATEGORIES=	audio
11
MASTER_SITES=	ALSA/lib \
7
MASTER_SITES=	ALSA/lib \
12
		GENTOO/distfiles
8
		GENTOO/distfiles
Lines 17-27 COMMENT= ALSA compatibility library Link Here
17
USE_BZIP2=	yes
13
USE_BZIP2=	yes
18
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
19
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS+=--disable-aload --disable-python \
16
CONFIGURE_ARGS=	--with-pkgconfdir="\$${prefix}/libdata/pkgconfig"
21
		--with-pkgconfdir="${PREFIX}/libdata/pkgconfig"
22
17
18
OPTIONS_DEFINE=	PYTHON
19
OPTIONS_SUB=	${OPTIONS_DEFINE}
20
21
.include <bsd.port.options.mk>
22
23
.if ${PORT_OPTIONS:MPYTHON}
24
USE_PYTHON=	-2.7
25
.else
26
CONFIGURE_ARGS+=--disable-python
27
.endif
28
23
post-patch:	.SILENT
29
post-patch:	.SILENT
24
	${REINPLACE_CMD} -e '/LIBS/ { s/-ldl//g; s/-lrt//g; }' \
30
	${REINPLACE_CMD} -e '/LIBS/ { s/-ldl//g; s/-lrt//g; }' \
31
		-e 's/python-config/${PYTHON_CMD:T}-config/g' \
25
		-e '/-D_GNU_SOURCE/d' \
32
		-e '/-D_GNU_SOURCE/d' \
26
		-e '/lt_cv_dlopen/s/-ldl//g' ${WRKSRC}/configure
33
		-e '/lt_cv_dlopen/s/-ldl//g' ${WRKSRC}/configure
27
	${REINPLACE_CMD} '/LIBADD/s/-ldl//g' \
34
	${REINPLACE_CMD} '/LIBADD/s/-ldl//g' \
(-)audio/alsa-lib/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (alsa-lib-1.0.26.tar.bz2) = 8c9f8161603cc3db640619650401292c3e110da63429ab6938aac763319f6e7d
1
SHA256 (alsa-lib-1.0.27.2.tar.bz2) = 690ed393e7efd4fc7e3a2d2cda5449298ca0c895197e5914e350882012430d19
2
SIZE (alsa-lib-1.0.26.tar.bz2) = 883076
2
SIZE (alsa-lib-1.0.27.2.tar.bz2) = 906844
(-)audio/alsa-lib/files/patch-alsa-lib (-5 / +22 lines)
Lines 57-63 Link Here
57
 	long		tv_usec;	/* microseconds */
57
 	long		tv_usec;	/* microseconds */
58
--- include/local.h.orig	2009-09-09 20:34:54.000000000 +0800
58
--- include/local.h.orig	2009-09-09 20:34:54.000000000 +0800
59
+++ include/local.h	2009-09-15 00:26:08.000000000 +0800
59
+++ include/local.h	2009-09-15 00:26:08.000000000 +0800
60
@@ -28,7 +28,11 @@
60
@@ -28,11 +28,19 @@
61
 #include <string.h>
61
 #include <string.h>
62
 #include <fcntl.h>
62
 #include <fcntl.h>
63
 #include <assert.h>
63
 #include <assert.h>
Lines 69-74 Link Here
69
 #include <stdarg.h>
69
 #include <stdarg.h>
70
 #include <sys/poll.h>
70
 #include <sys/poll.h>
71
 #include <errno.h>
71
 #include <errno.h>
72
+#ifdef __linux__
73
 #include <linux/ioctl.h>
74
+#else
75
+#include <sys/ioctl.h>
76
+#endif
77
 
78
 #include "config.h"
79
 #ifdef SUPPORT_RESMGR
72
--- include/search.h.orig	2009-09-09 20:34:54.000000000 +0800
80
--- include/search.h.orig	2009-09-09 20:34:54.000000000 +0800
73
+++ include/search.h	2009-09-15 00:49:10.000000000 +0800
81
+++ include/search.h	2009-09-15 00:49:10.000000000 +0800
74
@@ -20,7 +20,9 @@
82
@@ -20,7 +20,9 @@
Lines 102-111 Link Here
102
 typedef __compar_fn_t comparison_fn_t;
110
 typedef __compar_fn_t comparison_fn_t;
103
--- include/sound/asound.h.orig	2009-09-09 20:34:54.000000000 +0800
111
--- include/sound/asound.h.orig	2009-09-09 20:34:54.000000000 +0800
104
+++ include/sound/asound.h	2009-09-15 00:44:37.000000000 +0800
112
+++ include/sound/asound.h	2009-09-15 00:44:37.000000000 +0800
105
@@ -62,6 +62,33 @@
113
@@ -23,9 +23,42 @@
106
 #include <sys/ioctl.h>
114
 #ifndef _UAPI__SOUND_ASOUND_H
107
 #endif
115
 #define _UAPI__SOUND_ASOUND_H
108
 
116
 
117
+#ifdef __linux__
118
 #include <linux/types.h>
119
+#else
120
+#define __bitwise
121
+typedef uint32_t __u32;
122
+typedef int __kernel_pid_t;
123
+#endif
124
+
125
 
109
+#ifdef __FreeBSD__
126
+#ifdef __FreeBSD__
110
+#define ESTRPIPE	0x7a69	/* Linux PCM suspend errno, fehh?! */
127
+#define ESTRPIPE	0x7a69	/* Linux PCM suspend errno, fehh?! */
111
+#define EBADFD		EBADF
128
+#define EBADFD		EBADF
Lines 127-133 Link Here
127
+#define __cpu_to_le16(x) bswap_16(x)
144
+#define __cpu_to_le16(x) bswap_16(x)
128
+#define __cpu_to_be16(x) (x)
145
+#define __cpu_to_be16(x) (x)
129
+#endif
146
+#endif
130
+
147
 
131
+#define __le32_to_cpu __cpu_to_le32
148
+#define __le32_to_cpu __cpu_to_le32
132
+#define __be32_to_cpu __cpu_to_be32
149
+#define __be32_to_cpu __cpu_to_be32
133
+#define __le16_to_cpu __cpu_to_le16
150
+#define __le16_to_cpu __cpu_to_le16
(-)audio/alsa-lib/pkg-plist (+32 lines)
Lines 40-45 lib/alsa-lib/smixer/smixer-ac97.la Link Here
40
lib/alsa-lib/smixer/smixer-ac97.so
40
lib/alsa-lib/smixer/smixer-ac97.so
41
lib/alsa-lib/smixer/smixer-hda.la
41
lib/alsa-lib/smixer/smixer-hda.la
42
lib/alsa-lib/smixer/smixer-hda.so
42
lib/alsa-lib/smixer/smixer-hda.so
43
%%PYTHON%%lib/alsa-lib/smixer/smixer-python.la
44
%%PYTHON%%lib/alsa-lib/smixer/smixer-python.so
43
lib/alsa-lib/smixer/smixer-sbase.la
45
lib/alsa-lib/smixer/smixer-sbase.la
44
lib/alsa-lib/smixer/smixer-sbase.so
46
lib/alsa-lib/smixer/smixer-sbase.so
45
lib/libasound.la
47
lib/libasound.la
Lines 125-133 share/alsa/pcm/surround51.conf Link Here
125
share/alsa/pcm/surround71.conf
127
share/alsa/pcm/surround71.conf
126
share/alsa/smixer.conf
128
share/alsa/smixer.conf
127
share/alsa/sndo-mixer.alisp
129
share/alsa/sndo-mixer.alisp
130
share/alsa/ucm/DAISY-I2S/DAISY-I2S.conf
131
share/alsa/ucm/DAISY-I2S/HiFi.conf
132
share/alsa/ucm/PandaBoard/FMAnalog
133
share/alsa/ucm/PandaBoard/PandaBoard.conf
134
share/alsa/ucm/PandaBoard/hifi
135
share/alsa/ucm/PandaBoard/hifiLP
136
share/alsa/ucm/PandaBoard/record
137
share/alsa/ucm/PandaBoard/voice
138
share/alsa/ucm/PandaBoard/voiceCall
139
share/alsa/ucm/PandaBoardES/FMAnalog
140
share/alsa/ucm/PandaBoardES/PandaBoardES.conf
141
share/alsa/ucm/PandaBoardES/hifi
142
share/alsa/ucm/PandaBoardES/hifiLP
143
share/alsa/ucm/PandaBoardES/record
144
share/alsa/ucm/PandaBoardES/voice
145
share/alsa/ucm/PandaBoardES/voiceCall
146
share/alsa/ucm/SDP4430/FMAnalog
147
share/alsa/ucm/SDP4430/SDP4430.conf
148
share/alsa/ucm/SDP4430/hifi
149
share/alsa/ucm/SDP4430/hifiLP
150
share/alsa/ucm/SDP4430/record
151
share/alsa/ucm/SDP4430/voice
152
share/alsa/ucm/SDP4430/voiceCall
153
share/alsa/ucm/tegraalc5632/tegraalc5632.conf
128
@unexec if cmp -s %D/etc/asound.conf.sample %D/etc/asound.conf; then rm -f %D/etc/asound.conf; else echo "If permanently deleting this package, %D/etc/asound.conf must be removed manually."; fi
154
@unexec if cmp -s %D/etc/asound.conf.sample %D/etc/asound.conf; then rm -f %D/etc/asound.conf; else echo "If permanently deleting this package, %D/etc/asound.conf must be removed manually."; fi
129
etc/asound.conf.sample
155
etc/asound.conf.sample
130
@exec [ -f %B/asound.conf ] || cp -p %B/%f %B/asound.conf
156
@exec [ -f %B/asound.conf ] || cp -p %B/%f %B/asound.conf
157
@dirrm share/alsa/ucm/PandaBoardES
158
@dirrm share/alsa/ucm/SDP4430
159
@dirrm share/alsa/ucm/DAISY-I2S
160
@dirrm share/alsa/ucm/tegraalc5632
161
@dirrm share/alsa/ucm/PandaBoard
162
@dirrm share/alsa/ucm
131
@dirrm share/alsa/pcm
163
@dirrm share/alsa/pcm
132
@dirrm share/alsa/cards/SI7018
164
@dirrm share/alsa/cards/SI7018
133
@dirrm share/alsa/cards
165
@dirrm share/alsa/cards
(-)audio/alsa-plugins/Makefile (-19 / +9 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	alsa-plugins
4
PORTNAME=	alsa-plugins
5
PORTVERSION=	1.0.26
5
PORTVERSION=	1.0.27
6
CATEGORIES=	audio
6
CATEGORIES=	audio
7
MASTER_SITES=	ALSA/plugins \
7
MASTER_SITES=	ALSA/plugins \
8
		GENTOO/distfiles
8
		GENTOO/distfiles
Lines 10-29 MASTER_SITES= ALSA/plugins \ Link Here
10
MAINTAINER=	aragon@phat.za.net
10
MAINTAINER=	aragon@phat.za.net
11
COMMENT=	ALSA compatibility library plugins
11
COMMENT=	ALSA compatibility library plugins
12
12
13
LIB_DEPENDS=	asound:${PORTSDIR}/audio/alsa-lib
13
LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
14
14
15
USE_BZIP2=	yes
15
USE_BZIP2=	yes
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
USES=		pkgconfig
17
USES=		pkgconfig
18
LDFLAGS+=	-L${LOCALBASE}/lib
18
LDFLAGS+=	-L${LOCALBASE}/lib
19
USE_LDCONFIG=	${PREFIX}/lib/alsa-lib
20
19
21
OPTIONS_DEFINE=	ARIFF_OSS JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX
20
OPTIONS_DEFINE=	ARIFF_OSS JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX
21
OPTIONS_SUB=	${OPTIONS_DEFINE}
22
ARIFF_OSS_DESC=	FreeBSD-specific OSS plugin
22
ARIFF_OSS_DESC=	FreeBSD-specific OSS plugin
23
23
24
.include <bsd.port.options.mk>
24
.include <bsd.port.options.mk>
25
25
26
.if ${PORT_OPTIONS:MARIFF_OSS} || ${OSVERSION} < 800097
26
.if ${PORT_OPTIONS:MARIFF_OSS}
27
EXTRA_PATCHES+=	${FILESDIR}/alsa-plugins.patch
27
EXTRA_PATCHES+=	${FILESDIR}/alsa-plugins.patch
28
.endif
28
.endif
29
29
Lines 31-40 EXTRA_PATCHES+= ${FILESDIR}/alsa-plugins.patch Link Here
31
.if empty(PORT_OPTIONS:MSAMPLERATE)
31
.if empty(PORT_OPTIONS:MSAMPLERATE)
32
IGNORE=			JACK audio support requires SAMPLERATE
32
IGNORE=			JACK audio support requires SAMPLERATE
33
.endif
33
.endif
34
LIB_DEPENDS+=		jack:${PORTSDIR}/audio/jack
34
LIB_DEPENDS+=		libjack.so:${PORTSDIR}/audio/jack
35
PLIST_SUB+=		JACK=""
36
.else
35
.else
37
PLIST_SUB+=		JACK="@comment "
38
CONFIGURE_ARGS+=	--disable-jack
36
CONFIGURE_ARGS+=	--disable-jack
39
.endif
37
.endif
40
38
Lines 41-76 CONFIGURE_ARGS+= --disable-jack Link Here
41
.if ${PORT_OPTIONS:MFFMPEG}
39
.if ${PORT_OPTIONS:MFFMPEG}
42
CONFIGURE_ARGS+=	--enable-avcodec
40
CONFIGURE_ARGS+=	--enable-avcodec
43
CFLAGS+=		-I${LOCALBASE}/include
41
CFLAGS+=		-I${LOCALBASE}/include
44
LIB_DEPENDS+=		avcodec:${PORTSDIR}/multimedia/ffmpeg
42
LIB_DEPENDS+=		libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
45
PLIST_SUB+=		LAVC=""
46
.else
43
.else
47
CONFIGURE_ARGS+=	--disable-avcodec
44
CONFIGURE_ARGS+=	--disable-avcodec
48
PLIST_SUB+=		LAVC="@comment "
49
.endif
45
.endif
50
46
51
.if ${PORT_OPTIONS:MPULSEAUDIO}
47
.if ${PORT_OPTIONS:MPULSEAUDIO}
52
LIB_DEPENDS+=		pulse:${PORTSDIR}/audio/pulseaudio
48
LIB_DEPENDS+=		libpulse.so:${PORTSDIR}/audio/pulseaudio
53
PLIST_SUB+=		PULSE=""
54
.else
49
.else
55
PLIST_SUB+=		PULSE="@comment "
56
CONFIGURE_ARGS+=	--disable-pulseaudio
50
CONFIGURE_ARGS+=	--disable-pulseaudio
57
.endif
51
.endif
58
52
59
.if ${PORT_OPTIONS:MSAMPLERATE}
53
.if ${PORT_OPTIONS:MSAMPLERATE}
60
LIB_DEPENDS+=		samplerate:${PORTSDIR}/audio/libsamplerate
54
LIB_DEPENDS+=		libsamplerate.so:${PORTSDIR}/audio/libsamplerate
61
PLIST_SUB+=		SAMPLERATE=""
62
.else
55
.else
63
PLIST_SUB+=		SAMPLERATE="@comment "
64
CONFIGURE_ARGS+=	--disable-samplerate
56
CONFIGURE_ARGS+=	--disable-samplerate
65
.endif
57
.endif
66
58
67
.if ${PORT_OPTIONS:MSPEEX}
59
.if ${PORT_OPTIONS:MSPEEX}
68
CONFIGURE_ARGS+=	--with-speex=lib
60
CONFIGURE_ARGS+=	--with-speex=lib
69
LIB_DEPENDS+=		speex:${PORTSDIR}/audio/speex
61
LIB_DEPENDS+=		libspeex.so:${PORTSDIR}/audio/speex
70
PLIST_SUB+=		SPEEX=""
71
.else
62
.else
72
CONFIGURE_ARGS+=	--without-speex
63
CONFIGURE_ARGS+=	--without-speex
73
PLIST_SUB+=		SPEEX="@comment "
74
.endif
64
.endif
75
65
76
post-patch:	.SILENT
66
post-patch:	.SILENT
(-)audio/alsa-plugins/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (alsa-plugins-1.0.26.tar.bz2) = 03515134d2009db4dfb2769e0ab0e1fb517c8140ffdfd64a984be968e81c9f1f
1
SHA256 (alsa-plugins-1.0.27.tar.bz2) = 0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35
2
SIZE (alsa-plugins-1.0.26.tar.bz2) = 361017
2
SIZE (alsa-plugins-1.0.27.tar.bz2) = 363593
(-)audio/alsa-plugins/pkg-plist (-16 / +16 lines)
Lines 1-19 Link Here
1
%%PULSE%%lib/alsa-lib/libasound_module_conf_pulse.la
1
%%PULSEAUDIO%%lib/alsa-lib/libasound_module_conf_pulse.la
2
%%PULSE%%lib/alsa-lib/libasound_module_conf_pulse.so
2
%%PULSEAUDIO%%lib/alsa-lib/libasound_module_conf_pulse.so
3
lib/alsa-lib/libasound_module_ctl_arcam_av.la
3
lib/alsa-lib/libasound_module_ctl_arcam_av.la
4
lib/alsa-lib/libasound_module_ctl_arcam_av.so
4
lib/alsa-lib/libasound_module_ctl_arcam_av.so
5
lib/alsa-lib/libasound_module_ctl_oss.la
5
lib/alsa-lib/libasound_module_ctl_oss.la
6
lib/alsa-lib/libasound_module_ctl_oss.so
6
lib/alsa-lib/libasound_module_ctl_oss.so
7
%%PULSE%%lib/alsa-lib/libasound_module_ctl_pulse.la
7
%%PULSEAUDIO%%lib/alsa-lib/libasound_module_ctl_pulse.la
8
%%PULSE%%lib/alsa-lib/libasound_module_ctl_pulse.so
8
%%PULSEAUDIO%%lib/alsa-lib/libasound_module_ctl_pulse.so
9
%%LAVC%%lib/alsa-lib/libasound_module_pcm_a52.la
9
%%FFMPEG%%lib/alsa-lib/libasound_module_pcm_a52.la
10
%%LAVC%%lib/alsa-lib/libasound_module_pcm_a52.so
10
%%FFMPEG%%lib/alsa-lib/libasound_module_pcm_a52.so
11
%%JACK%%lib/alsa-lib/libasound_module_pcm_jack.la
11
%%JACK%%lib/alsa-lib/libasound_module_pcm_jack.la
12
%%JACK%%lib/alsa-lib/libasound_module_pcm_jack.so
12
%%JACK%%lib/alsa-lib/libasound_module_pcm_jack.so
13
lib/alsa-lib/libasound_module_pcm_oss.la
13
lib/alsa-lib/libasound_module_pcm_oss.la
14
lib/alsa-lib/libasound_module_pcm_oss.so
14
lib/alsa-lib/libasound_module_pcm_oss.so
15
%%PULSE%%lib/alsa-lib/libasound_module_pcm_pulse.la
15
%%PULSEAUDIO%%lib/alsa-lib/libasound_module_pcm_pulse.la
16
%%PULSE%%lib/alsa-lib/libasound_module_pcm_pulse.so
16
%%PULSEAUDIO%%lib/alsa-lib/libasound_module_pcm_pulse.so
17
%%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.la
17
%%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.la
18
%%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.so
18
%%SPEEX%%lib/alsa-lib/libasound_module_pcm_speex.so
19
lib/alsa-lib/libasound_module_pcm_upmix.la
19
lib/alsa-lib/libasound_module_pcm_upmix.la
Lines 22-33 lib/alsa-lib/libasound_module_pcm_usb_stream.la Link Here
22
lib/alsa-lib/libasound_module_pcm_usb_stream.so
22
lib/alsa-lib/libasound_module_pcm_usb_stream.so
23
lib/alsa-lib/libasound_module_pcm_vdownmix.la
23
lib/alsa-lib/libasound_module_pcm_vdownmix.la
24
lib/alsa-lib/libasound_module_pcm_vdownmix.so
24
lib/alsa-lib/libasound_module_pcm_vdownmix.so
25
%%LAVC%%lib/alsa-lib/libasound_module_rate_lavcrate.la
25
%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavcrate.la
26
%%LAVC%%lib/alsa-lib/libasound_module_rate_lavcrate.so
26
%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavcrate.so
27
%%LAVC%%lib/alsa-lib/libasound_module_rate_lavcrate_fast.so
27
%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavcrate_fast.so
28
%%LAVC%%lib/alsa-lib/libasound_module_rate_lavcrate_faster.so
28
%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavcrate_faster.so
29
%%LAVC%%lib/alsa-lib/libasound_module_rate_lavcrate_high.so
29
%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavcrate_high.so
30
%%LAVC%%lib/alsa-lib/libasound_module_rate_lavcrate_higher.so
30
%%FFMPEG%%lib/alsa-lib/libasound_module_rate_lavcrate_higher.so
31
%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.la
31
%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.la
32
%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.so
32
%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate.so
33
%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_best.so
33
%%SAMPLERATE%%lib/alsa-lib/libasound_module_rate_samplerate_best.so
Lines 38-42 lib/alsa-lib/libasound_module_pcm_vdownmix.so Link Here
38
%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate.so
38
%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate.so
39
%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_best.so
39
%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_best.so
40
%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_medium.so
40
%%SPEEX%%lib/alsa-lib/libasound_module_rate_speexrate_medium.so
41
%%PULSE%%share/alsa/alsa.conf.d/50-pulseaudio.conf
41
%%PULSEAUDIO%%share/alsa/alsa.conf.d/50-pulseaudio.conf
42
%%PULSE%%share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example
42
%%PULSEAUDIO%%share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example
(-)audio/alsa-utils/Makefile (-6 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	alsa-utils
4
PORTNAME=	alsa-utils
5
PORTVERSION=	1.0.26
5
PORTVERSION=	1.0.27.2
6
CATEGORIES=	audio
6
CATEGORIES=	audio
7
MASTER_SITES=	ALSA/utils \
7
MASTER_SITES=	ALSA/utils \
8
		GENTOO/distfiles
8
		GENTOO/distfiles
Lines 10-21 MASTER_SITES= ALSA/utils \ Link Here
10
MAINTAINER=	aragon@phat.za.net
10
MAINTAINER=	aragon@phat.za.net
11
COMMENT=	ALSA compatibility utils
11
COMMENT=	ALSA compatibility utils
12
12
13
LIB_DEPENDS=	asound:${PORTSDIR}/audio/alsa-lib
13
LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
14
RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
14
RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
15
15
16
USE_BZIP2=	yes
16
USE_BZIP2=	yes
17
USES=		gmake
17
USES=		gmake
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--with-udev-rules-dir="\$${prefix}/lib/udev"
19
CFLAGS+=	-I${LOCALBASE}/include
20
CFLAGS+=	-I${LOCALBASE}/include
20
21
21
MAN1_EN=	aconnect.1 alsactl.1 alsaloop.1 alsamixer.1 amidi.1 amixer.1 aplay.1 aplaymidi.1 \
22
MAN1_EN=	aconnect.1 alsactl.1 alsaloop.1 alsamixer.1 amidi.1 amixer.1 aplay.1 aplaymidi.1 \
Lines 48-57 PLIST_SUB+= NLS="" Link Here
48
.endif
49
.endif
49
50
50
post-patch:	.SILENT
51
post-patch:	.SILENT
51
	${REINPLACE_CMD} '/LIBS/s/-ldl//g' ${WRKSRC}/configure
52
	${REINPLACE_CMD} -e '/LIBS/s/-ldl//g; /LIBRT/s/-lrt//g;' \
52
	${REINPLACE_CMD} -e '/install-data-am:/,/^$$/ \
53
		${WRKSRC}/configure
53
		s/install-dist_udevrulesDATA//' \
54
		${WRKSRC}/alsactl/Makefile.in
55
	${FIND} -E ${WRKSRC} -type f -regex \
54
	${FIND} -E ${WRKSRC} -type f -regex \
56
		'.*\.([[:digit:]]|spec\.in|csv|xml)' -exec \
55
		'.*\.([[:digit:]]|spec\.in|csv|xml)' -exec \
57
		${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
56
		${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
(-)audio/alsa-utils/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (alsa-utils-1.0.26.tar.bz2) = f85f2a3aa6e78475bbe35b0cad3a8cabb99f45ebc5f37962f2137b8df8b081e7
1
SHA256 (alsa-utils-1.0.27.2.tar.bz2) = 02bfac39092f3b68d743c23ad3d688d6c5aa8df69f2ccd692c5b8282edb352ea
2
SIZE (alsa-utils-1.0.26.tar.bz2) = 1134474
2
SIZE (alsa-utils-1.0.27.2.tar.bz2) = 1143802
(-)audio/alsa-utils/files/patch-alsa-utils (-1 / +1 lines)
Lines 131-136 Link Here
131
+#ifndef __FreeBSD__
131
+#ifndef __FreeBSD__
132
 #include <byteswap.h>
132
 #include <byteswap.h>
133
+#endif
133
+#endif
134
 #include <signal.h>
134
 
135
 
135
 #define ALSA_PCM_NEW_HW_PARAMS_API
136
 #define ALSA_PCM_NEW_HW_PARAMS_API
136
 #define ALSA_PCM_NEW_SW_PARAMS_API
(-)audio/alsa-utils/pkg-plist (+4 lines)
Lines 12-20 bin/aseqdump Link Here
12
bin/aseqnet
12
bin/aseqnet
13
bin/iecset
13
bin/iecset
14
bin/speaker-test
14
bin/speaker-test
15
lib/udev/90-alsa-restore.rules
15
sbin/alsaconf
16
sbin/alsaconf
16
sbin/alsactl
17
sbin/alsactl
17
share/alsa/init/00main
18
share/alsa/init/00main
19
share/alsa/init/ca0106
18
share/alsa/init/default
20
share/alsa/init/default
19
share/alsa/init/hda
21
share/alsa/init/hda
20
share/alsa/init/help
22
share/alsa/init/help
Lines 42-46 share/sounds/alsa/Side_Right.wav Link Here
42
@dirrmtry share/alsa/speaker-test
44
@dirrmtry share/alsa/speaker-test
43
@dirrmtry share/alsa/init
45
@dirrmtry share/alsa/init
44
@dirrmtry share/alsa
46
@dirrmtry share/alsa
47
@dirrmtry lib/udev
45
@cwd /var
48
@cwd /var
46
@dirrmtry lib/alsa
49
@dirrmtry lib/alsa
50
@dirrmtry lib
(-)Mk/bsd.sites.mk (-5 lines)
Lines 54-64 MASTER_SITE_AFTERSTEP+= \ Link Here
54
54
55
.if !defined(IGNORE_MASTER_SITE_ALSA)
55
.if !defined(IGNORE_MASTER_SITE_ALSA)
56
MASTER_SITE_ALSA+= \
56
MASTER_SITE_ALSA+= \
57
	ftp://ftp.silug.org/pub/alsa/%SUBDIR%/ \
58
	ftp://ftp.task.gda.pl/pub/linux/misc/alsa/%SUBDIR%/ \
59
	ftp://gd.tuwien.ac.at/opsys/linux/alsa/%SUBDIR%/ \
60
	http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/%SUBDIR%/ \
61
	http://mirrors.zerg.biz/alsa/%SUBDIR%/ \
62
	http://alsa.cybermirror.org/%SUBDIR%/ \
57
	http://alsa.cybermirror.org/%SUBDIR%/ \
63
	ftp://ftp.alsa-project.org/pub/%SUBDIR%/
58
	ftp://ftp.alsa-project.org/pub/%SUBDIR%/
64
.endif
59
.endif

Return to bug 182245