mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mlt: Rename to mlt-6.
* gnu/packages/video.scm (mlt): Rename to mlt-6. [build-system]: Use cmake-build-system. [arguments]: Remove #:make-flags. Adjust 'override-LDFLAGS phase. {#:configure-flags}: Remove --enable-gpl3 and --enable-gpl. Set "GTK2_GDKCONFIG_INCLUDE_DIR" and "GTK2_GLIBCONFIG_INCLUDE_DIR". (shotcut): Use mlt-6. * gnu/packages/animation.scm (synfig): Use mlt-6. * gnu/packages/kde.scm (kdenlive): Use mlt-6. This change is to add MLT 7 which will be done in the next commit. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
177ff0775b
commit
0913843efc
3 changed files with 17 additions and 18 deletions
|
@ -178,7 +178,7 @@ C++ @dfn{Standard Template Library} (STL).")
|
||||||
("imagemagick" ,imagemagick)
|
("imagemagick" ,imagemagick)
|
||||||
("libxml++" ,libxml++)
|
("libxml++" ,libxml++)
|
||||||
("libsigc++" ,libsigc++)
|
("libsigc++" ,libsigc++)
|
||||||
("mlt" ,mlt)
|
("mlt" ,mlt-6)
|
||||||
("openexr" ,openexr)
|
("openexr" ,openexr)
|
||||||
("pango" ,pango)))
|
("pango" ,pango)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
|
@ -242,7 +242,7 @@ browser for easy news reading.")
|
||||||
("frei0r-plugins" ,frei0r-plugins)
|
("frei0r-plugins" ,frei0r-plugins)
|
||||||
("ffmpeg" ,ffmpeg)
|
("ffmpeg" ,ffmpeg)
|
||||||
("rttr" ,rttr)
|
("rttr" ,rttr)
|
||||||
("mlt" ,mlt)
|
("mlt" ,mlt-6)
|
||||||
("qtbase" ,qtbase-5)
|
("qtbase" ,qtbase-5)
|
||||||
("qtscript" ,qtscript)
|
("qtscript" ,qtscript)
|
||||||
("qtsvg" ,qtsvg)
|
("qtsvg" ,qtsvg)
|
||||||
|
|
|
@ -3014,7 +3014,7 @@ from sites like Twitch.tv and pipes them into a video player of choice.")
|
||||||
"This package provides a command-line interface for Twitch.tv")
|
"This package provides a command-line interface for Twitch.tv")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public mlt
|
(define-public mlt-6
|
||||||
(package
|
(package
|
||||||
(name "mlt")
|
(name "mlt")
|
||||||
(version "6.26.1")
|
(version "6.26.1")
|
||||||
|
@ -3027,25 +3027,24 @@ from sites like Twitch.tv and pipes them into a video player of choice.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1gz79xvs5jrzqhwhfk0dqdd3xiavnjp4q957h7nb02rij32byb39"))))
|
"1gz79xvs5jrzqhwhfk0dqdd3xiavnjp4q957h7nb02rij32byb39"))))
|
||||||
(build-system gnu-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ;no tests
|
||||||
#:make-flags '(,(string-append "CC=" (cc-for-target))
|
|
||||||
,(string-append "CXX=" (cxx-for-target)))
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list "--enable-gpl3"
|
(list (string-append "-DGTK2_GDKCONFIG_INCLUDE_DIR="
|
||||||
"--enable-gpl")
|
(assoc-ref %build-inputs "gtk+")
|
||||||
|
"/lib/gtk-2.0/include")
|
||||||
|
(string-append "-DGTK2_GLIBCONFIG_INCLUDE_DIR="
|
||||||
|
(assoc-ref %build-inputs "glib")
|
||||||
|
"/lib/glib-2.0/include"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after
|
(add-before 'configure 'override-LDFLAGS
|
||||||
'configure 'override-LDFLAGS
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "config.mak"
|
(setenv "LDFLAGS"
|
||||||
(("LDFLAGS\\+=")
|
(string-append
|
||||||
(string-append "LDFLAGS+=-Wl,-rpath="
|
"-Wl,-rpath="
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out") "/lib")))))))
|
||||||
"/lib ")))
|
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
("alsa-plugins" ,alsa-plugins "pulseaudio")
|
("alsa-plugins" ,alsa-plugins "pulseaudio")
|
||||||
|
@ -4705,7 +4704,7 @@ transitions, and effects and then export your film to many common formats.")
|
||||||
("lame" ,lame)
|
("lame" ,lame)
|
||||||
("libvpx" ,libvpx)
|
("libvpx" ,libvpx)
|
||||||
("libx264" ,libx264)
|
("libx264" ,libx264)
|
||||||
("mlt" ,mlt)
|
("mlt" ,mlt-6)
|
||||||
("pulseaudio" ,pulseaudio)
|
("pulseaudio" ,pulseaudio)
|
||||||
("qtbase" ,qtbase-5)
|
("qtbase" ,qtbase-5)
|
||||||
("qtdeclarative" ,qtdeclarative)
|
("qtdeclarative" ,qtdeclarative)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue