1 |
volkmar 09/04/25 00:29:08 |
2 |
|
3 |
Added: mediastreamer-2.2.3-arts.patch |
4 |
mediastreamer-2.2.3-autodeps.patch |
5 |
Log: |
6 |
new born via a version bump for this package removed from the tree a few months ago |
7 |
(Portage version: 2.1.6.7/cvs/Linux ppc) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-libs/mediastreamer/files/mediastreamer-2.2.3-arts.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/files/mediastreamer-2.2.3-arts.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/files/mediastreamer-2.2.3-arts.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mediastreamer-2.2.3-arts.patch |
16 |
=================================================================== |
17 |
--- configure.ac.old 2009-04-24 12:06:10.000000000 -0400 |
18 |
+++ configure.ac 2009-04-24 12:12:35.000000000 -0400 |
19 |
@@ -210,15 +210,11 @@ |
20 |
],[ |
21 |
dnl Old detection |
22 |
if test x$artsc = xtrue ; then |
23 |
- AC_CHECK_HEADERS(kde/artsc/artsc.h, |
24 |
- [ AC_CHECK_LIB(artsc,arts_init, |
25 |
- [ ARTS_LIBS="-lartsc" |
26 |
- arts_enabled=true |
27 |
- ]) |
28 |
- ] |
29 |
- ) |
30 |
+ MS_CHECK_DEP([ARTS],[ARTS],[/usr/kde/3.5/include],[/usr/kde/3.5/lib],[artsc/artsc.h],[artsc],[arts_init]) |
31 |
+ if test "$ARTS_found" = "yes"; then |
32 |
+ arts_enabled=true |
33 |
+ fi |
34 |
fi |
35 |
- AC_SUBST(ARTS_LIBS) |
36 |
]) |
37 |
fi |
38 |
|
39 |
--- src/Makefile.am.old 2009-04-22 23:09:57.000000000 -0400 |
40 |
+++ src/Makefile.am 2009-04-22 23:10:06.000000000 -0400 |
41 |
@@ -126,6 +126,7 @@ |
42 |
$(ORTP_CFLAGS) \ |
43 |
$(SPEEX_CFLAGS) \ |
44 |
$(GSM_CFLAGS) \ |
45 |
+ $(ARTS_CFLAGS) \ |
46 |
$(STRICT_OPTIONS) |
47 |
|
48 |
if BUILD_VIDEO |
49 |
|
50 |
|
51 |
|
52 |
1.1 media-libs/mediastreamer/files/mediastreamer-2.2.3-autodeps.patch |
53 |
|
54 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/files/mediastreamer-2.2.3-autodeps.patch?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/files/mediastreamer-2.2.3-autodeps.patch?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: mediastreamer-2.2.3-autodeps.patch |
58 |
=================================================================== |
59 |
--- configure.ac.old 2009-04-22 23:01:49.000000000 -0400 |
60 |
+++ configure.ac 2009-04-24 12:06:10.000000000 -0400 |
61 |
@@ -146,6 +146,15 @@ |
62 |
|
63 |
found_sound=no |
64 |
|
65 |
+AC_ARG_ENABLE(oss, |
66 |
+ [ --enable-oss Disable oss support], |
67 |
+ [case "${enableval}" in |
68 |
+ yes) oss=true ;; |
69 |
+ no) oss=false ;; |
70 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-oss) ;; |
71 |
+ esac],[oss=true]) |
72 |
+ |
73 |
+if "$oss" = "true"; then |
74 |
AC_CHECK_HEADERS(soundcard.h sys/soundcard.h machine/soundcard.h sys/audio.h) |
75 |
if test "${ac_cv_header_sys_soundcard_h}" = "yes" || \ |
76 |
test "${ac_cv_header_soundcard_h}" = "yes" || \ |
77 |
@@ -153,6 +162,7 @@ |
78 |
test "${ac_cv_header_machine_soundcard_h}" = "yes"; then |
79 |
found_sound=yes |
80 |
fi |
81 |
+fi |
82 |
|
83 |
AM_CONDITIONAL(BUILD_OSS, test x$found_sound = xyes) |
84 |
|
85 |
@@ -274,6 +284,16 @@ |
86 |
|
87 |
AM_CONDITIONAL(BUILD_MACAQSND, test x$macaqsnd_enabled = xtrue) |
88 |
|
89 |
+AC_ARG_ENABLE(jack, |
90 |
+ [ --disable-jack Disable jack support], |
91 |
+ [case "${enableval}" in |
92 |
+ yes) jack=true ;; |
93 |
+ no) jack=false ;; |
94 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-jack) ;; |
95 |
+ esac],[jack=true]) |
96 |
+ |
97 |
+if test x$jack = xtrue; then |
98 |
+ |
99 |
dnl Check for samplerate libraries |
100 |
dnl Check for jack libraries (sound output plugin) |
101 |
PKG_CHECK_MODULES(JACK,jack >= 0.15.0, |
102 |
@@ -300,6 +320,8 @@ |
103 |
AC_SUBST(JACK_CFLAGS) |
104 |
AC_SUBST(JACK_LIBS) |
105 |
|
106 |
+fi |
107 |
+ |
108 |
if test "$found_sound" = "no"; then |
109 |
AC_MSG_ERROR([Could not find a support sound driver API]) |
110 |
fi |
111 |
@@ -309,6 +331,16 @@ |
112 |
dnl check for various codecs libraries |
113 |
dnl ************************************* |
114 |
|
115 |
+AC_ARG_ENABLE(speex, |
116 |
+ [ --disable-speex Disable speex support], |
117 |
+ [case "${enableval}" in |
118 |
+ yes) speex=true ;; |
119 |
+ no) speex=false ;; |
120 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-speex) ;; |
121 |
+ esac],[speex=true]) |
122 |
+ |
123 |
+if test x$speex = xtrue; then |
124 |
+ |
125 |
dnl check for installed version of speex |
126 |
PKG_CHECK_MODULES(SPEEX, speex >= 1.1.12, |
127 |
[ AC_DEFINE(HAVE_SPEEX_NOISE,1,[tells whether the noise arg of speex_echo_cancel can be used]) ], |
128 |
@@ -322,11 +354,26 @@ |
129 |
[AC_MSG_NOTICE([No speexdsp library found.]) |
130 |
] |
131 |
) |
132 |
+else |
133 |
+SPEEX_CFLAGS="-DDISABLE_SPEEX" |
134 |
+fi |
135 |
+ |
136 |
AC_SUBST(SPEEX_CFLAGS) |
137 |
AC_SUBST(SPEEX_LIBS) |
138 |
+ |
139 |
AM_CONDITIONAL(BUILD_SPEEX, test x$build_speex = xyes ) |
140 |
AM_CONDITIONAL(BUILD_RESAMPLE, test x$build_resample = xyes ) |
141 |
|
142 |
+AC_ARG_ENABLE(gsm, |
143 |
+ [ --disable-gsm Disable gsm support], |
144 |
+ [case "${enableval}" in |
145 |
+ yes) gsm=true ;; |
146 |
+ no) gsm=false ;; |
147 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-gsm) ;; |
148 |
+ esac],[gsm=true]) |
149 |
+ |
150 |
+if test x$gsm = xtrue; then |
151 |
+ |
152 |
dnl check for gsm |
153 |
build_gsm=no |
154 |
AC_ARG_WITH( gsm, |
155 |
@@ -343,6 +390,9 @@ |
156 |
else |
157 |
build_gsm=no |
158 |
fi |
159 |
+ |
160 |
+fi |
161 |
+ |
162 |
AM_CONDITIONAL(BUILD_GSM, test x$build_gsm = xyes ) |
163 |
|
164 |
MS_CHECK_VIDEO |
165 |
--- acinclude.m4.old 2009-04-22 22:09:20.000000000 -0400 |
166 |
+++ acinclude.m4 2009-04-23 14:59:39.000000000 -0400 |
167 |
@@ -108,9 +108,30 @@ |
168 |
fi |
169 |
fi |
170 |
|
171 |
+ AC_ARG_ENABLE(theora, |
172 |
+ [ --disable-theora Disable theora support], |
173 |
+ [case "${enableval}" in |
174 |
+ yes) theora=true ;; |
175 |
+ no) theora=false ;; |
176 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-theora) ;; |
177 |
+ esac],[theora=true]) |
178 |
+ |
179 |
+ if test x$theora = xtrue; then |
180 |
PKG_CHECK_MODULES(THEORA, [theora >= 1.0alpha7 ], [have_theora=yes], |
181 |
[have_theora=no]) |
182 |
+ fi |
183 |
+ |
184 |
+ AC_ARG_ENABLE(x11, |
185 |
+ [ --disable-x11 Disable X11 support], |
186 |
+ [case "${enableval}" in |
187 |
+ yes) enable_x11=true ;; |
188 |
+ no) enable_x11=false ;; |
189 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-x11) ;; |
190 |
+ esac],[enable_x11=true]) |
191 |
+ |
192 |
+ if test "$enable_x11" = "true"; then |
193 |
AC_CHECK_HEADERS(X11/Xlib.h) |
194 |
+ fi |
195 |
|
196 |
VIDEO_CFLAGS=" $FFMPEG_CFLAGS -DVIDEO_ENABLED" |
197 |
VIDEO_LIBS=" $FFMPEG_LIBS $SWSCALE_LIBS" |