libgudev: remove systemd dependency
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 2 Dec 2015 11:27:05 +0000 (12:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Dec 2015 20:48:41 +0000 (21:48 +0100)
Since version 3.1.3 eudev doesn't provide internal libgudev,
so this package can now be used as an ordinary stand-alone
package.

[Peter: add BR2_PACKAGE_HAS_UDEV dependency]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libgudev/Config.in

index 9b64ffc4f9f362082ebf34fa442abceb1e50a5c8..ecaacf5fd2728f56f9eee4a9fe842d6e270fe201 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBGUDEV
        bool "libgudev"
-       depends on BR2_INIT_SYSTEMD
+       depends on BR2_PACKAGE_HAS_UDEV
        depends on BR2_USE_WCHAR # gettext
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
@@ -16,7 +16,7 @@ config BR2_PACKAGE_LIBGUDEV
 
          https://wiki.gnome.org/Projects/libgudev
 
-comment "libgudev needs a toolchain w/ wchar, threads"
+comment "libgudev needs udev /dev handling and a toolchain w/ wchar, threads"
        depends on BR2_USE_MMU
-       depends on BR2_INIT_SYSTEMD
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_PACKAGE_HAS_UDEV