Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions eu.usdx.UltraStarDeluxe.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: eu.usdx.UltraStarDeluxe
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '24.08'
runtime-version: '25.08'
separate-locales: false
rename-desktop-file: ultrastardx.desktop
rename-icon: ultrastardx
Expand Down Expand Up @@ -36,11 +36,6 @@ add-extensions:
subdirectories: true
no-autodownload: true

org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
version: '24.08'
add-ld-path: .

sdk-extensions:
- org.freedesktop.Sdk.Extension.freepascal

Expand Down Expand Up @@ -102,6 +97,9 @@ modules:
- type: archive
url: https://github.com/opencv/opencv/archive/4.7.0.tar.gz
sha256: 8df0079cdbe179748a18d44731af62a245a45ebf5085223dc03133954c662973
- type: patch
paths:
- patches/opencv-cmake-4.patch

- name: projectm
buildsystem: autotools
Expand All @@ -121,6 +119,9 @@ modules:
- type: patch
paths:
- patches/projectM-2.2.1.patch
- type: patch
paths:
- patches/projectM-ax-check-gl.patch

- shared-modules/lua5.4/lua-5.4.json

Expand Down
10 changes: 10 additions & 0 deletions patches/opencv-cmake-4.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/cmake/OpenCVGenPkgconfig.cmake b/cmake/OpenCVGenPkgconfig.cmake
index cfa2be7..20b6fd9 100644
--- a/cmake/OpenCVGenPkgconfig.cmake
+++ b/cmake/OpenCVGenPkgconfig.cmake
@@ -113,4 +113,4 @@ else() # DEFINED CMAKE_HELPER_SCRIPT
-cmake_minimum_required(VERSION 2.8.12.2)
+cmake_minimum_required(VERSION 3.5)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed since OpenCV 4.12. See opencv/opencv@cb80308

cmake_policy(SET CMP0012 NEW)
include("${CMAKE_HELPER_SCRIPT}")
include("${OpenCV_SOURCE_DIR}/cmake/OpenCVUtils.cmake")
22 changes: 22 additions & 0 deletions patches/projectM-ax-check-gl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/configure.ac b/configure.ac
index 31c9e37..28f6658 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,3 +8,3 @@ AC_PROG_CXX
AC_CONFIG_MACRO_DIRS([m4 m4/autoconf-archive])
-AX_CHECK_GL
+USDX_AX_CHECK_GL
AC_CHECK_LIB(c, dlopen, LIBDL="", AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl"))
diff --git a/m4/autoconf-archive/ax_check_gl.m4 b/m4/autoconf-archive/ax_check_gl.m4
index 92c8919..0c6f7d2 100644
--- a/m4/autoconf-archive/ax_check_gl.m4
+++ b/m4/autoconf-archive/ax_check_gl.m4
@@ -251,7 +251,7 @@ AC_DEFUN_ONCE([_WITH_XQUARTZ_GL],[
# [CFLAGS="$GL_CFLAGS $CFLAGS"
# LIBS="$GL_LIBS $LIBS"]
# )
-AC_DEFUN([AX_CHECK_GL],
+AC_DEFUN([USDX_AX_CHECK_GL],
[AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
AC_ARG_VAR([GL_CFLAGS],[C compiler flags for GL, overriding configure script defaults])