Browse Source

dbus: update to 1.13.18

Switch to building with CMake for faster compilation.

Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
0fb5d3ed2c
1 changed files with 20 additions and 35 deletions
  1. +20
    -35
      utils/dbus/Makefile

+ 20
- 35
utils/dbus/Makefile View File

@ -8,27 +8,25 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=dbus PKG_NAME:=dbus
PKG_VERSION:=1.13.12
PKG_RELEASE:=1
PKG_VERSION:=1.13.18
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://dbus.freedesktop.org/releases/dbus PKG_SOURCE_URL:=https://dbus.freedesktop.org/releases/dbus
PKG_HASH:=7588649b56dd257c6a5f85a8c45aa2dfdf9e99f4de3983710f452081ca43eca6
PKG_HASH:=8078f5c25e34ab907ce06905d969dc8ef0ccbec367e1e1707c7ecf8460f4254e
PKG_MAINTAINER:= PKG_MAINTAINER:=
PKG_LICENSE:=AFL-2.1 PKG_LICENSE:=AFL-2.1
PKG_CPE_ID:=cpe:/a:freedesktop:dbus PKG_CPE_ID:=cpe:/a:freedesktop:dbus
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../../devel/ninja/ninja-cmake.mk
define Package/dbus/Default define Package/dbus/Default
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Simple interprocess messaging system TITLE:=Simple interprocess messaging system
URL:=http://dbus.freedesktop.org/
URL:=https://dbus.freedesktop.org/
endef endef
define Package/dbus/Default/description define Package/dbus/Default/description
@ -73,32 +71,19 @@ $(call Package/dbus/Default/description)
This package contains D-Bus utilities. This package contains D-Bus utilities.
endef endef
CONFIGURE_ARGS += \
--disable-maintainer-mode \
--disable-developer \
--enable-debug=no \
--enable-shared \
--disable-static \
--disable-verbose-mode \
--disable-asserts \
--disable-xml-docs \
--disable-doxygen-docs \
--disable-ducktype-docs \
--disable-selinux \
--disable-apparmor \
--disable-libaudit \
--enable-inotify \
--disable-kqueue \
--disable-console-owner-file \
--disable-systemd \
--disable-tests \
--disable-code-coverage \
--disable-x11-autolaunch \
--with-session-socket-dir=/tmp \
--with-system-socket=/var/run/dbus/system_bus_socket \
--with-system-pid-file=/var/run/dbus.pid \
--with-dbus-user=root \
--without-x
CMAKE_OPTIONS += \
-DDBUS_BUILD_TESTS=OFF \
-DDBUS_LINUX=ON \
-DDBUS_DISABLE_ASSERT=ON \
-DBUS_ENABLE_STATS=OFF \
-DDBUS_ENABLE_CONTAINERS=OFF \
-DENABLE_SYSTEMD=OFF \
-DDBUS_BUS_ENABLE_SYSTEMD=OFF \
-DHAVE_SYSTEMD=OFF \
-DDBUS_WITH_GLIB=OFF \
-DDBUS_ENABLE_VERBOSE_MODE=OFF \
-DDBUS_DISABLE_CHECKS=ON \
-DDBUS_BUILD_X11=OFF \
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
@ -108,7 +93,7 @@ define Build/InstallDev
$(PKG_INSTALL_DIR)/usr/lib/dbus-1.0/include/dbus/*.h \ $(PKG_INSTALL_DIR)/usr/lib/dbus-1.0/include/dbus/*.h \
$(1)/usr/lib/dbus-1.0/include/dbus/ $(1)/usr/lib/dbus-1.0/include/dbus/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libdbus-1.{so*,la} \
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libdbus-1.so* \
$(1)/usr/lib/ $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/dbus-1.0 $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/dbus-1.0 $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
@ -129,7 +114,7 @@ define Package/dbus/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dbus-uuidgen $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dbus-uuidgen $(1)/usr/bin/
$(INSTALL_BIN) ./files/dbus-launch $(1)/usr/bin/ $(INSTALL_BIN) ./files/dbus-launch $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dbus-daemon-launch-helper $(1)/usr/lib/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/dbus-daemon-launch-helper $(1)/usr/lib/
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/dbus.init $(1)/etc/init.d/dbus $(INSTALL_BIN) ./files/dbus.init $(1)/etc/init.d/dbus
$(INSTALL_DIR) $(1)/usr/share/dbus-1 $(INSTALL_DIR) $(1)/usr/share/dbus-1


Loading…
Cancel
Save