diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-02-13 22:15:33 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-02-13 22:15:33 (GMT) |
commit | c7625949ee6bf0ad0538284e4d1d0c6f72f20e47 (patch) | |
tree | d667e17610ebe9d37d6ceaf17821be24c0025446 | |
parent | 04e1c349d96121bdeb91206aafaf464111f6f4bb (diff) | |
parent | 809ffe59869433927e9a1b20905901286c53bd2a (diff) | |
download | mxe-c7625949ee6bf0ad0538284e4d1d0c6f72f20e47.zip mxe-c7625949ee6bf0ad0538284e4d1d0c6f72f20e47.tar.gz mxe-c7625949ee6bf0ad0538284e4d1d0c6f72f20e47.tar.bz2 |
Merge pull request #1216 from colinbourassa/add_librosco
Add librosco (0.1.11)
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/librosco.mk | 30 |
2 files changed, 34 insertions, 0 deletions
@@ -1846,6 +1846,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <td class="website"><a href="http://librsvg.sourceforge.net/">librsvg</a></td> </tr> <tr> + <td class="package">librosco</td> + <td class="website"><a href="https://github.com/colinbourassa/librosco/">librosco</a></td> + </tr> + <tr> <td class="package">librtmp</td> <td class="website"><a href="http://rtmpdump.mplayerhq.hu/">librtmp</a></td> </tr> 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 |