File builders/alsa-lib-1/builder.sh changed (mode: 100644) (index fbe8fbc..db212fd) |
1 |
1 |
src_name=alsa-lib |
src_name=alsa-lib |
2 |
|
version=1.2.1.2 |
|
|
2 |
|
version=1.2.4 |
3 |
3 |
archive_name=$src_name-$version.tar.bz2 |
archive_name=$src_name-$version.tar.bz2 |
4 |
4 |
url0=ftp://ftp.alsa-project.org/pub/lib/$archive_name |
url0=ftp://ftp.alsa-project.org/pub/lib/$archive_name |
5 |
5 |
|
|
|
6 |
|
slot=1 |
|
7 |
|
|
6 |
8 |
src_dir=$src_dir_root/$src_name-$version |
src_dir=$src_dir_root/$src_name-$version |
7 |
9 |
cd $src_dir_root |
cd $src_dir_root |
8 |
10 |
rm -Rf $src_name-$version |
rm -Rf $src_name-$version |
|
... |
... |
mkdir -p $build_dir |
14 |
16 |
cd $build_dir |
cd $build_dir |
15 |
17 |
|
|
16 |
18 |
# at link time, the only way to tell gnu ld where to look for shared lib dependencies is to pass the -rpath-link option |
# at link time, the only way to tell gnu ld where to look for shared lib dependencies is to pass the -rpath-link option |
|
19 |
|
# lockless dmix-->crackling sound |
17 |
20 |
export "CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -static-libgcc \ |
export "CC=gcc -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -static-libgcc \ |
18 |
21 |
-Wl,-rpath-link,\ |
-Wl,-rpath-link,\ |
19 |
22 |
/nyan/glibc/current/lib" |
/nyan/glibc/current/lib" |
20 |
23 |
export 'CFLAGS=-O2 -pipe -fPIC' |
export 'CFLAGS=-O2 -pipe -fPIC' |
21 |
|
$src_dir/configure \ |
|
22 |
|
--prefix=/nyan/alsa-lib/1 \ |
|
23 |
|
--disable-static \ |
|
24 |
|
--enable-shared \ |
|
25 |
|
--disable-debug \ |
|
26 |
|
--disable-ucm \ |
|
27 |
|
--disable-topology \ |
|
28 |
|
--disable-old-symbols \ |
|
29 |
|
--disable-python \ |
|
30 |
|
--with-versioned \ |
|
31 |
|
--without-debug \ |
|
|
24 |
|
$src_dir/configure \ |
|
25 |
|
--prefix=/nyan/alsa-lib/$slot \ |
|
26 |
|
--disable-static \ |
|
27 |
|
--enable-shared \ |
|
28 |
|
--disable-debug \ |
|
29 |
|
--disable-ucm \ |
|
30 |
|
--disable-topology \ |
|
31 |
|
--disable-old-symbols \ |
|
32 |
|
--disable-python \ |
|
33 |
|
--with-versioned \ |
|
34 |
|
--without-debug \ |
32 |
35 |
--without-softfloat |
--without-softfloat |
33 |
36 |
unset CFLAGS |
unset CFLAGS |
34 |
37 |
unset CC |
unset CC |
35 |
38 |
|
|
36 |
|
make |
|
|
39 |
|
make -j $threads_n |
37 |
40 |
make install |
make install |
38 |
41 |
|
|
39 |
42 |
# it wants an "audio" entry in /etc/group with a GID of 116 |
# it wants an "audio" entry in /etc/group with a GID of 116 |
|
... |
... |
if ! egrep -q '^audio:' /etc/group; then |
42 |
45 |
fi |
fi |
43 |
46 |
|
|
44 |
47 |
# cleanup and tidying |
# cleanup and tidying |
45 |
|
find /nyan/$src_name/1 -type f -name '*.la' | xargs rm -f |
|
46 |
|
find /nyan/$src_name/1 -type f | while read f; do if file $f | egrep 'ELF.+(shared|executable)' >/dev/null; then strip -s $f; fi; done |
|
|
48 |
|
find /nyan/$src_name/$slot -type f -name '*.la' | xargs rm -f |
|
49 |
|
find /nyan/$src_name/$slot -type f | while read f; do if file $f | egrep 'ELF.+(shared|executable)' >/dev/null; then strip -s $f; fi; done |
47 |
50 |
|
|
48 |
51 |
rm -Rf $build_dir $src_dir |
rm -Rf $build_dir $src_dir |
File builders/x86-alsa-lib/builder.sh changed (mode: 100644) (index 70f8fbd..88b84a9) |
1 |
1 |
src_name=alsa-lib |
src_name=alsa-lib |
2 |
|
version=1.2.3.2 |
|
|
2 |
|
version=1.2.4 |
3 |
3 |
archive_name=$src_name-$version.tar.bz2 |
archive_name=$src_name-$version.tar.bz2 |
4 |
4 |
url0=ftp://ftp.alsa-project.org/pub/lib/$archive_name |
url0=ftp://ftp.alsa-project.org/pub/lib/$archive_name |
5 |
5 |
|
|
|
... |
... |
export "CC=$x86_target_gnu_triple-gcc -B$x86_prefix/lib -L$x86_prefix/lib -stati |
26 |
26 |
export "CPP=$x86_target_gnu_triple-cpp" |
export "CPP=$x86_target_gnu_triple-cpp" |
27 |
27 |
export 'CFLAGS=-O2 -pipe -fPIC' |
export 'CFLAGS=-O2 -pipe -fPIC' |
28 |
28 |
|
|
29 |
|
$pkg_dir/configure \ |
|
30 |
|
--build=$x86_target_gnu_triple \ |
|
31 |
|
--host=$x86_target_gnu_triple \ |
|
32 |
|
--prefix=$x86_prefix \ |
|
33 |
|
--disable-static \ |
|
34 |
|
--enable-shared \ |
|
35 |
|
--disable-ucm \ |
|
36 |
|
--disable-topology \ |
|
37 |
|
--disable-old-symbols \ |
|
38 |
|
--disable-python \ |
|
39 |
|
--with-versioned \ |
|
40 |
|
--without-debug \ |
|
|
29 |
|
# lockless dmix-->crackling sound |
|
30 |
|
$pkg_dir/configure \ |
|
31 |
|
--build=$x86_target_gnu_triple \ |
|
32 |
|
--host=$x86_target_gnu_triple \ |
|
33 |
|
--prefix=$x86_prefix \ |
|
34 |
|
--disable-static \ |
|
35 |
|
--enable-shared \ |
|
36 |
|
--disable-ucm \ |
|
37 |
|
--disable-topology \ |
|
38 |
|
--disable-old-symbols \ |
|
39 |
|
--disable-python \ |
|
40 |
|
--with-versioned \ |
|
41 |
|
--without-debug \ |
41 |
42 |
--without-softfloat |
--without-softfloat |
42 |
43 |
unset CFLAGS |
unset CFLAGS |
43 |
44 |
unset CPP |
unset CPP |