gnome-user-share: add recipe

- add it as runtime dependency to gnome-control-center because without it,
  the file sharing options are hidden.
- configure the paths to fit to openembedded env
- add mod_dnssd runtime dependency for apache2 as this is a requirement

To enable the feature, PACKAGECONFIG httpd needs to be added.
This is not done by default to avoid apache2 runtime dependency just by
including this recipe.
NOTE: Apache2 httpd doesn't need to be running. It'll get
      started and stopped on demand by systemd.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2024-03-28 17:12:58 +01:00
committed by Khem Raj
parent 6665650b2a
commit 0586dd9f13
3 changed files with 45 additions and 1 deletions
@@ -0,0 +1,20 @@
DESCRIPTION = "Avahi Module for Apache2."
HOMEPAGE = "https://0pointer.de/lennart/projects/mod_dnssd/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
DEPENDS = "apache2 avahi"
SRC_URI = "git://git.0pointer.de/mod_dnssd;protocol=git;branch=master"
SRCREV = "be2fb9f6158f800685de7a1bc01c39b6cf1fa12c"
S = "${WORKDIR}/git"
EXTRA_OECONF = "--disable-lynx"
inherit autotools pkgconfig
do_install() {
install -Dm755 ${S}/src/.libs/mod_dnssd.so ${D}${libexecdir}/apache2/modules/mod_dnssd.so
}