1*5082cc7fSAndrew GeisslerSUMMARY = "phodav is a WebDav server implementation using libsoup (RFC 4918)."
2*5082cc7fSAndrew GeisslerLICENSE = "LGPL-2.1-only"
3*5082cc7fSAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
4*5082cc7fSAndrew Geissler
5*5082cc7fSAndrew GeisslerDEPENDS = " \
6*5082cc7fSAndrew Geissler    glib-2.0 \
7*5082cc7fSAndrew Geissler    libsoup \
8*5082cc7fSAndrew Geissler"
9*5082cc7fSAndrew Geissler
10*5082cc7fSAndrew GeisslerGTKDOC_MESON_OPTION = 'gtk_doc'
11*5082cc7fSAndrew GeisslerGTKDOC_MESON_ENABLE_FLAG = 'enabled'
12*5082cc7fSAndrew GeisslerGTKDOC_MESON_DISABLE_FLAG = 'disabled'
13*5082cc7fSAndrew Geissler
14*5082cc7fSAndrew GeisslerPACKAGECONFIG ??= "avahi"
15*5082cc7fSAndrew GeisslerPACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi"
16*5082cc7fSAndrew Geissler
17*5082cc7fSAndrew Geisslerinherit pkgconfig gnomebase gettext gtk-doc
18*5082cc7fSAndrew Geissler
19*5082cc7fSAndrew GeisslerEXTRA_OEMESON += "-Dsystemdsystemunitdir=${systemd_system_unitdir}"
20*5082cc7fSAndrew Geissler
21*5082cc7fSAndrew GeisslerSRC_URI = "https://download.gnome.org/sources/phodav/3.0/phodav-${PV}.tar.xz;name=archive"
22*5082cc7fSAndrew GeisslerSRC_URI[archive.sha256sum] = "392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1"
23*5082cc7fSAndrew Geissler
24*5082cc7fSAndrew GeisslerFILES:${PN} += "${libdir} ${systemd_system_unitdir}"
25