1 |
flameeyes 08/02/22 13:27:44 |
2 |
|
3 |
Added: libsndfile-1.0.17-regtests-need-sqlite.patch |
4 |
libsndfile-1.0.17-dontbuild-tests-examples.patch |
5 |
Log: |
6 |
Don't build tests and examples during standard make, this saves a few gcc/ld calls for most users. Don't build regtest if sqlite is disabled, rather than just removing it after the fact. Don't request old version of automake, as full eautoreconf is called. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-libs/libsndfile/files/libsndfile-1.0.17-regtests-need-sqlite.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/files/libsndfile-1.0.17-regtests-need-sqlite.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/files/libsndfile-1.0.17-regtests-need-sqlite.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: libsndfile-1.0.17-regtests-need-sqlite.patch |
16 |
=================================================================== |
17 |
Index: libsndfile-1.0.17/configure.ac |
18 |
=================================================================== |
19 |
--- libsndfile-1.0.17.orig/configure.ac |
20 |
+++ libsndfile-1.0.17/configure.ac |
21 |
@@ -268,6 +268,7 @@ else |
22 |
fi |
23 |
|
24 |
AC_DEFINE_UNQUOTED([HAVE_SQLITE3],$HAVE_SQLITE3,[Set to 1 if you have libsqlite3.]) |
25 |
+AM_CONDITIONAL(HAVE_SQLITE3, [test "x$ac_cv_sqlite3" = "xyes"]) |
26 |
|
27 |
#==================================================================================== |
28 |
# Determine if the processor can do clipping on float to int conversions. |
29 |
Index: libsndfile-1.0.17/regtest/Makefile.am |
30 |
=================================================================== |
31 |
--- libsndfile-1.0.17.orig/regtest/Makefile.am |
32 |
+++ libsndfile-1.0.17/regtest/Makefile.am |
33 |
@@ -1,6 +1,8 @@ |
34 |
## Process this file with automake to produce Makefile.in |
35 |
|
36 |
+if HAVE_SQLITE3 |
37 |
bin_PROGRAMS = sndfile-regtest |
38 |
+endif |
39 |
|
40 |
noinst_HEADERS = regtest.h |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 media-libs/libsndfile/files/libsndfile-1.0.17-dontbuild-tests-examples.patch |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/files/libsndfile-1.0.17-dontbuild-tests-examples.patch?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/files/libsndfile-1.0.17-dontbuild-tests-examples.patch?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: libsndfile-1.0.17-dontbuild-tests-examples.patch |
51 |
=================================================================== |
52 |
Index: libsndfile-1.0.17/examples/Makefile.am |
53 |
=================================================================== |
54 |
--- libsndfile-1.0.17.orig/examples/Makefile.am |
55 |
+++ libsndfile-1.0.17/examples/Makefile.am |
56 |
@@ -2,7 +2,7 @@ |
57 |
|
58 |
bin_PROGRAMS = sndfile-info sndfile-play sndfile-convert |
59 |
|
60 |
-noinst_PROGRAMS = make_sine sfprocess list_formats cooledit-fixer generate |
61 |
+EXTRA_PROGRAMS = make_sine sfprocess list_formats cooledit-fixer generate |
62 |
|
63 |
# This is the BeOS version of sndfile-play. It needs to be compiled with the C++ |
64 |
# compiler. |
65 |
Index: libsndfile-1.0.17/tests/Makefile.am |
66 |
=================================================================== |
67 |
--- libsndfile-1.0.17.orig/tests/Makefile.am |
68 |
+++ libsndfile-1.0.17/tests/Makefile.am |
69 |
@@ -1,6 +1,6 @@ |
70 |
## Process this file with automake to produce Makefile.in |
71 |
|
72 |
-noinst_PROGRAMS = sfversion floating_point_test write_read_test \ |
73 |
+check_PROGRAMS = sfversion floating_point_test write_read_test \ |
74 |
lossy_comp_test error_test ulaw_test alaw_test dwvw_test \ |
75 |
peak_chunk_test command_test stdin_test stdout_test stdio_test \ |
76 |
pcm_test headerless_test pipe_test benchmark header_test misc_test \ |
77 |
|
78 |
|
79 |
|
80 |
-- |
81 |
gentoo-commits@l.g.o mailing list |