194 Commits

Author SHA1 Message Date
Martin Weinelt 3aa415b2f4 gst_all_1.gst-plugins-bad: only set NIX_CLAGS_LINK on darwin 2026-07-08 08:22:17 +02:00
Martin Weinelt 9315b841a7 gst_all_1.gst-plugins-bad: work around ld64 hardening issue 2026-07-08 05:03:14 +02:00
Grimmauld 82a3bffc28 gst_all_1.gst-plugins-bad: don't build with gtk3 by default (#459808) 2026-06-23 20:38:12 +00:00
whoomee 59c13e1be6 gstreamer: enable strictDeps/structuredAttrs 2026-06-23 21:22:18 +02:00
whoomee d6af1a2833 gstreamer: 1.26.11 -> 1.28.4 2026-06-22 13:07:29 +02:00
whoomee e653534503 gstreamer: use odd-unstable versioning 2026-06-22 13:07:28 +02:00
whoomee f9e91528eb gstreamer: 1.26.5 -> 1.26.11, adopt 2026-03-16 15:59:52 +01:00
quantenzitrone 25b7473d18 ladspa-header: refactor and rename from ladspaH
There isn't really an upstream package name since this header file is
normally just part of ladspa-sdk.
ladspa-header seems like a more fitting name for this package.
Could also be ladspa-sdk-header, but there are also probably other
headers than ladspa.h in ladspa-sdk.
2026-02-10 16:52:01 +01:00
Alyssa Ross cbc5c8ff44 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.
2026-01-21 19:18:17 +01:00
Wolfgang Walther 46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01:00
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Sandro f4c715b8e6 gst_all_1.gst-plugins-bad: Fix build on ppc64 (#462664) 2025-11-26 18:51:44 +00:00
OPNA2608 6c3170c735 gst_all_1.gst-plugins-bad: Fix build on ppc64 2025-11-17 20:12:38 +01:00
Marcin Serwin 42c6232eec maintainers: drop matthewbauer
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-16 13:42:02 +01:00
Grimmauld 93309d7b76 gst_all_1.gst-plugins-bad: don't build with gtk3 by default 2025-11-08 18:00:33 +01:00
Olivier LDff cd7c44ecf0 gstreamer: 1.26.3 -> 1.26.5 2025-08-21 07:29:23 +02:00
K900 4ee8f4d27c gstreamer: 1.26.0 -> 1.26.3 (#420649) 2025-08-14 17:29:20 +03:00
Wolfgang Walther 535b720589 Merge branch 'master' into staging-next 2025-07-24 14:27:50 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
OPNA2608 22e84b31da gst_all_1.gst-plugins-bad: Only enable ldacbt and webrtc-audio-processing_1 when supported
They both only support little-endian architectures.
2025-07-05 20:19:37 +02:00
Olivier LDff d1964e1780 gstreamer: 1.26.0 -> 1.26.3 2025-06-28 11:33:14 +02:00
OPNA2608 70e2c348ce gst_all_1.gst-plugins-bad: Disable lcevcdecoder plugin 2025-05-07 11:10:52 +02:00
misuzu 286a31f9eb gst_all_1.gst-plugins-bad: fix eval for riscv64
lcevcdec doesn't support building for riscv64
2025-05-03 11:45:58 +03:00
Ihar Hrachyshka e8a40a55b0 gst_all_1.*: use the same apple-sdk_13 for all subpackages
It was already bumped to _13 for -bad in:
https://github.com/NixOS/nixpkgs/pull/398009

It's preferable to have the same SDK version across all subpackages, to
avoid potential problems or missing features.

Enabled enableCocoa for -base for x86_64; the new darwin SDK pattern
seems to have fixed the build issue we had before.

Also, cleaned up old darwin sdk stubs for frameworks. These are of no
effect since 24.11 and can be safely removed.
2025-04-12 16:09:29 -04:00
Ihar Hrachyshka 15e62cb1c8 gst_all_1.gst-plugins-bad: fix aarch64-darwin build
The package requires a newer SDK to access
`kVTCompressionPropertyKey_ConstantBitRate`.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-11 16:44:52 -04:00
K900 d121800fdb Merge remote-tracking branch 'origin/master' into staging-next 2025-04-08 12:44:34 +03:00
Augustin Trancart 2ddb856be5 openexr: switch default version to v3 2025-04-07 11:32:40 +02:00
Vladimír Čunát a5c7029fb7 gst_all_1,mopidy: Fix overridden builds (#395981) 2025-04-06 16:47:35 +02:00
Jan Tojnar fd477b5e86 gst_all_1.gst-plugins-bad: Add passthru.tests
Check that supported overrides build.
2025-04-04 11:59:55 +02:00
Grimmauld ab955c7e27 gst_all_1.gst-plugins-bad: disable nvcodec on aarch64
This fails to build, see: https://hydra.nixos.org/build/294125614/log

Setting nvmm support does end up building the required gstcuda module.
However, doing so requires closed-source proprietary
development libraries not yet present in nixpkgs.

This only affects linux on non-x86 processors.
Other platforms are zero rebuilds.
2025-04-04 11:58:49 +02:00
Silvan Mosberger e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Grimmauld a542c8b887 gst-plugins-bad: remove kate dependency
The kate plugin was removed upstream in 3438b7a88085bf37dfd25ffcae941cdf7617e9dd [1].
This took effect in 1.24.x releases.

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/3438b7a88085bf37dfd25ffcae941cdf7617e9dd
2025-03-29 21:15:42 +01:00
Grimmauld 21b2f19972 gst-plugins-bad: remove xvidcore dependency
Removed upstream in 9b5de053995488d5ddc78c1bf4df651101271d70 [1].
Took effect in release 1.11.1 released Jan 2017 [2].

[1] https://github.com/GStreamer/gst-plugins-bad/commit/9b5de053995488d5ddc78c1bf4df651101271d70
[2] https://github.com/GStreamer/gst-plugins-bad/releases/tag/1.11.1
2025-03-29 20:51:32 +01:00
Grimmauld affcd17420 gst-plugins-bad: remove libvdpau dependency
vdpau is a mostly-unsupported hardware acceleration library.
Support for vdpau integration was removed upstream
in 4ff14c0e746eb26874a696b3b71543387fbefa3b [1],
which took effect in 1.17.1 released June 2020 [2].

[1] https://github.com/GStreamer/gst-plugins-bad/commit/4ff14c0e746eb26874a696b3b71543387fbefa3b
[2] https://github.com/GStreamer/gst-plugins-bad/releases/tag/1.17.1
2025-03-29 20:40:18 +01:00
K900 403b660153 gst-plugins-bad: remove libGLU dependency (#394242) 2025-03-29 14:09:08 +03:00
Grimmauld 8ec91bbe3b gst-plugins-bad: remove libGLU dependency
libGLU is an unmaintained GL library.
glu was removed upstream in 6bd1150ca889c17342520b3bbd8e729fb843a1a5 [1],
which took effect in version 1.5.1 released June 2015 [2].

Later, in 769a21d0bb310906b880c07da0e1e2376e11c187 [3],
upstream removed the entirety of direct OpenGL integration.
This change took effect in 1.13.1, released February 2018 [4].

libGLU nix package supplies a couple shared objects,
a package config file, and a single C header.
None of these are used anymore: code search on the package
config comes back empty, and `nix why-depends` confirms
the shared objects are not being linked against.

libGLU is a dependency in many packages, but really should be phased out.

[1] https://github.com/GStreamer/gst-plugins-bad/commit/6bd1150ca889c17342520b3bbd8e729fb843a1a5
[2] https://github.com/GStreamer/gst-plugins-bad/releases/tag/1.5.1
[3] https://github.com/GStreamer/gst-plugins-bad/commit/769a21d0bb310906b880c07da0e1e2376e11c187
[4] https://github.com/GStreamer/gst-plugins-bad/releases/tag/1.13.1
2025-03-29 10:05:52 +01:00
Jan Tojnar ed0ddc3502 gst_all_1: Disable GLIB_DEBUG
`glib_debug` option (`gobject-cast-checks` prior to 1.26) defaults to `auto`, which would result in the cast checks being disabled on stable versions, if we did not use `-Dauto_features=enabled`. Let’s disable the option as it is meant to be on stable releases: https://gitlab.gnome.org/GNOME/glib/-/blob/main/docs/macros.md#g_enable_debug

Also remove option disabling `glib_asserts`. It was introduced in 800ceaf1bd to remove references to `dev` output caused by `__FILE__` used in assertions but they no longer seem to appear. While the option supported the `auto` means disabled on stable versions feature, the option was actually enabled by default, so the comment was incorrect.
2025-03-27 11:02:49 +01:00
Jan Tojnar fb659abc4e gst_all_1.gst-plugins-bad: 1.24.10 → 1.26.0
- Update https://gstreamer.freedesktop.org/releases/1.26/
- Use `finalAttrs` pattern
- Add `updateScript`
2025-03-27 07:01:26 +01:00
Marcin Serwin 019bbf203a gst_all_1.gst-plugins-bad: disable DirectFB
DirectFB had no point release for 11 years now and is probably unused by
the majority of users, yet it's a transitive dependency of many packages
due to being used in gst-plugins-bad. This plugin has been disabled in
Arch for 5 years now
<https://gitlab.archlinux.org/archlinux/packaging/packages/gst-plugins-bad/-/commit/899fb518af27d82a9b07a2b341cd55edba1575b9#9b9baac1eb9b72790eef5540a1685306fc43fd6c_59_40>
and it will be disabled in the next Debian release:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083040>
so this change should be fairly safe.
2025-03-11 22:45:59 +01:00
Wolfgang Walther b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Luke Granger-Brown c13f8abbe8 libajantv2: 16.2-bugfix5 -> 17.1.0 (#367135) 2024-12-29 16:39:15 +00:00
Luke Granger-Brown 270a843127 gst_all_1.gst-plugins-bad: fix aja support
The dependency on libajantv2 was already there, but it didn't do
anything, because the actual plugin is disabled.
2024-12-22 23:33:29 +00:00
Reno Dakota 5af5812fd4 gst_all_1.*: 1.24.7 -> 1.24.10
https://discourse.gstreamer.org/t/gstreamer-1-24-10-stable-bug-fix-release/3683
2024-12-14 08:54:55 +00:00
Artturin f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Emily b45e06c521 gst_all_1.*: build with the macOS 12.3 SDK
Thanks to <https://github.com/NixOS/nixpkgs/pull/340131>, this now
works, and we no longer need to vendor the patch.
2024-09-16 17:54:50 +02:00
Emily 69b18ff3ea gst_all_1.gst-plugins-bad: add patch for macOS < 12 SDK
This now references `kVTVideoDecoderReferenceMissingErr`, which was
added in the macOS 12 SDK. Unfortunately, our 12.3 SDK doesn’t work
to build this package currently. This should hopefully be fixed after
the SDK rework.
2024-09-02 21:15:13 +01:00
Emily 376d22b787 gst_all_1.gst-plugins-bad: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Alyssa Ross 4fb55bca32 gst_all_1.gst-plugins-bad: depend on wayland-scanner
Currently wayland-scanner is defined to be wayland.bin, but we want to
split wayland-scanner into a separate package.
2024-08-11 16:04:13 +03:00