smlinux/extra/v4l-utils/smbuild
PktSurf 9d657e0a1d Upgraded base/perl to 5.38.0
Renamed .SMBuild files to smbuild for simplicity
Added musl-fts, musl-obstack, glslang, python-glad, libptytty, libmilter, elfutils and fuse to base section build list
Discarded fuse2 and fuse3 from base section
Temporarily discarded slapt-get, syslinux, p7zip, acpid, libelf-compat, gnu-eif, libtirpc, mozilla-nss,
lua53, qpdf, kernel-source and signify from base section build list
Disabled nls and made amends to base/e2fsprogs
Upgraded base/git to 2.46.2
Upgraded extra/gnumeric to 1.12.57
Disabled nls in base/gnutls, extra/dia
Disabled a patch and made amends in base/llvm
Fixed configure.local file in base/mandoc
Upgraded base/rust to 1.79
Fixed a ton of build files to use build prefix as /usr and miscellaneous changes
Discarded extra/bluez,blueman,scrcpy,adafruit-io
Added tomb to extra
Added new build option to extra/libass
Upgraded extra/mpv to 0.37.0
Disabled tests in gtk/gdk-pixbuf
Upgraded gtk/goffice to 0.10.57
Added gtk-doc to gtk section
Fixed build options in gtk/gtk2
Added new patches to gtk/gtk3
Added gtksourceview to gtk section
Added vulkan-headers to xorg section
Upgraded xorg/mesa to 23.1.9
Added libplacebo to xorg section
Fixed build stuff in xorg/glew
2024-10-29 20:25:20 +05:30

42 lines
1.2 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=v4l-utils
version=1.20.0
build=1sml
homepage="http://linuxtv.org"
download="https://linuxtv.org/downloads/v4l-utils/v4l-utils-$version.tar.bz2"
desc="libraries and utilities for writing video applications"
requires="gcc-libs argp-standalone hicolor-icon-theme libjpeg-turbo sdl2"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/getsubopt.patch
applypatch $srcdir/types.patch
}
build() {
CFLAGS+=" -D__off_t=off_t" \
LIBS="-largp" \
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--disable-static
make
make -j1 install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
21f86007d2a1100196d9035c6cd20374850fe8e2da5bf00263268d733a8caae64cadcc688883cd79e12823d9e78c3b02a36b56ad636d7563381a50b6b41a86e6 v4l-utils-1.20.0.tar.lz
3e51af7a77a8f06e1278022362347808b233cf021a277ce9cd66a9553e754bf91b3923c32ab17a86b11f4ef2555a5f1d544d0fc22e82a2997e34060dd561f760 getsubopt.patch
358611fbae8348f17bf49c08820b4641deb1f7282ce2c1e20b8fdf0a85cd73ca4b46f6668c2a7328b5261e401c12f471170a9a1f3fc2982b6897ff11386c06c6 types.patch
"