aboutsummaryrefslogtreecommitdiff
path: root/recipes/libdca/libdca_0.0.5-3.bb
blob: 67b311e6d4f5015cc0995858f12b1dba19ba954f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "decoding library for DTS Coherent Acoustics streams"
SECTION = "libs/multimedia"
LICENSE = "GPLv2+"
PR = "r1"

SRC_URI = "git://git.debian.org/pkg-multimedia/${PN}.git;protocol=git"

SRCREV = "6031938c28a2e66eed6f2b9bac1467364e25068d"
S = "${WORKDIR}/git"

inherit autotools lib_package pkgconfig

do_unpackpost() {
        QUILT_PATCHES=debian/patches quilt push -a
        # single precision is enough and speeds up libdca by about 10-15%
        sed -i -e 's/double/sample_t/g' ${S}/libdca/*.c ${S}/libdca/*.h
}

addtask unpackpost after do_unpack before do_patch