[vlc-commits] [Git][videolan/vlc][master] 2 commits: contrib: librist: use winpthreads on Windows

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Sep 7 09:45:21 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b95db7a0 by Steve Lhomme at 2022-09-07T07:55:18+00:00
contrib: librist: use winpthreads on Windows

Their threading implementation doesn't pass the WACK.

This would be a problem if we build with MSVC, but we don't.

- - - - -
4ced8ba1 by Steve Lhomme at 2022-09-07T07:55:18+00:00
contrib: librist: upgrade to 0.2.7

It has proper winpthreads linking.

- - - - -


2 changed files:

- contrib/src/librist/SHA512SUMS
- contrib/src/librist/rules.mak


Changes:

=====================================
contrib/src/librist/SHA512SUMS
=====================================
@@ -1 +1 @@
-1c45f87bb0f0ea5a7acb529a796c546190cb5b461297930f2fad214fe0a84c76771158564d9e0ac92e8882e5e008b406655940b3babb5d198e68816cbba4bc68  librist-v0.2.4.tar.gz
+fa4e1aea75206781d062d350410e2f4e095e52191d22fb1882ec779ca13845294d00b5e4f06f04573eb8945ec280c304c96c1607622e978a241c5086b7d0a831  librist-v0.2.7.tar.gz


=====================================
contrib/src/librist/rules.mak
=====================================
@@ -1,17 +1,25 @@
 # librist
 
-LIBRIST_VERSION := v0.2.4
+LIBRIST_VERSION := v0.2.7
 LIBRIST_URL := http://code.videolan.org/rist/librist/-/archive/$(LIBRIST_VERSION)/librist-$(LIBRIST_VERSION).tar.gz
 
 ifdef BUILD_NETWORK
 PKGS += librist
 endif
 
+DEPS_librist =
+ifdef HAVE_WIN32
+DEPS_librist += pthreads $(DEPS_pthreads)
+endif
+
 ifeq ($(call need_pkg,"librist >= 0.2"),)
 PKGS_FOUND += librist
 endif
 
 LIBRIST_CONF = -Dbuilt_tools=false -Dtest=false
+ifdef HAVE_WIN32
+LIBRIST_CONF += -Dhave_mingw_pthreads=true
+endif
 
 $(TARBALLS)/librist-$(LIBRIST_VERSION).tar.gz:
 	$(call download_pkg,$(LIBRIST_URL),librist)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ddd4ea126b8d2049613e7116a1606f4c4fd62a56...4ced8ba1c50e79062c8b09b7cfa04b7ea205e8fe

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ddd4ea126b8d2049613e7116a1606f4c4fd62a56...4ced8ba1c50e79062c8b09b7cfa04b7ea205e8fe
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