[vlc-commits] [Git][videolan/vlc][master] bootstrap: check for gperf

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Sep 17 07:09:22 UTC 2023



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
aba49cd1 by Sean McGovern at 2023-09-17T06:08:12+00:00
bootstrap: check for gperf

- - - - -


4 changed files:

- extras/tools/SHA512SUMS
- extras/tools/bootstrap
- extras/tools/packages.mak
- extras/tools/tools.mak


Changes:

=====================================
extras/tools/SHA512SUMS
=====================================
@@ -17,3 +17,4 @@ d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911b786b
 37b3a421419b16930e53181c431fe3b4afd55ac54733a5df08376641fd2fb88eeb73ee7abe3788f3e491e7c1b215c7f35aefa66f44b09008ad22b76ab2998830  ninja-1.11.1.tar.gz
 8b5768cf0dab5f88d2f3e3962305910e707ff810cbd21b5997aab0bb6abe1c4d5dbd24ec59ab4072f1faa9b81daa8be993d56679445afa93700676f52e314d23  meson-1.2.0.tar.gz
 27acef46d9eb67203d708b57d80b853f76fa4b9c2720ff36ec161e6cdf702249e7982214ddf60bae75511aa79bc7d92aa27e3eab7ef9c0f5c040e8e42e76a385  libtool-2.4.7.tar.gz
+855ebce5ff36753238a44f14c95be7afdc3990b085960345ca2caf1a2db884f7db74d406ce9eec2f4a52abb8a063d4ed000a36b317c9a353ef4e25e2cca9a3f4  gperf-3.1.tar.gz


=====================================
extras/tools/bootstrap
=====================================
@@ -152,6 +152,7 @@ check gettext
 check help2man
 check meson 1.0.0
 check_ninja
+check gperf
 
 DEPS_ONLY="help2man"
 


=====================================
extras/tools/packages.mak
=====================================
@@ -57,3 +57,6 @@ MESON_URL=https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
 NINJA_VERSION=1.11.1
 NINJA_BUILD_NAME=$(NINJA_VERSION).g95dee.kitware.jobserver-1
 NINJA_URL=https://github.com/Kitware/ninja/archive/refs/tags/v$(NINJA_BUILD_NAME).tar.gz
+
+GPERF_VERSION=3.1
+GPERF_URL=$(GNU)/gperf/gperf-$(GPERF_VERSION).tar.gz


=====================================
extras/tools/tools.mak
=====================================
@@ -389,6 +389,23 @@ CLEAN_PKG += ninja
 DISTCLEAN_PKG += ninja-$(NINJA_VERSION).tar.gz
 CLEAN_FILE += .buildninja
 
+# gperf
+
+gperf-$(GPERF_VERSION).tar.gz:
+	$(call download_pkg,$(GPERF_URL),gperf)
+
+gperf: gperf-$(GPERF_VERSION).tar.gz
+	$(UNPACK)
+	$(MOVE)
+
+.buildgperf: gperf
+	(cd $<; ./configure --prefix=$(PREFIX) && $(MAKE) && $(MAKE) install)
+	touch $@
+
+CLEAN_PKG += gperf
+DISTCLEAN_PKG += gperf-$(GPERF_VERSION).tar.gz
+CLEAN_FILE += .buildgperf
+
 #
 #
 #



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/aba49cd161490c2a7bb46ae5e8cd948ee9bd4883
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