diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb new file mode 100644 index 0000000000..e261611afd --- /dev/null +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "TinyALSA is a small library to interface with ALSA in \ | ||
| 2 | the Linux kernel. It is a lightweight alternative to libasound." | ||
| 3 | HOMEPAGE = "https://github.com/tinyalsa/tinyalsa" | ||
| 4 | SECTION = "libs/multimedia" | ||
| 5 | |||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://NOTICE;md5=e04cd6fa58488e016f7fb648ebea1db4" | ||
| 8 | |||
| 9 | SRCREV = "1c5fb68ced57d838f2b7ecd0c00bc1fefc9ab60d" | ||
| 10 | SRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https \ | ||
| 11 | file://0001-fixed-compilation-error-caused-by-strncpy.patch \ | ||
| 12 | " | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit cmake | ||
| 17 | |||
| 18 | # tinyalsa is built as a static library. Enable PIC to avoid relocation | ||
| 19 | # errors like these: | ||
| 20 | # | ||
| 21 | # unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' | ||
| 22 | CFLAGS += " -fPIC -DPIC " | ||
