1*4882a593SmuzhiyunDESCRIPTION = "TinyALSA is a small library to interface with ALSA in \ 2*4882a593Smuzhiyunthe Linux kernel. It is a lightweight alternative to libasound." 3*4882a593SmuzhiyunHOMEPAGE = "https://github.com/tinyalsa/tinyalsa" 4*4882a593SmuzhiyunSECTION = "libs/multimedia" 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunLICENSE = "BSD-3-Clause" 7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunSRCREV = "8449529c7e50f432091539ba7b438e79b04059b5" 10*4882a593SmuzhiyunSRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https \ 11*4882a593Smuzhiyun file://0001-Use-CMAKE_INSTALL_-path-instead-of-hardcoding-bin-li.patch \ 12*4882a593Smuzhiyun " 13*4882a593SmuzhiyunPV = "1.1.1+git${SRCPV}" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunS = "${WORKDIR}/git" 16*4882a593Smuzhiyun 17*4882a593Smuzhiyuninherit cmake 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun# tinyalsa is built as a static library. Enable PIC to avoid relocation 20*4882a593Smuzhiyun# errors like these: 21*4882a593Smuzhiyun# 22*4882a593Smuzhiyun# unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' 23*4882a593SmuzhiyunCFLAGS += " -fPIC -DPIC " 24