mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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:
parent
44c5937a9c
commit
4ed68ecd75
@ -69,4 +69,4 @@ FILES:${PN} += " \
|
||||
|
||||
FILES:${PN}-dev += "${datadir}/gettext"
|
||||
|
||||
RDEPENDS:${PN} += "gsettings-desktop-schemas tecla system-config-printer cups-pk-helper"
|
||||
RDEPENDS:${PN} += "gsettings-desktop-schemas tecla system-config-printer cups-pk-helper ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'gnome-user-share', '' , d)}"
|
||||
|
||||
@ -0,0 +1,24 @@
|
||||
SUMMARY = "This is gnome-user-share 43.0, a system for easy sharing of user files."
|
||||
LICENSE="GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
|
||||
DEPENDS = " \
|
||||
glib-2.0-native \
|
||||
glib-2.0 \
|
||||
systemd \
|
||||
"
|
||||
|
||||
inherit gnomebase gsettings features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
|
||||
SRC_URI = "git://gitlab.gnome.org/GNOME/gnome-user-share.git;protocol=https;branch=master"
|
||||
SRCREV = "a0e790aa9494db9d1b1f48b4fc0d2f78e112044d"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG ??= "modules"
|
||||
PACKAGECONFIG[httpd] = "-Dhttpd=/usr/sbin/httpd,,,apache2 mod-dnssd"
|
||||
PACKAGECONFIG[modules] = "-Dmodules_path=/usr/libexec/apache2/modules"
|
||||
|
||||
FILES:${PN} += "${systemd_user_unitdir}"
|
||||
20
meta-webserver/recipes-httpd/apache-mod/mod-dnssd_0.6.bb
Normal file
20
meta-webserver/recipes-httpd/apache-mod/mod-dnssd_0.6.bb
Normal file
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user