pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/ffmpeg4



Module Name:    pkgsrc
Committed By:   dholland
Date:           Mon May 23 00:35:02 UTC 2022

Modified Files:
        pkgsrc/multimedia/ffmpeg4: Makefile.common distinfo
Added Files:
        pkgsrc/multimedia/ffmpeg4/patches: patch-ffbuild_libversion.sh

Log Message:
multimedia/ffmpeg4: solaris build fixes from Claes Nästén in PR 56633


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/multimedia/ffmpeg4/Makefile.common
cvs rdiff -u -r1.26 -r1.27 pkgsrc/multimedia/ffmpeg4/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/multimedia/ffmpeg4/patches/patch-ffbuild_libversion.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ffmpeg4/Makefile.common
diff -u pkgsrc/multimedia/ffmpeg4/Makefile.common:1.27 pkgsrc/multimedia/ffmpeg4/Makefile.common:1.28
--- pkgsrc/multimedia/ffmpeg4/Makefile.common:1.27      Wed Apr 20 21:16:01 2022
+++ pkgsrc/multimedia/ffmpeg4/Makefile.common   Mon May 23 00:35:02 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2022/04/20 21:16:01 wiz Exp $
+# $NetBSD: Makefile.common,v 1.28 2022/05/23 00:35:02 dholland Exp $
 # used by multimedia/ffmpeg4/Makefile
 # used by multimedia/ffplay4/Makefile
 
@@ -32,6 +32,8 @@ CONFIGURE_ARGS+=      --incdir=${PREFIX}/incl
 CONFIGURE_ARGS+=       --libdir=${PREFIX}/lib/ffmpeg4
 CONFIGURE_ARGS+=       --shlibdir=${PREFIX}/lib/ffmpeg4
 LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ffmpeg4
+# Misuse LDFLAGS because the package doesn't (at least right now) honor LIBS.
+LDFLAGS.SunOS+=                -lrt
 
 .if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*-*) || !empty(MACHINE_PLATFORM:MDarwin-2*)
 CONFIGURE_ARGS+=       --enable-opencl
@@ -73,6 +75,7 @@ REPLACE_PERL+=        doc/texi2pod.pl
 REPLACE_SH+=   configure
 REPLACE_SH+=   ffbuild/pkgconfig_generate.sh
 REPLACE_SH+=   ffbuild/version.sh
+REPLACE_SH+=   ffbuild/libversion.sh
 
 PLIST_SRC+=    ${PKGDIR}/PLIST
 

Index: pkgsrc/multimedia/ffmpeg4/distinfo
diff -u pkgsrc/multimedia/ffmpeg4/distinfo:1.26 pkgsrc/multimedia/ffmpeg4/distinfo:1.27
--- pkgsrc/multimedia/ffmpeg4/distinfo:1.26     Wed Apr 20 21:16:01 2022
+++ pkgsrc/multimedia/ffmpeg4/distinfo  Mon May 23 00:35:02 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2022/04/20 21:16:01 wiz Exp $
+$NetBSD: distinfo,v 1.27 2022/05/23 00:35:02 dholland Exp $
 
 BLAKE2s (ffmpeg-4.4.2.tar.xz) = b28c91e749bebf8a0b2911723c60281ff4deea5d6ba613939a27b0ae702c8c0d
 SHA512 (ffmpeg-4.4.2.tar.xz) = abce847c607ac6d63fe32ceff8bf8724888acf2b7db9a083cba50e3235590cdcb27feb7e0a314133d0030809fb54d474f64001fc9ab7d896a819159869c09d5a
@@ -9,6 +9,7 @@ SHA1 (patch-doc_Makefile) = 3b86307323fa
 SHA1 (patch-doc_general__contents.texi) = 13704795d2688dc0377a512dc6e65025ad674724
 SHA1 (patch-doc_indevs.texi) = 066a6ead2132ec05796bdcc000071dfca76d220c
 SHA1 (patch-doc_outdevs.texi) = 0a6930b835fb24e0008adeeb6c34990db1e16fc1
+SHA1 (patch-ffbuild_libversion.sh) = 7671eced5a8135a900c2f1d30343fc072ebb84ec
 SHA1 (patch-libavdevice_Makefile) = 526efd20021068245d8904c0d55508a540ae4054
 SHA1 (patch-libavdevice_alldevices.c) = 8f835f8ec7b057ddcd6303bc2178cdb6f4541e2a
 SHA1 (patch-libavdevice_sunau.c) = 44dba866c58d508c0f873ffdd9ad8d25c059cc8a

Added files:

Index: pkgsrc/multimedia/ffmpeg4/patches/patch-ffbuild_libversion.sh
diff -u /dev/null pkgsrc/multimedia/ffmpeg4/patches/patch-ffbuild_libversion.sh:1.1
--- /dev/null   Mon May 23 00:35:02 2022
+++ pkgsrc/multimedia/ffmpeg4/patches/patch-ffbuild_libversion.sh       Mon May 23 00:35:02 2022
@@ -0,0 +1,12 @@
+$NetBSD: patch-ffbuild_libversion.sh,v 1.1 2022/05/23 00:35:02 dholland Exp $
+
+Add missing shebang.
+
+--- ffbuild/libversion.sh~     2021-10-21 17:06:35.000000000 +0000
++++ ffbuild/libversion.sh
+@@ -1,3 +1,5 @@
++#!/bin/sh
++
+ toupper(){
+     echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ }



Home | Main Index | Thread Index | Old Index