From ff6b8b75a6248d23d7b81bbed44c03046f709552 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Mon, 29 Jun 2026 21:28:37 +0200 Subject: [PATCH] JavaFX Media Build Process to fix Problems with Packaging thx DB2DY for the info. Dependencies for native Linux Packages added. --- .github/workflows/nightly-artifacts.yml | 4 ++++ .github/workflows/tagged-release.yml | 4 ++++ pom.xml | 1 + 3 files changed, 9 insertions(+) diff --git a/.github/workflows/nightly-artifacts.yml b/.github/workflows/nightly-artifacts.yml index 62bc930..00d67a0 100644 --- a/.github/workflows/nightly-artifacts.yml +++ b/.github/workflows/nightly-artifacts.yml @@ -199,6 +199,7 @@ jobs: --main-class kst4contest.view.Kst4ContestApplication \ --module-path target/dist-libs \ --add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.web,javafx.media,java.sql,java.net.http,jdk.crypto.ec \ + --linux-deb-depends "libgstreamer1.0-0,libgstreamer-plugins-base1.0-0,gstreamer1.0-plugins-good" \ --dest dist DEB="$(ls dist/*.deb | head -n 1)" if [ -z "$DEB" ]; then @@ -257,6 +258,7 @@ jobs: --main-class kst4contest.view.Kst4ContestApplication \ --module-path target/dist-libs \ --add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.web,javafx.media,java.sql,java.net.http,jdk.crypto.ec \ + --linux-rpm-requires "gstreamer1,gstreamer1-plugins-base,gstreamer1-plugins-good" \ --dest dist RPM="$(ls dist/*.rpm | head -n 1)" if [ -z "$RPM" ]; then @@ -359,6 +361,8 @@ jobs: arch = ${ARCH} license = custom depend = java-runtime + depend = gst-plugins-base + depend = gst-plugins-good EOF tar --zstd -cf "dist/${ASSET_BASENAME}-archlinux-${ARCH}.pkg.tar.zst" -C "$PKGROOT" . diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index f44fc95..b8da69f 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -173,6 +173,7 @@ jobs: --main-class kst4contest.view.Kst4ContestApplication \ --module-path target/dist-libs \ --add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.web,javafx.media,java.sql,java.net.http,jdk.crypto.ec \ + --linux-deb-depends "libgstreamer1.0-0,libgstreamer-plugins-base1.0-0,gstreamer1.0-plugins-good" \ --dest dist DEB="$(ls dist/*.deb | head -n 1)" if [ -z "$DEB" ]; then @@ -224,6 +225,7 @@ jobs: --main-class kst4contest.view.Kst4ContestApplication \ --module-path target/dist-libs \ --add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.web,javafx.media,java.sql,java.net.http,jdk.crypto.ec \ + --linux-rpm-requires "gstreamer1,gstreamer1-plugins-base,gstreamer1-plugins-good" \ --dest dist RPM="$(ls dist/*.rpm | head -n 1)" if [ -z "$RPM" ]; then @@ -317,6 +319,8 @@ jobs: arch = ${ARCH} license = custom depend = java-runtime + depend = gst-plugins-base + depend = gst-plugins-good EOF tar --zstd -cf "dist/KST4Contest-${{ github.ref_name }}-archlinux-${ARCH}.pkg.tar.zst" -C "$PKGROOT" . diff --git a/pom.xml b/pom.xml index 5a45603..616ac04 100644 --- a/pom.xml +++ b/pom.xml @@ -436,6 +436,7 @@ javafx.graphics javafx.fxml javafx.web + javafx.media java.sql java.net.http jdk.crypto.ec