Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (7c4ecacaa8e63931a5713c3b359080bb47502782)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (7c4ecacaa8e63931a5713c3b359080bb47502782)
  • Date: Sun, 12 Nov 2023 20:08:13 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

video-libs/libplacebo/BUILD | 3 +++
video-libs/libplacebo/CONFIGURE | 5 ++++-
video-libs/libplacebo/DEPENDS | 7 +++++--
video-libs/libplacebo/HISTORY | 5 +++++
video-libs/libplacebo/PRE_BUILD | 7 -------
5 files changed, 17 insertions(+), 10 deletions(-)

New commits:
commit 7c4ecacaa8e63931a5713c3b359080bb47502782
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

video-libs/libplacebo: added option to build and install demos,
LIBAVCODEC optional dependency,
removed fast_float dependency for scm

diff --git a/video-libs/libplacebo/BUILD b/video-libs/libplacebo/BUILD
new file mode 100755
index 0000000..20c5803
--- /dev/null
+++ b/video-libs/libplacebo/BUILD
@@ -0,0 +1,3 @@
+OPTS="${LIBPLACEBO_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/video-libs/libplacebo/CONFIGURE b/video-libs/libplacebo/CONFIGURE
index 9f48d22..5499714 100755
--- a/video-libs/libplacebo/CONFIGURE
+++ b/video-libs/libplacebo/CONFIGURE
@@ -1 +1,4 @@
-. "${GRIMOIRE}/MESON_CONFIGURE"
+. "${GRIMOIRE}/MESON_CONFIGURE" &&
+
+config_query_option LIBPLACEBO_OPTS "Build and install demos" n \
+ "demos=true" "demos=false"
diff --git a/video-libs/libplacebo/DEPENDS b/video-libs/libplacebo/DEPENDS
index 4533815..e40146f 100755
--- a/video-libs/libplacebo/DEPENDS
+++ b/video-libs/libplacebo/DEPENDS
@@ -1,7 +1,6 @@
. "${GRIMOIRE}/MESON_DEPENDS" &&

if [[ "${LIBPLACEBO_BRANCH}" == "scm" ]]; then
- depends fast_float &&
depends git
fi &&

@@ -27,4 +26,8 @@ optional_depends libepoxy \
optional_depends vulkan-loader \
"vulkan=enabled" \
"vulkan=disabled" \
- "for Vulkan-based renderer"
+ "for Vulkan-based renderer" &&
+
+if list_find "${LIBPLACEBO_OPTS}" "demos=true"; then
+ optional_depends LIBAVCODEC "" "" "for plplay demo"
+fi
diff --git a/video-libs/libplacebo/HISTORY b/video-libs/libplacebo/HISTORY
index 9bb5a03..62b9283 100644
--- a/video-libs/libplacebo/HISTORY
+++ b/video-libs/libplacebo/HISTORY
@@ -1,3 +1,8 @@
+2023-11-12 Pavel Vinogradov <public AT sorcemage.org>
+ * BUILD, CONFIGURE, DEPENDS: added demos option and LIBAVCODEC
optional
+ dependency, removed fast_float for scm
+ * PRE_BUILD: removed, now useless
+
2023-10-20 Pavel Vinogradov <public AT sorcemage.org>
* DETAILS: version 6.338.1

diff --git a/video-libs/libplacebo/PRE_BUILD b/video-libs/libplacebo/PRE_BUILD
deleted file mode 100755
index 36688f3..0000000
--- a/video-libs/libplacebo/PRE_BUILD
+++ /dev/null
@@ -1,7 +0,0 @@
-default_pre_build &&
-
-if [[ "${LIBPLACEBO_BRANCH}" == "scm" ]]; then
- # dirty hack to use system fast_float
- ln -sf "${TRACK_ROOT}/usr/include/fast_float" \
- "${SOURCE_DIRECTORY}/3rdparty/fast_float/include"
-fi



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (7c4ecacaa8e63931a5713c3b359080bb47502782), Pavel Vinogradov, 11/12/2023

Archive powered by MHonArc 2.6.24.

Top of Page