mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/ffmpeg4.4 to 4.4.1-4
This commit is contained in:
parent
cc3dec485d
commit
272f33914d
1 changed files with 16 additions and 5 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
pkgname=ffmpeg4.4
|
||||
pkgver=4.4.1
|
||||
pkgrel=1
|
||||
pkgrel=4
|
||||
pkgdesc='Complete solution to record, convert and stream audio and video'
|
||||
arch=(x86_64)
|
||||
url=https://ffmpeg.org/
|
||||
|
@ -175,9 +175,20 @@ build() {
|
|||
|
||||
package() {
|
||||
make DESTDIR="${pkgdir}" -C ffmpeg install
|
||||
rm -rf "${pkgdir}"/usr/share
|
||||
install -dm 755 "${pkgdir}"/etc/ld.so.conf.d
|
||||
echo '/usr/lib/ffmpeg4.4' > "${pkgdir}"/etc/ld.so.conf.d/ffmpeg4.4.conf
|
||||
|
||||
cd "${pkgdir}"
|
||||
|
||||
# Move libs to /usr/lib, except the .so symlinks
|
||||
local f
|
||||
for f in usr/lib/ffmpeg4.4/*; do
|
||||
if [[ $f == *.so ]]; then
|
||||
ln -srf -- usr/lib/"$(readlink "$f")" "$f"
|
||||
elif [[ ! -d $f ]]; then
|
||||
mv "$f" usr/lib
|
||||
fi
|
||||
done
|
||||
|
||||
rm -r usr/share
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
# vim:set sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue