kino (compiling but neither finding libX11 nor libghtread)
and libiec61883 (dependency) added svn path=/nixpkgs/trunk/; revision=10133
This commit is contained in:
parent
29e62732c9
commit
ff62213cec
|
@ -0,0 +1,114 @@
|
|||
# is this configure option of interest?
|
||||
#--enable-udev-rules-dir=PATH
|
||||
# Where to install udev rules (/etc/udev/rules.d)
|
||||
|
||||
|
||||
|
||||
# This is my config output.. Much TODO ?
|
||||
#source path /tmp/nix-31998-1/kino-1.2.0/ffmpeg
|
||||
#C compiler gcc
|
||||
#make make
|
||||
#.align is power-of-two no
|
||||
#ARCH x86_64 (generic)
|
||||
#build suffix -kino
|
||||
#big-endian no
|
||||
#MMX enabled yes
|
||||
#CMOV enabled no
|
||||
#CMOV is fast no
|
||||
#gprof enabled no
|
||||
#debug symbols yes
|
||||
#strip symbols yes
|
||||
#optimize yes
|
||||
#static yes
|
||||
#shared no
|
||||
#postprocessing support no
|
||||
#software scaler enabled yes
|
||||
#video hooking no
|
||||
#network support no
|
||||
#threading support no
|
||||
#SDL support no
|
||||
#Sun medialib support no
|
||||
#AVISynth enabled no
|
||||
#liba52 support no
|
||||
#liba52 dlopened no
|
||||
#libdts support no
|
||||
#libfaac enabled no
|
||||
#libfaad enabled no
|
||||
#faadbin enabled no
|
||||
#libgsm enabled no
|
||||
#libmp3lame enabled no
|
||||
#libnut enabled no
|
||||
#libogg enabled no
|
||||
#libtheora enabled no
|
||||
#libvorbis enabled no
|
||||
#x264 enabled no
|
||||
#XviD enabled no
|
||||
#zlib enabled no
|
||||
#AMR-NB float support no
|
||||
#AMR-NB fixed support no
|
||||
#AMR-WB float support no
|
||||
#AMR-WB IF2 support no
|
||||
|
||||
|
||||
args:
|
||||
args.stdenv.mkDerivation {
|
||||
name = "kino-1.2.0";
|
||||
|
||||
src = args.fetchurl {
|
||||
url = http://downloads.sourceforge.net/kino/kino-1.2.0.tar.gz;
|
||||
sha256 = "15q1qmii5a2zbrrrg8iba2d1rjzaisa75zvxjhrs86jwglpn4lp9";
|
||||
};
|
||||
|
||||
buildInputs =(with args; [ gtk libglade libxml2 libraw1394 libsamplerate libdv
|
||||
pkgconfig perl perlXMLParser libavc1394 libiec61883 x11 libXv gettext libX11]); # TODOoptional packages
|
||||
|
||||
#preConfigure = "
|
||||
# grep 11 env-vars
|
||||
# ex
|
||||
#";
|
||||
|
||||
postInstall = "
|
||||
for i in $\buildInputs; do
|
||||
echo adding \$i/lib
|
||||
rpath=\$rpath:\$i/lib
|
||||
done
|
||||
echo \$buildInputs
|
||||
echo \$rpath
|
||||
patchelf --set-rpath \"\$rpath\" \"\$out/bin/\"*
|
||||
";
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Kino is a non-linear DV editor for GNU/Linux";
|
||||
homepage = http://www.kinodv.org/;
|
||||
license = "GPL2";
|
||||
};
|
||||
}
|
||||
|
||||
/*
|
||||
# is this configure option of interest?
|
||||
#--enable-udev-rules-dir=PATH
|
||||
# Where to install udev rules (/etc/udev/rules.d)
|
||||
args:
|
||||
( args.mkDerivationByConfiguration {
|
||||
flagConfig = {
|
||||
# TODO optional packages
|
||||
|
||||
};
|
||||
|
||||
extraAttrs = co : {
|
||||
name = "kino-1.2.0";
|
||||
|
||||
src = args.fetchurl {
|
||||
url = http://downloads.sourceforge.net/kino/kino-1.2.0.tar.gz;
|
||||
sha256 = "15q1qmii5a2zbrrrg8iba2d1rjzaisa75zvxjhrs86jwglpn4lp9";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Kino is a non-linear DV editor for GNU/Linux";
|
||||
homepage = http://www.kinodv.org/;
|
||||
license = "GPL2";
|
||||
};
|
||||
};
|
||||
} ) args
|
||||
*/
|
|
@ -0,0 +1,17 @@
|
|||
args:
|
||||
args.stdenv.mkDerivation {
|
||||
name = "libiec61883-1.1.0";
|
||||
|
||||
src = args.fetchurl {
|
||||
url = http://www.linux1394.org/dl/libiec61883-1.1.0.tar.gz;
|
||||
sha256 = "09f0ca7bp6lqlz6601gnyl04mfabv0azg49n1cmjyqpzh35cgxkq";
|
||||
};
|
||||
|
||||
buildInputs =(with args; [pkgconfig libraw1394]);
|
||||
|
||||
meta = {
|
||||
description = "TODO";
|
||||
homepage = http://www.linux1394.org/;
|
||||
license = "LGPL";
|
||||
};
|
||||
}
|
|
@ -2015,6 +2015,10 @@ rec {
|
|||
inherit (xlibs) libXp libXau;
|
||||
};
|
||||
|
||||
libavc1394 = import ../development/libraries/libavc1394 {
|
||||
inherit fetchurl stdenv pkgconfig libraw1394;
|
||||
};
|
||||
|
||||
libcaca = import ../development/libraries/libcaca {
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
@ -2115,6 +2119,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
libiec61883 = import ../development/libraries/libiec61883 {
|
||||
inherit fetchurl stdenv pkgconfig libraw1394;
|
||||
};
|
||||
|
||||
libjpeg = import ../development/libraries/libjpeg {
|
||||
inherit fetchurl stdenv libtool;
|
||||
};
|
||||
|
@ -4194,6 +4202,17 @@ rec {
|
|||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
||||
kino = import ../applications/video/kino {
|
||||
inherit fetchurl stdenv pkgconfig libxml2 perl perlXMLParser
|
||||
libdv libraw1394 libavc1394 libiec61883 x11 gettext; /* libavformat */
|
||||
inherit libsamplerate ffmpeg;
|
||||
inherit (gnome) libglade gtk;
|
||||
inherit (xlibs) libXv libX11;
|
||||
|
||||
# # optional
|
||||
# inherit ffmpeg2theora sox, vorbis-tools lame mjpegtools dvdauthor 'Q'dvdauthor growisofs mencoder;
|
||||
};
|
||||
|
||||
kuickshow = import ../applications/graphics/kuickshow {
|
||||
inherit fetchurl stdenv kdelibs arts libpng libjpeg libtiff libungif imlib expat perl;
|
||||
inherit (xlibs) libX11 libXext libSM;
|
||||
|
|
Loading…
Reference in New Issue