From 809ffe59869433927e9a1b20905901286c53bd2a Mon Sep 17 00:00:00 2001 From: Colin Bourassa Date: Sat, 6 Feb 2016 20:45:30 -0500 Subject: Add librosco 0.1.11 --- index.html | 4 ++++ src/librosco.mk | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 src/librosco.mk diff --git a/index.html b/index.html index 3d9856d..28e7a94 100644 --- a/index.html +++ b/index.html @@ -1846,6 +1846,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) librsvg + librosco + librosco + + librtmp librtmp diff --git a/src/librosco.mk b/src/librosco.mk new file mode 100644 index 0000000..207cf0a --- /dev/null +++ b/src/librosco.mk @@ -0,0 +1,30 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := librosco +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.1.11 +$(PKG)_CHECKSUM := 48bb2d07c2575f39bdb6cf022889f20bd855eb9100bb19d4e2536a771198e3a4 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/colinbourassa/librosco/archive/$($(PKG)_VERSION).tar.gz +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(call MXE_GET_GITHUB_TAGS, colinbourassa/librosco) +endef + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$(1)/build' && '$(TARGET)-cmake' .. \ + -DBUILD_STATIC=$(if $(BUILD_STATIC),ON,OFF) \ + -DENABLE_DOC_INSTALL=off \ + -DENABLE_TESTAPP_INSTALL=off + + $(MAKE) -C '$(1)/build' -j '$(JOBS)' + $(MAKE) -C '$(1)/build' -j 1 install + + '$(TARGET)-gcc' $(1)/src/readmems.c \ + -o '$(PREFIX)/$(TARGET)/bin/test-librosco.exe' \ + `'$(TARGET)-pkg-config' --libs librosco` +endef -- cgit v0.12