phodav: upgrade 3.0 -> 3.2

gtk-doc was replaced by gi-docgen, drop the gtk-doc class and disable
the new docs, introspection and litmus options. Set the new sysusers and
udev rules directories, and derive the download directory from PV.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-11-11 22:46:05 -08:00
1 parent 7c926d1ca9
commit bbfc9df149
2 files changed
+26 -24

No files matched your search

@@ -1,24 +0,0 @@
SUMMARY = "phodav is a WebDav server implementation using libsoup (RFC 4918)."
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = " \
glib-2.0 \
libsoup \
"
GTKDOC_MESON_OPTION = 'gtk_doc'
GTKDOC_MESON_ENABLE_FLAG = 'enabled'
GTKDOC_MESON_DISABLE_FLAG = 'disabled'
PACKAGECONFIG ??= "avahi"
PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi"
inherit pkgconfig gnomebase gettext gtk-doc
EXTRA_OEMESON += "-Dsystemdsystemunitdir=${systemd_system_unitdir}"
SRC_URI = "https://download.gnome.org/sources/phodav/3.0/phodav-${PV}.tar.xz;name=archive"
SRC_URI[archive.sha256sum] = "392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1"
FILES:${PN} += "${libdir} ${systemd_system_unitdir}"
@@ -0,0 +1,26 @@
SUMMARY = "phodav is a WebDav server implementation using libsoup (RFC 4918)."
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = " \
glib-2.0 \
libsoup \
"
PACKAGECONFIG ??= "avahi"
PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi"
inherit pkgconfig gnomebase gettext
EXTRA_OEMESON += "-Dsystemdsystemunitdir=${systemd_system_unitdir} \
-Dsysusersdir=${nonarch_libdir}/sysusers.d \
-Dudevrulesdir=${nonarch_base_libdir}/udev/rules.d \
-Dintrospection=disabled \
-Ddocs=disabled \
-Dlitmus=disabled \
"
SRC_URI = "https://download.gnome.org/sources/phodav/${@oe.utils.trim_version('${PV}', 2)}/phodav-${PV}.tar.xz;name=archive"
SRC_URI[archive.sha256sum] = "93c993066ab3aebd5b539bab9d731eac43abbb750109c895f151ca3c74a5fc82"
FILES:${PN} += "${libdir} ${systemd_system_unitdir}"