New commits:
commit f334dd0377870a57d0044843b8106ae6548a8070
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
utils/xdg-desktop-portal-hyprland: version 1.0.0
commit d7c371393c8a04634a107ceb0f9cea68af3b4a75
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
libs/sdbus-cpp: new spell, high-level C++ D-Bus library for Linux
diff --git a/ChangeLog b/ChangeLog
index 43c1dfa..688387e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2023-09-16 Pavel Vinogradov <public AT sorcemage.org>
+ * libs/sdbus-cpp: new spell, high-level C++ D-Bus library for Linux
+
2023-09-10 Treeve Jelbert <treeve AT sourcemage.org>
* qt6/qt6location: added, geolocation support for qt6
diff --git a/libs/sdbus-cpp/BUILD b/libs/sdbus-cpp/BUILD
new file mode 100755
index 0000000..aa32f11
--- /dev/null
+++ b/libs/sdbus-cpp/BUILD
@@ -0,0 +1,3 @@
+OPTS="${SDBUS_CPP_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/libs/sdbus-cpp/CONFIGURE b/libs/sdbus-cpp/CONFIGURE
new file mode 100755
index 0000000..41cda6a
--- /dev/null
+++ b/libs/sdbus-cpp/CONFIGURE
@@ -0,0 +1,5 @@
+. "${GRIMOIRE}/CMAKE_CONFIGURE" &&
+
+config_query_option SDBUS_CPP_OPTS "Build docs?" n \
+ "-DBUILD_DOC=ON" \
+ "-DBUILD_DOC=OFF"
diff --git a/libs/sdbus-cpp/DEPENDS b/libs/sdbus-cpp/DEPENDS
new file mode 100755
index 0000000..00c0fac
--- /dev/null
+++ b/libs/sdbus-cpp/DEPENDS
@@ -0,0 +1,25 @@
+. "${GRIMOIRE}/CMAKE_DEPENDS" &&
+
+if [[ "${SDBUS_CPP_BRANCH}" == "scm" ]]; then
+ depends git
+fi
+
+if list_find "${SDBUS_CPP_OPTS}" "-DBUILD_DOC=ON"; then
+ optional_depends doxygen \
+ "-DBUILD_DOXYGEN_DOC=ON" \
+ "-DBUILD_DOXYGEN_DOC=OFF" \
+ "for building Doxygen documentation"
+fi &&
+
+optional_depends expat \
+ "-DBUILD_CODE_GEN=ON" \
+ "-DBUILD_CODE_GEN=OFF" \
+ "build code generator" &&
+
+optional_depends systemd \
+ "" \
+ "" \
+ "for using libsystemd (otherwise, elogind)" &&
+if ! is_depends_enabled "${SPELL}" "systemd"; then
+ depends elogind
+fi
diff --git a/libs/sdbus-cpp/DETAILS b/libs/sdbus-cpp/DETAILS
new file mode 100755
index 0000000..a0471df
--- /dev/null
+++ b/libs/sdbus-cpp/DETAILS
@@ -0,0 +1,28 @@
+. "${GRIMOIRE}/FUNCTIONS"
+. "${GRIMOIRE}/CMAKE_FUNCTIONS"
+ SPELL="sdbus-cpp"
+if [[ "${SDBUS_CPP_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+SOURCE_DIRECTORY="${bUILD_DIRECTORY}/${SPELL}-scm"
+
SOURCE_URL[0]="git_http://https://github.com/Kistler-Group/${SPELL}:${SPELL}-scm"
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="1.3.0"
+
SOURCE_HASH="sha512:8f4cb9ae88b1ec0db0bcc27e131fcb9ad8a8bc88e39721b3b73f63e057bae4cd36619894e25114ccddb1a8e6c21db2f80adcabb3263ff5d8b34b72af7563afe2"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+
SOURCE_URL[0]="https://github.com/Kistler-Group/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz"
+# Watch: https://github.com/Kistler-Group/sdbus-cpp/tags
tags/v([0-9.]+)[.]tar
+fi
+ WEB_SITE="https://github.com/Kistler-Group/sdbus-cpp/"
+ ENTERED="20230916"
+ LICENSE[0]="LGPL"
+ KEYWORDS="dbus c++ library"
+ SHORT="High-level C++ D-Bus library for Linux"
+cat << EOF
+sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide
+expressive, easy-to-use API in modern C++. It adds another layer of
+abstraction on top of sd-bus, a nice, fresh C D-Bus implementation by
systemd.
+EOF
diff --git a/libs/sdbus-cpp/HISTORY b/libs/sdbus-cpp/HISTORY
new file mode 100644
index 0000000..db2b0a4
--- /dev/null
+++ b/libs/sdbus-cpp/HISTORY
@@ -0,0 +1,4 @@
+2023-09-16 Pavel Vinogradov <public AT sorcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, PREPARE: created the spell,
+ version 1.3.0
+
diff --git a/libs/sdbus-cpp/PREPARE b/libs/sdbus-cpp/PREPARE
new file mode 100755
index 0000000..97e40f4
--- /dev/null
+++ b/libs/sdbus-cpp/PREPARE
@@ -0,0 +1,3 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+
+prepare_select_branch stable scm
diff --git a/utils/xdg-desktop-portal-hyprland/DEPENDS
b/utils/xdg-desktop-portal-hyprland/DEPENDS
index b441d1b..c9b86ba 100755
--- a/utils/xdg-desktop-portal-hyprland/DEPENDS
+++ b/utils/xdg-desktop-portal-hyprland/DEPENDS
@@ -1,4 +1,3 @@
-. "$GRIMOIRE/depends_one_of.function" &&
. "${GRIMOIRE}/MESON_DEPENDS" &&
depends xdg-desktop-portal &&
depends pipewire &&
@@ -8,12 +7,12 @@ depends wayland-protocols &&
depends inih &&
depends mesa &&
depends libdrm &&
+depends sdbus-cpp &&