Skip to contentSkip to conversation

libde265: add recipe

PATCH New Carlos Rafael Giani 1 participant 2 messages Apr 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libde265: add recipe

libde265 is an open source implementation of the h.265 video codec.

---
 .../recipes-multimedia/libde265/libde265_1.0.2.bb    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/libde265/libde265_1.0.2.bb
meta-multimedia/recipes-multimedia/libde265/libde265_1.0.2.bb new file +20 -0
new file mode 100644
index 000000000..cd075ffe1
@@ -0,0 +1,20 @@
+DESCRIPTION = "libde265 is an open source implementation of the h.265 \
+video codec. It is written from scratch and has a plain C API to enable a \
+simple integration into other software."
+HOMEPAGE = "http://www.libde265.org/"
+SECTION = "libs/multimedia"
+
+LICENSE = "LGPLv3"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://COPYING;md5=852f345c1c52c9160f9a7c36bb997546"
+
+SRC_URI = "https://github.com/strukturag/libde265/releases/download/v${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "93520b378df25f3a94e962f2b54872cc"
+SRC_URI[sha256sum] = "eaa0348839c2935dd90647d72c6dd4a043e36361cb3c33d2b04df10fbcebd3cb"
+
+EXTRA_OECONF = "--disable-sherlock265 --disable-dec265"
+
+inherit autotools-brokensep pkgconfig
+
+PACKAGES =+ "${PN}-tools"
+FILES_${PN}-tools = "${bindir}/*"
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 tinyalsa: add recipe

TinyALSA is a small library to interface with ALSA in the Linux kernel.

---
 .../recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb  | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb new file +28 -0
new file mode 100644
index 000000000..fa5449ff6
@@ -0,0 +1,28 @@
+DESCRIPTION = "TinyALSA is a small library to interface with ALSA in \
+the Linux kernel. It is a lightweight alternative to libasound."
+HOMEPAGE = "https://github.com/tinyalsa/tinyalsa"
+SECTION = "libs/multimedia"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b"
+
+SRC_URI = "https://github.com/tinyalsa/tinyalsa/archive/${PV}.tar.gz"
+SRC_URI[md5sum] = "ec5c1cc175fcb8c9d3d0adcececf10a9"
+SRC_URI[sha256sum] = "d92b438cea348ae316c4b2cbf367b4f01ed821a947e6a34d813624e9e3c936c1"
+
+do_configure() {
+    :
+}
+
+do_compile() {
+    oe_runmake CC='${CC}' LD='${CC}' AR='${AR}'
+}
+
+do_install() {
+    oe_runmake install \
+        PREFIX="${prefix}" DESTDIR="${D}" INCDIR="${includedir}/tinyalsa" \
+        LIBDIR="${libdir}" BINDIR="${bindir}" MANDIR="${mandir}"
+}
+
+PACKAGES =+ "${PN}-tools"
+FILES_${PN}-tools = "${bindir}/*"
Signature · 1 line
2.14.1