Merge pull request #19 from dangowrt/packages-updates

update some packages
This commit is contained in:
Mirko Vogt
2021-11-24 16:40:25 +01:00
committed by GitHub
9 changed files with 68 additions and 41 deletions

View File

@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=wayland-protocols PKG_NAME:=wayland-protocols
PKG_VERSION:=1.21 PKG_VERSION:=1.24
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases/ PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases/
PKG_HASH:=b99945842d8be18817c26ee77dafa157883af89268e15f4a5a1a1ff3ffa4cde5 PKG_HASH:=bff0d8cffeeceb35159d6f4aa6bab18c807b80642c9d50f66cba52ecf7338bc2
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@@ -15,6 +15,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=wayland PKG_BUILD_DEPENDS:=wayland
HOST_BUILD_DEPENDS:=wayland/host
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk include $(INCLUDE_DIR)/meson.mk

View File

@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=wayland PKG_NAME:=wayland
PKG_VERSION:=1.19.0 PKG_VERSION:=1.19.92
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases/ PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases
PKG_HASH:=baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15 PKG_HASH:=f8cbd8a8c713ed393e63e7c6ac81c6b9ef5a49a2b631717377fa78b80ac34cfa
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@@ -14,6 +14,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=libffi/host libxml2/host expat/host wayland/host PKG_BUILD_DEPENDS:=libffi/host libxml2/host expat/host wayland/host
HOST_BUILD_DEPENDS:=$(PKG_BUILD_DEPENDS)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
@@ -49,6 +50,8 @@ MESON_HOST_ARGS += \
-Ddocumentation=false \ -Ddocumentation=false \
-Ddtd_validation=true -Ddtd_validation=true
HOST_LDFLAGS += $(STAGING_DIR_HOST)/lib/libz.a -lm
MESON_ARGS += \ MESON_ARGS += \
-Dscanner=true \ -Dscanner=true \
-Dlibraries=true \ -Dlibraries=true \

View File

@@ -1,6 +1,6 @@
--- a/src/meson.build --- a/src/meson.build
+++ b/src/meson.build +++ b/src/meson.build
@@ -59,8 +59,12 @@ if get_option('scanner') @@ -70,8 +70,12 @@ if get_option('scanner')
endif endif
if meson.is_cross_build() or not get_option('scanner') if meson.is_cross_build() or not get_option('scanner')
@@ -17,8 +17,8 @@
endif endif
--- a/meson_options.txt --- a/meson_options.txt
+++ b/meson_options.txt +++ b/meson_options.txt
@@ -6,6 +6,10 @@ option('scanner', @@ -10,6 +10,10 @@ option('tests',
description: 'Compile wayland-scanner binary', description: 'Compile Wayland tests',
type: 'boolean', type: 'boolean',
value: 'true') value: 'true')
+option('scanner_bin', +option('scanner_bin',

View File

@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=mesa PKG_NAME:=mesa
PKG_VERSION:=21.1.7 PKG_VERSION:=21.3.0
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://archive.mesa3d.org/ PKG_SOURCE_URL:=https://archive.mesa3d.org/
PKG_HASH:=e9e67c10654f2e4bf15b944bb048007a614292aa4792b1b7512eb700b7b3a7bb PKG_HASH:=a2753c09deef0ba14d35ae8a2ceff3fe5cd13698928c7bb62c2ec8736eb09ce1
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
@@ -70,7 +70,7 @@ define Package/libxatracker
SUBMENU:=Video SUBMENU:=Video
TITLE:=Mesa3D libxatracker TITLE:=Mesa3D libxatracker
URL:=https://www.mesa3d.org URL:=https://www.mesa3d.org
DEPENDS:=+libstdcpp +zlib +libdrm +libexpat DEPENDS:=+libstdcpp +zlib +libdrm +libexpat @(aarch64||arm||i386||i686||x86_64)
endef endef
define Package/libxatracker/description define Package/libxatracker/description
@@ -116,7 +116,7 @@ define Package/libvulkan-broadcom
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
SUBMENU:=Video SUBMENU:=Video
DEPENDS:=libmesa @(arm||aarch64) DEPENDS:=libmesa @(arm||aarch64) @BROKEN
TITLE:=Broadcom Vulkan driver TITLE:=Broadcom Vulkan driver
URL:=https://www.mesa3d.org URL:=https://www.mesa3d.org
endef endef
@@ -169,7 +169,6 @@ GALLIUM_DRIVERS:=kmsro swrast vc4 virgl
ifneq ($(CONFIG_LIBDRM_INTEL),) ifneq ($(CONFIG_LIBDRM_INTEL),)
DRI_DRIVERS+=i965 DRI_DRIVERS+=i965
VULKAN_DRIVERS+=intel
GALLIUM_DRIVERS+=i915 GALLIUM_DRIVERS+=i915
endif endif
@@ -184,21 +183,8 @@ ifneq ($(CONFIG_LIBDRM_RADEON),)
# r600 and radeonsi require LLVM # r600 and radeonsi require LLVM
endif endif
ifeq ($(ARCH),x86_64)
GALLIUM_DRIVERS+=svga
endif
ifeq ($(ARCH),i386)
GALLIUM_DRIVERS+=svga
endif
ifeq ($(ARCH),i686)
GALLIUM_DRIVERS+=svga
endif
ifeq ($(ARCH),aarch64) ifeq ($(ARCH),aarch64)
GALLIUM_DRIVERS+=freedreno etnaviv panfrost lima GALLIUM_DRIVERS+=freedreno etnaviv panfrost lima
VULKAN_DRIVERS+=broadcom freedreno
ifneq ($(CONFIG_LIBDRM_NOUVEAU),) ifneq ($(CONFIG_LIBDRM_NOUVEAU),)
GALLIUM_DRIVERS+=tegra GALLIUM_DRIVERS+=tegra
endif endif
@@ -206,7 +192,6 @@ endif
ifeq ($(ARCH),arm) ifeq ($(ARCH),arm)
GALLIUM_DRIVERS+=freedreno etnaviv panfrost lima GALLIUM_DRIVERS+=freedreno etnaviv panfrost lima
VULKAN_DRIVERS+=broadcom freedreno
ifneq ($(CONFIG_LIBDRM_NOUVEAU),) ifneq ($(CONFIG_LIBDRM_NOUVEAU),)
GALLIUM_DRIVERS+=tegra GALLIUM_DRIVERS+=tegra
endif endif
@@ -220,6 +205,29 @@ ifeq ($(ARCH),mipsel)
GALLIUM_DRIVERS+=etnaviv GALLIUM_DRIVERS+=etnaviv
endif endif
ifeq ($(ARCH),x86_64)
GALLIUM_DRIVERS+=svga
endif
ifeq ($(ARCH),i386)
GALLIUM_DRIVERS+=svga
endif
ifeq ($(ARCH),i686)
GALLIUM_DRIVERS+=svga
endif
ifneq ($(CONFIG_PACKAGE_libvulkan-broadcom),)
VULKAN_DRIVERS+=broadcom
endif
ifneq ($(CONFIG_PACKAGE_libvulkan-freedreno),)
VULKAN_DRIVERS+=freedreno
endif
ifneq ($(CONFIG_PACKAGE_libvulkan-intel),)
VULKAN_DRIVERS+=intel
endif
MESON_ARGS += \ MESON_ARGS += \
-Dplatforms=wayland \ -Dplatforms=wayland \
@@ -242,6 +250,8 @@ MESON_ARGS += \
-Ddraw-use-llvm=false \ -Ddraw-use-llvm=false \
-Dscanner_bin="$(STAGING_DIR_HOSTPKG)/bin/wayland-scanner" -Dscanner_bin="$(STAGING_DIR_HOSTPKG)/bin/wayland-scanner"
TARGET_CFLAGS += -I$(MESON_BUILD_DIR)/src/broadcom/
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/

View File

@@ -1,6 +1,6 @@
--- a/meson.build --- a/meson.build
+++ b/meson.build +++ b/meson.build
@@ -1830,12 +1830,17 @@ endif @@ -1973,12 +1973,17 @@ endif
# TODO: symbol mangling # TODO: symbol mangling
if with_platform_wayland if with_platform_wayland
@@ -25,7 +25,7 @@
dep_wayland_client = dependency('wayland-client', version : '>=1.18') dep_wayland_client = dependency('wayland-client', version : '>=1.18')
--- a/meson_options.txt --- a/meson_options.txt
+++ b/meson_options.txt +++ b/meson_options.txt
@@ -456,6 +456,11 @@ option( @@ -486,6 +486,11 @@ option(
value : 25, value : 25,
description : 'Android Platform SDK version. Default: Nougat version.' description : 'Android Platform SDK version. Default: Nougat version.'
) )

View File

@@ -30,12 +30,8 @@ define Package/libpango
endef endef
MESON_ARGS += \ MESON_ARGS += \
-Dgnome=false \
-Dintrospection=disabled \ -Dintrospection=disabled \
-Dvapi=disabled \
-Dgtk_doc=false \ -Dgtk_doc=false \
-Dtests=false \
-Dinstalled_tests=false \
-Dsysprof=disabled -Dsysprof=disabled
define package/libpango/decription define package/libpango/decription

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=seatd PKG_NAME:=seatd
PKG_VERSION:=0.5.0 PKG_VERSION:=0.6.3
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.sr.ht/~kennylevinsen/seatd PKG_SOURCE_URL:=https://git.sr.ht/~kennylevinsen/seatd
PKG_SOURCE_VERSION:=$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_VERSION)
PKG_MIRROR_HASH:=9b899307e8717dc21735b02c80ebc91d6925c6bc5037f4a438d01258f472bc77 PKG_MIRROR_HASH:=f3bcdf68b67ec48e637851031a839bff1835ca8462a03fa4f7556f431217af37
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@@ -27,6 +27,7 @@ define Package/libseat
endef endef
define Package/libseat/description define Package/libseat/description
A universal seat management library.
endef endef
define Package/seatd define Package/seatd
@@ -39,12 +40,13 @@ define Package/seatd
endef endef
define Package/seatd/description define Package/seatd/description
A minimal seat management daemon.
endef endef
MESON_ARGS += \ MESON_ARGS += \
-Dlogind=disabled \ -Dlibseat-logind=disabled \
-Dseatd=enabled \ -Dlibseat-seatd=enabled \
-Dbuiltin=disabled \ -Dlibseat-builtin=disabled \
-Dserver=enabled \ -Dserver=enabled \
-Dexamples=disabled \ -Dexamples=disabled \
-Dman-pages=disabled \ -Dman-pages=disabled \
@@ -67,6 +69,8 @@ endef
define Package/seatd/install define Package/seatd/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/seatd $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/seatd $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/seatd.init $(1)/etc/init.d/seatd
endef endef
$(eval $(call BuildPackage,libseat)) $(eval $(call BuildPackage,libseat))

View File

@@ -0,0 +1,13 @@
#!/bin/sh /etc/rc.common
START=90
STOP=10
USE_PROCD=1
PROG=/usr/bin/seatd
start_service() {
procd_open_instance
procd_set_param command "$PROG"
procd_close_instance
}

View File

@@ -10,10 +10,10 @@ PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/wayland/weston.git PKG_SOURCE_URL:=https://gitlab.freedesktop.org/wayland/weston.git
PKG_SOURCE_DATE:=2021-08-13 PKG_SOURCE_DATE:=2021-11-23
PKG_VERSION:=10.0.0~pre0-$(PKG_SOURCE_DATE) PKG_VERSION:=10.0.0~pre0-$(PKG_SOURCE_DATE)
PKG_SOURCE_VERSION:=d259bbeccdd321b5327537ddcdde06b8c5671d48 PKG_SOURCE_VERSION:=a8827940274391d658ef2ea69bce4fade45bff5f
PKG_MIRROR_HASH:=45f6f7ff0a18f11222a09813064ef1a4bc6539eee4e73430d93ce38feea9c9cc PKG_MIRROR_HASH:=a24b98f7a1ae5a75a690af81a5b194d20379679c4e7be33867d8edb8f3b2bc7d
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT