Add to test kodi

master
serkus01 2 years ago
parent e5124f4b13
commit 5dbfa30ce9

@ -0,0 +1,43 @@
PKG_NAME := kodi
PKG_VER := 19.4
HOMEPAGE="https://www.erlang.org/"
PKG_SOURCES := https://github.com/xbmc/xbmc/archive/refs/tags/19.4-Matrix.tar.gz
#MD5 не сделано
PKG_MD5 := 3c4c9da083f2a6b89aa1766415339d0c
#PKG_PATCHES := pkg_patch.txt
include $(EXTBLD_LIB)
#ERLANG_CPPFLAGS = ${EMBOX_CPPFLAGS}
#ERLANG_CPPFLAGS += -I$(abspath .)/include
#ERLANG_CPPFLAGS += -include $(abspath .)/include/embox_erlang_compat.h
$(CONFIGURE) :
export EMBOX_GCC_LINK=full; \
cd $(PKG_SOURCE_DIR) && ( \
/configure --prefix=$(PKG_INSTALL_DIR) \
--host=$(AUTOCONF_TARGET_TRIPLET) \
--target=$(AUTOCONF_TARGET_TRIPLET) \
CPPFLAGS="$(ERLANG_CPPFLAGS)" \
-with-termcap=no \
-with-javac=no \
CC=$(EMBOX_GCC) \
)
touch $@
$(BUILD) :
cd $(PKG_SOURCE_DIR) && ( \
$(MAKE) ERL_XCOMP_FORCE_DIFFERENT_OTP=yes MAKEFLAGS='$(EMBOX_IMPORTED_MAKEFLAGS)'; \
)
touch $@
$(INSTALL) :
cd $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VER) && ( \
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) install; \
mv $(PKG_INSTALL_DIR)/usr/local/bin/erl $(PKG_INSTALL_DIR)/erl; \
)
touch $@

@ -0,0 +1,20 @@
package third_party.cmd
@App
@AutoCmd(preserve_locals=true)
@Build(script="$(EXTERNAL_MAKE)")
@BuildArtifactPath(cppflags="-I$(abspath
$(EXTERNAL_BUILD_DIR))/third_party/cmd/kodi/install/include")
@Cmd(name = "kodi",
help = "A free and open source media-player and entertainment hub
",
man = '''
NAME
A free and open source media-player and entertainment hub
''')
module kodi{
depends embox.compat.posix.proc.sigwait_stub
depends embox.compat.posix.pthread_stack_stub
depends embox.compat.posix.pthread_scope_stub
}

@ -0,0 +1,2 @@
# Портировамние OTP-25.0/Erlang-25.0 on Embox OS
Loading…
Cancel
Save