[vlc-commits] [Git][videolan/vlc][master] contrib: basu: do not build basu on system that provide either libelogind or libsystemd by default

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Sep 20 14:37:13 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
565b22f4 by Juliane de Sartiges at 2022-09-20T13:29:24+00:00
contrib: basu: do not build basu on system that provide either libelogind or libsystemd by default

- - - - -


1 changed file:

- contrib/src/basu/rules.mak


Changes:

=====================================
contrib/src/basu/rules.mak
=====================================
@@ -2,6 +2,10 @@
 BASU_VERSION := 0.2.0
 BASU_URL := http://git.sr.ht/~emersion/basu/refs/download/v$(BASU_VERSION)/basu-$(BASU_VERSION).tar.gz
 
+ifneq ($(call need_pkg,"libelogind"),)
+ifneq ($(call need_pkg,"libsystemd"),)
+
+
 ifdef HAVE_LINUX
 ifndef HAVE_ANDROID
 PKGS += basu
@@ -14,6 +18,13 @@ PKGS += basu
 endif
 endif
 
+endif # libsystemd
+endif # libelogind
+
+ifeq ($(call need_pkg,"basu"),)
+PKGS_FOUND += basu
+endif
+
 $(TARBALLS)/basu-$(BASU_VERSION).tar.gz:
 	$(call download_pkg,$(BASU_URL),basu)
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/565b22f4da67179d1ff2b01eb809a2b9088ce68f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/565b22f4da67179d1ff2b01eb809a2b9088ce68f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list