add faad2 library
This commit is contained in:
parent
6cc1876191
commit
18ad71fb83
|
@ -0,0 +1,28 @@
|
|||
SUMMARY = "Freeware Advanced Audio (AAC) Decoder including SBR decoding"
|
||||
HOMEPAGE = "https://github.com/dsvensson/faad2"
|
||||
SECTION = "libs"
|
||||
LICENSE = "nGPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=381c8cbe277a7bc1ee2ae6083a04c958"
|
||||
|
||||
SRC_URI = "https://github.com/dsvensson/faad2/archive/refs/heads/xmms2.zip"
|
||||
SRC_URI[md5sum] = "161e919c377f135c5e90d7f3545a7d21"
|
||||
SRC_URI[sha256sum] = "e5e275e719df811e59debc3851fbca7e8869df13b91898942aeb307489363ce7"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
S = "${WORKDIR}/faad2-xmms2"
|
||||
|
||||
|
||||
do_configure_prepend() {
|
||||
cd ${S} && ./bootstrap
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S} && oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${S} && oe_runmake 'DESTDIR=${D}' install
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN} += "already-stripped installed-vs-shipped dev-deps ldflags"
|
|
@ -1,20 +0,0 @@
|
|||
SUMMARY = "jemalloc memory allocator"
|
||||
DESCRIPTION = "jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support."
|
||||
HOMEPAGE = "http://jemalloc.net/"
|
||||
DEPENDS = ""
|
||||
LICENSE = "GPLv2"
|
||||
|
||||
inherit workonsrc
|
||||
WORKONSRC = "${TOPDIR}/../src/apps/jemalloc"
|
||||
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/usr/lib64
|
||||
install -d ${D}/usr/lib64/pkgconfig
|
||||
install -d ${D}/usr/include/jemalloc
|
||||
|
||||
#jemalloc
|
||||
install -m 755 ${S}/lib64/libjemalloc.so ${D}/usr/lib64
|
||||
install -m 755 ${S}/lib64/pkgconfig/jemalloc.pc ${D}/usr/lib64/pkgconfig
|
||||
install -m 755 ${S}/include/jemalloc/jemalloc.h ${D}/usr/include/jemalloc
|
||||
}
|
Loading…
Reference in New Issue