mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:57:16 +08:00
hack the hardcoded frei0r plugin for mlt
This commit is contained in:
parent
e9d31b2f8a
commit
e8502174a8
@ -4,18 +4,21 @@
|
||||
pkgbase=mlt
|
||||
pkgname=(mlt mlt-python-bindings)
|
||||
pkgver=0.9.6
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="An open source multimedia framework"
|
||||
arch=('x86_64')
|
||||
url="http://www.mltframework.org"
|
||||
license=(GPL)
|
||||
makedepends=(ladspa frei0r-plugins-qt5 libdv sdl_image libsamplerate sox ffmpeg vid.stab qt5-svg jack libexif python2 swig)
|
||||
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('92bcc95af44ff086df0a0ce17a201d1c')
|
||||
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||
"frei0r.patch")
|
||||
md5sums=('92bcc95af44ff086df0a0ce17a201d1c'
|
||||
'7c3fdf6671f0595a59f8ed27bfa8c0e3')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/mlt-$pkgver"
|
||||
sed -i 's|freetype/|freetype2/|' src/modules/gtk2/producer_pango.c
|
||||
patch -Np1 -i ../frei0r.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
11
mlt/frei0r.patch
Normal file
11
mlt/frei0r.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- mlt-0.9.6/src/modules/frei0r/factory.c.orig 2015-04-16 05:51:24.080000003 +0000
|
||||
+++ mlt-0.9.6/src/modules/frei0r/factory.c 2015-04-16 05:52:20.310000005 +0000
|
||||
@@ -40,7 +40,7 @@
|
||||
#define FREI0R_PLUGIN_PATH "/lib/frei0r-1"
|
||||
#else
|
||||
#define LIBSUF ".so"
|
||||
-#define FREI0R_PLUGIN_PATH "/usr/lib/frei0r-1:/usr/lib64/frei0r-1:/opt/local/lib/frei0r-1:/usr/local/lib/frei0r-1:$HOME/.frei0r-1/lib"
|
||||
+#define FREI0R_PLUGIN_PATH "/opt/opencv-qt5/lib/frei0r-1:/usr/local/lib/frei0r-1:$HOME/.frei0r-1/lib"
|
||||
#endif
|
||||
|
||||
#define GET_FREI0R_PATH (getenv("FREI0R_PATH") ? getenv("FREI0R_PATH") : getenv("MLT_FREI0R_PLUGIN_PATH") ? getenv("MLT_FREI0R_PLUGIN_PATH") : FREI0R_PLUGIN_PATH)
|
Loading…
Reference in New Issue
Block a user