summaryrefslogtreecommitdiffstats
path: root/recipes/libsndfile/libsndfile1_1.0.21.bb
blob: 05fcea841c5d95b5885bad79d237b49bcb8f0cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
DESCRIPTION = "An audio format Conversion library"
HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
AUTHOR = "Erik de Castro Lopo"
SECTION = "libs/multimedia"
LICENSE = "LGPL"
DEPENDS = "sqlite3"
PR = "r1"

SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz;name=libsndfile1021targz"
SRC_URI[libsndfile1021targz.md5sum] = "880a40ec636ab2185b97f8927299b292"
SRC_URI[libsndfile1021targz.sha256sum] = "7e9083a2551ff347276d82cdb61f2b4f9cd137c0b76433800e991583ded8ea67"

S = "${WORKDIR}/libsndfile-${PV}"

inherit autotools_stage  lib_package pkgconfig

do_configure_prepend_arm() {
	ac_cv_sizeof_off_t=8
	# they are not in one of site/ files because they are common with
	# glib-2.0 if they are moved to common site files then they break
	# glib-2.0 build if largefile support is not available (.e.g. uclibc
	# can be tuned to not have it.
	export ac_cv_sys_largefile_source=1
	export ac_cv_sys_file_offset_bits=64
}

do_configure_prepend_chinook-compat () {

        for i in  lt~obsolete.m4 ltsugar.m4 libtool.m4 ltoptions.m4 ltversion.m4
        do
                rm ${S}/M4/${i}
        done
}

PACKAGES =+ "${PN}-octave"
FILES_${PN}-octave += "/usr/share/octave/site/m"