mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #10105 from neheb/ffm
ffmpeg: Fix pkgconfig files to be more cross compile friendly
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ffmpeg
|
PKG_NAME:=ffmpeg
|
||||||
PKG_VERSION:=3.4.6
|
PKG_VERSION:=3.4.6
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://ffmpeg.org/releases/
|
PKG_SOURCE_URL:=https://ffmpeg.org/releases/
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
--- a/ffbuild/pkgconfig_generate.sh
|
||||||
|
+++ b/ffbuild/pkgconfig_generate.sh
|
||||||
|
@@ -28,9 +28,9 @@ version=$(grep ${name}_VERSION= $name/${name}.version | cut -d= -f2)
|
||||||
|
|
||||||
|
cat <<EOF > $name/$fullname.pc
|
||||||
|
prefix=$prefix
|
||||||
|
-exec_prefix=\${prefix}
|
||||||
|
-libdir=$libdir
|
||||||
|
-includedir=$incdir
|
||||||
|
+exec_prefix=${prefix}
|
||||||
|
+libdir=\${exec_prefix}/lib
|
||||||
|
+includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: $fullname
|
||||||
|
Description: $comment
|
||||||
Reference in New Issue
Block a user