gnu: Add transcode.

* gnu/packages/video.scm (transcode): New variable.
* gnu/packages/patches/transcode-ffmpeg.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Raghav Gururajan 2020-07-03 11:22:08 -04:00 committed by Danny Milosavljevic
parent 45b1ec3817
commit ce49fdc62b
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
3 changed files with 1510 additions and 0 deletions

View file

@ -1605,6 +1605,7 @@ dist_patch_DATA = \
%D%/packages/patches/tipp10-fix-compiling.patch \
%D%/packages/patches/tipp10-remove-license-code.patch \
%D%/packages/patches/tk-find-library.patch \
%D%/packages/patches/transcode-ffmpeg.patch \
%D%/packages/patches/ttf2eot-cstddef.patch \
%D%/packages/patches/ttfautohint-source-date-epoch.patch \
%D%/packages/patches/tomb-fix-errors-on-open.patch \

File diff suppressed because it is too large Load diff

View file

@ -172,6 +172,107 @@ (define-module (gnu packages video)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
(define-public transcode
(package
(name "transcode")
(version "1.1.7")
(source
(origin
(method url-fetch)
(uri
(string-append "https://sources.archlinux.org/other/community/"
name "/" name "-" version ".tar.bz2"))
(sha256
(base32 "14ha9xjsjrj131f35jd56z5v1jb4rbsrj1nril5shqnxw3c74khy"))
(patches
(search-patches "transcode-ffmpeg.patch"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list
"--enable-libv4l2"
"--enable-libmpeg2"
"--enable-libmpeg2convert"
"--enable-v4l"
;;; XXX: Not available.
;"--enable-bktr"
;"--enable-sunau"
"--enable-oss"
"--enable-alsa"
;;; XXX: Not available.
;"--enable-libpostproc"
"--enable-freetype2"
"--enable-xvid"
"--enable-x264"
"--enable-ogg"
"--enable-vorbis"
"--enable-theora"
;;; XXX: Not available.
;"--enable-pvm3"
"--enable-libdv"
"--enable-libquicktime"
"--enable-lzo"
"--enable-a52"
"--enable-faac"
"--enable-libxml2"
;;; XXX: Not available.
;"--enable-ibp"
;;"--enable-mjpegtools"
"--enable-sdl"
"--enable-imagemagick"
;;; XXX: Not available.
;"--enable-libjpegmmx"
"--enable-libjpeg")))
;;; XXX: Not available.
;"--enable-bsdav"
;"--enable-pv3"
;"--enable-nuv"
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("iconv" ,libiconv)
("libtool" ,libtool)
("libxml2" ,libxml2)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python" ,python-wrapper)))
(inputs
`(("alsa-lib" ,alsa-lib)
("faac" ,faac)
("ffmpeg" ,ffmpeg)
("freetype" ,freetype)
("imagemagick" ,imagemagick)
("lame" ,lame)
("liba52" ,liba52)
("libdv" ,libdv)
("libdvdread" ,libdvdread)
("libjpeg" ,libjpeg-turbo)
("libmpeg2" ,libmpeg2)
("libogg" ,libogg)
("libquicktime" ,libquicktime)
("libtheora" ,libtheora)
("libvorbis" ,libvorbis)
("lzo" ,lzo)
("mjepgtools" ,mjpegtools)
("sdl" ,sdl)
("v4l-utils" ,v4l-utils)
("x11" ,libx11)
("x264" ,libx264)
("xaw" ,libxaw)
("xext" ,libxext)
("xpm" ,libxpm)
("xv" ,libxv)
("xvid" ,xvid)
("zlib" ,zlib)))
(synopsis "Audio/Video Transcoder")
(description "Transcode is a fast, versatile and command-line based
audio/video everything to everything converter primarily focussed on producing
AVI video files with MP3 audio, but also including a program to read all the
video and audio streams from a DVD.")
(home-page
"http://linuxfromscratch.org/blfs/view/svn/multimedia/transcode.html")
(license license:gpl2+)))
(define-public svt-hevc
(package
(name "svt-hevc")