Package Details: lib32-ffmpeg-minimal-dev 7.1-2

Git Clone URL: https://aur.archlinux.org/lib32-ffmpeg-minimal-dev.git (read-only, click to copy)
Package Base: lib32-ffmpeg-minimal-dev
Description: A minimal set of lib32 headers and development libraries for ffmpeg
Upstream URL: https://ffmpeg.org
Licenses: GPL-3.0-only
Submitter: spectator
Maintainer: spectator
Last Packager: spectator
Votes: 0
Popularity: 0.000000
First Submitted: 2024-12-14 00:50 (UTC)
Last Updated: 2024-12-14 09:28 (UTC)

Latest Comments

spectator commented on 2024-12-14 11:53 (UTC)

Thank you for your suggestions.

We don't separate develepment files

I don't know who "we" is. I'm separating it because users of my wine package were unable to build it due to lib32-ffmpeg often failing to build. I'd appreciate it if you directed your attention on the problematic lib32-ffmpeg package instead of mine, which doesn't conflict with anything else, and isn't meant to be used as a runtime library.

FabioLolix commented on 2024-12-14 11:41 (UTC)

-dev stands for development libraries, for compiling other programs

We don't separate develepment files like AFAIK Alpine and Debian does, in Arch repos there is only 1 package like that (glib2-devel recently introduced) so -dev have another meaning

I'm not redistributing anything besides the sources, so there's no violation there.

Sure, only the license indicator was wrong before

I'll remove that anyways since it's not required.

Excellent

but there are no "depends", since this package isn't meant to be used standalone. lib32-gcc-libs depends on lib32-glibc, so that'd be redundant.

Somewhat fair but you'll notice this kind of things when you build packages with devtools:

lib32-ffmpeg-minimal-dev E: Dependency lib32-gcc-libs detected and not included (libraries ['usr/lib32/libgcc_s.so.1'] needed in files ['usr/lib32/ffmpeg-minimal-dev/libavutil.so.59.39.100'])
lib32-ffmpeg-minimal-dev E: Dependency lib32-glibc detected and not included (libraries ['usr/lib32/libm.so.6', 'usr/lib32/libc.so.6'] needed in files ['usr/lib32/ffmpeg-minimal-dev/libswresample.so.5.3.100', 'usr/lib32/ffmpeg-minimal-dev/libavcodec.so.61.19.100', 'usr/lib32/ffmpeg-minimal-dev/libavformat.so.61.7.100', 'usr/lib32/ffmpeg-minimal-dev/libavutil.so.59.39.100', 'usr/lib32/ffmpeg-minimal-dev/libavdevice.so.61.3.100', 'usr/lib32/ffmpeg-minimal-dev/libswscale.so.8.3.100', 'usr/lib32/ffmpeg-minimal-dev/libpostproc.so.58.3.100', 'usr/lib32/ffmpeg-minimal-dev/libavfilter.so.10.4.100'])

spectator commented on 2024-12-14 09:10 (UTC) (edited on 2024-12-14 09:25 (UTC) by spectator)

  1. -dev stands for development libraries, for compiling other programs, mainly my wine package. the full lib32-ffmpeg is unnecessary for compilation, and is often out of date and fails to compile. this package wouldn't need to exist if lib32-ffmpeg was in the arch repos.
  2. ok
  3. I'm not redistributing anything besides the sources, so there's no violation there. I'll remove that anyways since it's not required.
  4. ok, but this is copy-pasted from the lib32-ffmpeg AUR package
  5. ok
  6. that's annoying, but ok
  7. I'll remove gcc, but there are no "depends", since this package isn't meant to be used standalone. lib32-gcc-libs depends on lib32-glibc, so that'd be redundant.

FabioLolix commented on 2024-12-14 09:05 (UTC)

Hi, about the pkgbuild

  • for what -dev stand for in pkgname? That usually mean that is used a developement/beta/RC version but here is used a stable version
  • please use https for url=
  • about the license, this have --enable-nonfree \ so the license is unredestributable, the ./configure also tell you:
Enabled indevs:
fbdev                   oss
lavfi                   v4l2

Enabled outdevs:
fbdev                   oss                     v4l2

License: nonfree and unredistributable
GEN libavdevice/libavdevice.version
  • you can remove prepare(), pkgver(), and custom variable _tag= and just use FFmpeg#tag=n${pkgver}
  • please don't rename sources with ${_pkgbasename}:: as this will re-download the whole ffmpeg git repo for who have configured a common folder for sources (SRCDEST=), instead not changing will allow the source to be shared
  • don't use -j$(($(nproc) + 1)), see https://wiki.archlinux.org/title/Makepkg#Configuration
  • gccdon't have to be specified as makedepends as it part of base-devel pakcage,lib32-glibcandlib32-gcc-libs` are depends=()