build with ffmpeg 4.4 since it uses lots of functions ripped out of ffmpeg >= 5

This commit is contained in:
2024-10-28 14:07:37 -07:00
parent 6eadcabbe2
commit 0c5f60bf13
2 changed files with 13 additions and 5 deletions

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*~
pkg
src
*.zst

View File

@@ -6,15 +6,19 @@ pkgdesc="A program which lets you edit and synchronize lyrics with karaoke songs
arch=('i686' 'x86_64')
url="https://github.com/gyunaev/karlyriceditor"
license=('GPL')
depends=('ffmpeg' 'qt5-multimedia' 'desktop-file-utils')
source=("karlyriceditor-$pkgver.tar.gz::https://github.com/gyunaev/karlyriceditor/archive/$pkgver.tar.gz")
sha256sums=('67aa863f7e34b8fd76dfc74615da3ff8b761a138be651bcb55d03d54626bddae')
depends=('ffmpeg4.4' 'qt5-multimedia' 'desktop-file-utils')
source=(
"karlyriceditor-$pkgver.tar.gz::https://github.com/gyunaev/karlyriceditor/archive/$pkgver.tar.gz"
)
sha256sums=(
"67aa863f7e34b8fd76dfc74615da3ff8b761a138be651bcb55d03d54626bddae"
)
install=$pkgname.install
build() {
cd karlyriceditor-$pkgver
qmake
make
PKG_CONFIG_LIBDIR=/usr/lib/ffmpeg4.4/pkgconfig/:/usr/lib/pkgconfig qmake
PKG_CONFIG_LIBDIR=/usr/lib/ffmpeg4.4/pkgconfig/:/usr/lib/pkgconfig make
}
package() {