tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xine-lib: 1.2.11 -> 1.2.13
Anderson Torres
2 years ago
484b606d
ac0eb8ce
+27
-29
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
xine
lib.nix
+27
-29
pkgs/applications/video/xine/lib.nix
···
1
{ lib
2
, stdenv
3
, fetchurl
4
-
, fetchpatch
5
, aalib
6
, alsa-lib
7
-
, autoconf
8
-
, ffmpeg_4
9
, flac
10
, libGL
11
, libGLU
0
0
0
0
12
, libcaca
13
, libcdio
14
, libmng
···
17
, libtheora
18
, libv4l
19
, libvorbis
0
20
, ncurses
21
, perl
22
, pkg-config
23
, speex
24
, vcdimager
25
-
, xorg
26
, zlib
27
}:
28
29
-
stdenv.mkDerivation rec {
30
pname = "xine-lib";
31
-
version = "1.2.11";
32
33
src = fetchurl {
34
-
url = "mirror://sourceforge/xine/xine-lib-${version}.tar.xz";
35
-
sha256 = "sha256-71GyHRDdoQRfp9cRvZFxz9rwpaKHQjO88W/98o7AcAU=";
36
};
37
-
38
-
patches = [
39
-
# Fix build with libcaca 0.99.beta20 ; remove for xine-lib 1.2.12
40
-
(fetchpatch {
41
-
name = "xine-lib-libcaca-0.99.beta20-fix.patch";
42
-
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/209ae10d59d29c13633b75aa327cf937f3ff0725/trunk/010-xine-lib-libcaca-0.99.beta20-fix.patch";
43
-
sha256 = "088141x1yp84y09x3s01v21yzas2bwavxz9v30z5hyq6c3syrmgr";
44
-
})
45
-
];
46
47
nativeBuildInputs = [
48
-
autoconf
49
-
pkg-config
50
perl
0
51
];
0
52
buildInputs = [
53
aalib
54
alsa-lib
55
-
ffmpeg_4 # xine-lib 1.2.12 should support ffmpeg_5
56
flac
57
libGL
58
libGLU
0
0
0
0
59
libcaca
60
libcdio
61
libmng
···
64
libtheora
65
libv4l
66
libvorbis
0
67
ncurses
68
perl
69
speex
70
vcdimager
71
zlib
72
-
] ++ (with xorg; [
73
libX11
74
libXext
75
libXinerama
76
libXv
77
libxcb
78
-
]);
79
80
enableParallelBuilding = true;
81
82
-
NIX_LDFLAGS = "-lxcb-shm";
83
84
-
85
-
meta = with lib; {
86
homepage = "https://xine.sourceforge.net/";
87
description = "A high-performance, portable and reusable multimedia playback engine";
88
-
license = with licenses; [ gpl2Plus lgpl2Plus ];
89
-
maintainers = with maintainers; [ AndersonTorres ];
90
-
platforms = platforms.linux;
91
};
92
-
}
···
1
{ lib
2
, stdenv
3
, fetchurl
0
4
, aalib
5
, alsa-lib
6
+
, autoreconfHook
7
+
, ffmpeg
8
, flac
9
, libGL
10
, libGLU
11
+
, libX11
12
+
, libXext
13
+
, libXinerama
14
+
, libXv
15
, libcaca
16
, libcdio
17
, libmng
···
20
, libtheora
21
, libv4l
22
, libvorbis
23
+
, libxcb
24
, ncurses
25
, perl
26
, pkg-config
27
, speex
28
, vcdimager
0
29
, zlib
30
}:
31
32
+
stdenv.mkDerivation (finalAttrs: {
33
pname = "xine-lib";
34
+
version = "1.2.13";
35
36
src = fetchurl {
37
+
url = "mirror://sourceforge/xine/xine-lib-${finalAttrs.version}.tar.xz";
38
+
hash = "sha256-XxDW1xikpRwX7RsysDHU+bgLBh6CdlNbK+MeWsS3Xm8=";
39
};
0
0
0
0
0
0
0
0
0
40
41
nativeBuildInputs = [
42
+
autoreconfHook
0
43
perl
44
+
pkg-config
45
];
46
+
47
buildInputs = [
48
aalib
49
alsa-lib
50
+
ffmpeg
51
flac
52
libGL
53
libGLU
54
+
libX11
55
+
libXext
56
+
libXinerama
57
+
libXv
58
libcaca
59
libcdio
60
libmng
···
63
libtheora
64
libv4l
65
libvorbis
66
+
libxcb
67
ncurses
68
perl
69
speex
70
vcdimager
71
zlib
0
72
libX11
73
libXext
74
libXinerama
75
libXv
76
libxcb
77
+
];
78
79
enableParallelBuilding = true;
80
81
+
env.NIX_LDFLAGS = "-lxcb-shm";
82
83
+
meta = {
0
84
homepage = "https://xine.sourceforge.net/";
85
description = "A high-performance, portable and reusable multimedia playback engine";
86
+
license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
87
+
maintainers = with lib.maintainers; [ AndersonTorres ];
88
+
platforms = lib.platforms.linux;
89
};
90
+
})