[Kdenlive-devel] Build kdenlive locally

Alberto Villa avilla at FreeBSD.org
Fri Jul 2 09:37:38 UTC 2010


2010/7/2 velociraptor Genjix <aphidia at hotmail.com>:
> With Kubuntu kdenlive/mlt installed, I wish to build my own copy of
> kdenlive/mlt without installing or conflicting.
> So I built and installed mlt to a directory in home. How can I build
> kdenlive against that mlt and install it there? I read the README and
> checked the files out, but there's nothing there.

first thing first, be sure to know how to build mlt/kdenlive from
source: http://kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine

to build kdenlive against your local copy of mlt, add this to the
cmake command line (replace $(DESTDIR) with your local directory):
-DLIBMLT_INCLUDE_DIR:PATH=$(DESTDIR)/include/mlt
-DLIBMLT_LIBRARY:FILEPATH=$(DESTDIR)/lib/libmlt.so
-DLIBMLTPLUS_INCLUDE_DIR:PATH=$(DESTDIR)/include
-DLIBMLTPLUS_LIBRARY:FILEPATH=$(DESTDIR)/lib/libmlt++.so

> How do you guys dev kdenlive? I'm sure you're not make install'ing mlt

actually i do. i keep the repository version installed (i'm a packager
too), and i install
from sources in /var/tmp
here's the makefile i use, it should work for you too (i've removed
the freebsd specific part, but you probably need to redefine CC, CXX,
LOCALBASE, MLT_WRKDIR, KDENLIVE_WRKDIR and DESTDIR):
http://pastebin.ca/1893316
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla




More information about the Kdenlive mailing list