gst_all_1: move plugin pc files to $dev

The multiple-outputs hook doesn't know to handle pkg-config files in
subdirectories like these.  Fixing this resolves a reference cycle
that caused building under pkgsStatic to fail.
This commit is contained in:
Alyssa Ross
2025-06-02 12:23:58 +02:00
parent a12bc43499
commit cbc5c8ff44
10 changed files with 37 additions and 0 deletions
@@ -399,6 +399,10 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = false; # fails 20 out of 58 tests, expensive
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
tests = {
full = gst-plugins-bad.override {
@@ -170,6 +170,10 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = false; # fails, wants DRI access for OpenGL
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
# Downstream `gst-*` packages depending on `gst-plugins-base`
# have meson build options like 'gl' etc. that depend
@@ -134,6 +134,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
moveToOutput "share/bash-completion" "$bin"
'';
@@ -127,6 +127,10 @@ stdenv.mkDerivation (finalAttrs: {
];
};
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
meta = {
description = "Integration testing infrastructure for the GStreamer framework";
homepage = "https://gstreamer.freedesktop.org";
@@ -73,6 +73,10 @@ stdenv.mkDerivation (finalAttrs: {
scripts/extract-release-date-from-doap-file.py
'';
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
updateScript = directoryListingUpdater { };
};
@@ -262,6 +262,10 @@ stdenv.mkDerivation (finalAttrs: {
# must be explicitly set since 5590e365
dontWrapQtApps = true;
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
tests = {
gtk = gst-plugins-good.override {
@@ -60,6 +60,10 @@ stdenv.mkDerivation (finalAttrs: {
scripts/extract-release-date-from-doap-file.py
'';
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
updateScript = directoryListingUpdater { };
};
@@ -62,6 +62,10 @@ stdenv.mkDerivation (finalAttrs: {
scripts/extract-release-date-from-doap-file.py
'';
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
updateScript = directoryListingUpdater { };
};
@@ -93,6 +93,10 @@ stdenv.mkDerivation (finalAttrs: {
scripts/extract-release-date-from-doap-file.py
'';
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
tests = {
lgplOnly = gst-plugins-ugly.override {
@@ -93,6 +93,10 @@ stdenv.mkDerivation (finalAttrs: {
scripts/extract-release-date-from-doap-file.py
'';
preFixup = ''
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
'';
passthru = {
updateScript = directoryListingUpdater { };
};