summary refs log tree commit diff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm90
1 files changed, 0 insertions, 90 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 0a0546eb3f..83434bea36 100644
--- a/gnu/packages/video.scm
+++ b/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")