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