Skip to content

Commit

Permalink
Try add my own pkgconfig of mpeghe
Browse files Browse the repository at this point in the history
This will sure to add my own pkg config of ia_mpeghe. - Martin Eesmaa
  • Loading branch information
MartinEesmaa committed Oct 21, 2024
1 parent 4c8b49a commit 73f1264
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts.d/50-mpeghe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ ffbuild_dockerbuild() {
"$RANLIB" libia_mpegh.a

cp libia_mpegh.a "$FFBUILD_PREFIX"/lib

touch "$FFBUILD_PREFIX"/lib/pkgconfig/ia_mpeghe.pc

cat >"$FFBUILD_PREFIX"/lib/pkgconfig/ia_mpeghe.pc <<EOF
prefix=$FFBUILD_PREFIX
exec_prefix=\${prefix}
libdir=\${prefix}/lib
Name: ia_mpeghe
Description: MPEG-H 3D Audio Low Complexity Profile Encoder.
Requires:
Libs: -L\${libdir} -lia_mpeghe
EOF

}

ffbuild_configure() {
Expand Down

0 comments on commit 73f1264

Please sign in to comment.