Browse Source

gnu: avidemux: Drop version 2.5.

* gnu/packages/video.scm (avidemux-2.5): Delete variable.
version-0.8.3
Andreas Enge 7 years ago
parent
commit
a351c7c157
  1. 90
      gnu/packages/video.scm

90
gnu/packages/video.scm

@ -1143,96 +1143,6 @@ capabilities.")
;; Software with various licenses is included, see License.txt.
(license license:gpl2+)))
(define-public avidemux-2.5
(package (inherit avidemux)
(version "2.5.6")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://sourceforge/avidemux/avidemux_"
version ".tar.gz"))
(sha256
(base32
"12wvxz0n2g85f079d8mdkkp2zm279d34m9v7qgcqndh48cn7znnn"))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("alsa-lib" ,alsa-lib)
("gettext" ,gnu-gettext)
("gtk+" ,gtk+-2)
("jack" ,jack-1)
("lame" ,lame)
("libvorbis" ,libvorbis)
("libvpx" ,libvpx)
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("libxv" ,libxv)
("perl" ,perl)
("pulseaudio" ,pulseaudio)
("qt" ,qt-4)
("sdl" ,sdl)
("yasm" ,yasm)
("zlib" ,zlib)))
(arguments
`(#:tests? #f
#:phases
(alist-cons-before
'patch-source-shebangs 'unpack-ffmpeg
(lambda _
(with-directory-excursion "avidemux/ADM_libraries"
(system* "tar" "xf" "ffmpeg-0.9.tar.bz2")
(delete-file "ffmpeg-0.9.tar.bz2")))
(alist-cons-after
'patch-source-shebangs 'repack-ffmpeg
(lambda _
(with-directory-excursion "avidemux/ADM_libraries"
(substitute* "ffmpeg-0.9/configure"
(("#! /bin/sh") (string-append "#!" (which "bash"))))
(system* "tar" "cjf" "ffmpeg-0.9.tar.bz2" "ffmpeg-0.9")
(delete-file-recursively "ffmpeg-0.9")))
(alist-replace 'configure
(lambda _
(setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
(setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH")))
(alist-replace 'build
(lambda* (#:key inputs outputs #:allow-other-keys)
(let*
((out (assoc-ref outputs "out"))
(lib (string-append out "/lib"))
(top (getcwd))
(sdl (assoc-ref inputs "sdl"))
(build_component
(lambda* (component srcdir)
(let ((builddir (string-append "build_" component)))
(mkdir builddir)
(with-directory-excursion builddir
(zero? (and
(system* "cmake"
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
(string-append "-DCMAKE_INSTALL_PREFIX="
out)
(string-append "-DCMAKE_INSTALL_RPATH="
lib)
(string-append "-DAVIDEMUX_SOURCE_DIR="
top)
(string-append "-DAVIDEMUX_CORECONFIG_DIR="
top "/build_main/config")
(string-append "-DAVIDEMUX_INSTALL_PREFIX="
out)
(string-append "-DSDL_INCLUDE_DIR="
sdl "/include/SDL")
(string-append "../" srcdir))
(system* "make" "-j"
(number->string (parallel-job-count)))
(system* "make" "install"))))))))
(mkdir out)
(and (build_component "main" ".")
(build_component "plugins" "plugins"))
(delete-file-recursively
(string-append out "/share/ADM_addons"))))
(alist-delete 'install
%standard-phases)))))))))
(define-public vapoursynth
(package
(name "vapoursynth")

Loading…
Cancel
Save