From 8d6c809833d3d3fe8b62f2e5b4f33055fe5b790f Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Wed, 3 Aug 2016 13:34:14 -0400 Subject: [PATCH] Add recipes for sdl2-ttf-rs --- recipes-graphics/sdl2_ttf/sdl2-ttf-rs_0.21.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-graphics/sdl2_ttf/sdl2-ttf-rs_0.21.bb diff --git a/recipes-graphics/sdl2_ttf/sdl2-ttf-rs_0.21.bb b/recipes-graphics/sdl2_ttf/sdl2-ttf-rs_0.21.bb new file mode 100644 index 0000000..92edda6 --- /dev/null +++ b/recipes-graphics/sdl2_ttf/sdl2-ttf-rs_0.21.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "SDL2 bindings for Rust" +HOMEPAGE = "https://github.com/AngryLawyer/rust-sdl2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "\ + file://LICENSE;md5=d8786ddfe98d69e641491528dd88fa55 \ +" + +DEPENDS += "\ + bitflags \ + sdl2-sys \ + sdl2-rs \ + libsdl2-ttf \ + " + +inherit rust-bin + +LIB_SRC = "${S}/src/sdl2_ttf/lib.rs" + +SRC_URI = "git://github.com/andelf/rust-sdl2_ttf.git;protocol=https" +SRCREV = "203a550a804aed79e6ad6c1fcc0ed9e31e9ca2f4" + +S = "${WORKDIR}/git" + +do_compile () { + oe_compile_rust_lib +} + +do_install () { + oe_install_rust_lib +}