diff options
author | Stephan Sundermann <stephansundermann@gmail.com> | 2023-02-26 13:22:45 +0100 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2023-03-18 18:24:44 +0100 |
commit | b578bb22d4a9a69ff01306834e4a48ecb1eeef26 (patch) | |
tree | 5f18eb50c216befc3bcd8836d242902b79724a8b | |
parent | 0769b5d83c847709ccd2521633af1d80afdb7fe1 (diff) |
Add webos-userland as a replacement for mesa
-rw-r--r-- | tools/depends/target/Makefile | 6 | ||||
-rw-r--r-- | tools/depends/target/webos-userland/Makefile | 33 | ||||
-rw-r--r-- | tools/depends/target/webos-userland/WEBOS-USERLAND-VERSION | 4 |
3 files changed, 39 insertions, 4 deletions
diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile index e353e6cc31..656f2c7a75 100644 --- a/tools/depends/target/Makefile +++ b/tools/depends/target/Makefile @@ -133,10 +133,8 @@ ifeq ($(OS),linux) endif ifeq ($(TARGET_PLATFORM),webos) - DEPENDS += webos-wayland-extensions - EXCLUDED_DEPENDS += dbus libcec linux-system-x11-libs pipewire - - MESA_DEPS := $(filter-out $(EXCLUDED_DEPENDS),$(MESA_DEPS)) + DEPENDS += wayland waylandpp wayland-protocols webos-wayland-extensions webos-userland + EXCLUDED_DEPENDS += dbus libcec linux-system-x11-libs pipewire mesa endif endif diff --git a/tools/depends/target/webos-userland/Makefile b/tools/depends/target/webos-userland/Makefile new file mode 100644 index 0000000000..df268c0106 --- /dev/null +++ b/tools/depends/target/webos-userland/Makefile @@ -0,0 +1,33 @@ +include ../../Makefile.include WEBOS-USERLAND-VERSION ../../download-files.include +DEPS= ../../Makefile.include Makefile WEBOS-USERLAND-VERSION ../../download-files.include + +# configuration settings +CMAKE_OPTIONS=-DBUILD_SHARED_LIBS=ON \ + -DENABLE_TESTS=OFF \ + -DENABLE_DOCUMENTATION=OFF \ + -DENABLE_UTILS=OFF \ + -DENABLE_EXAMPLES=OFF + +LIBDYLIB=$(PLATFORM)/build/libEGL.so + +all: .installed-$(PLATFORM) + +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) + rm -rf $(PLATFORM); mkdir -p $(PLATFORM) + cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); mkdir -p build + cd $(PLATFORM)/build; $(CMAKE) $(CMAKE_OPTIONS) .. + +$(LIBDYLIB): $(PLATFORM) + $(MAKE) -C $(PLATFORM)/build + +.installed-$(PLATFORM): $(LIBDYLIB) + $(MAKE) -C $(PLATFORM)/build install + touch $@ + +clean: + $(MAKE) -C $(PLATFORM)/build clean + rm -f .installed-$(PLATFORM) + +distclean:: + rm -rf $(PLATFORM) .installed-$(PLATFORM) diff --git a/tools/depends/target/webos-userland/WEBOS-USERLAND-VERSION b/tools/depends/target/webos-userland/WEBOS-USERLAND-VERSION new file mode 100644 index 0000000000..ec0c0dc98e --- /dev/null +++ b/tools/depends/target/webos-userland/WEBOS-USERLAND-VERSION @@ -0,0 +1,4 @@ +LIBNAME=webos-userland +VERSION=0.0.5 +ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz +SHA512=461f9a7dcbd97c9458348dddee5e2f5ae11a882dcc24128ca61fc97e3964090f5dc09fcf2bea624fb2096b4e387a505207bb088da8a4cb15ee960dfefd03ad9e |