tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xine-ui: 0.99.13 -> 0.99.14
Anderson Torres
2 years ago
2d7e66bf
b6024f78
+29
-29
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
xine
ui.nix
+29
-29
pkgs/applications/video/xine/ui.nix
···
4
4
, fetchpatch
5
5
, autoreconfHook
6
6
, curl
7
7
+
, libXext
8
8
+
, libXft
9
9
+
, libXi
10
10
+
, libXinerama
11
11
+
, libXtst
12
12
+
, libXv
13
13
+
, libXxf86vm
7
14
, libjpeg
8
15
, libpng
9
16
, lirc
···
12
19
, readline
13
20
, shared-mime-info
14
21
, xine-lib
15
15
-
, xorg
22
22
+
, xorgproto
16
23
}:
17
24
18
18
-
stdenv.mkDerivation rec {
25
25
+
stdenv.mkDerivation (finalAttrs: {
19
26
pname = "xine-ui";
20
20
-
version = "0.99.13";
27
27
+
version = "0.99.14";
21
28
22
29
src = fetchurl {
23
23
-
url = "mirror://sourceforge/xine/${pname}-${version}.tar.xz";
24
24
-
sha256 = "sha256-sjgtB1xysbEAOeDpAxDMhsjZEDWMU1We2C09WEIB9cU=";
30
30
+
url = "mirror://sourceforge/xine/xine-ui-${finalAttrs.version}.tar.xz";
31
31
+
hash = "sha256-1NSQ1c7OcOK7mEnJ5ILyz4evAwLUUbYUR2/cw2Qs2cM=";
25
32
};
26
33
27
27
-
patches = [
28
28
-
(fetchpatch {
29
29
-
# Fix build on aarch64
30
30
-
name = "xine-ui_FTBS_aarch64.patch";
31
31
-
url = "https://salsa.debian.org/debian/xine-ui/-/raw/b2f04f64947a8975a805950e7e67b15cb44007ef/debian/patches/backport/0003-Fix-build.patch";
32
32
-
sha256 = "03f8nkm7q11v5vssl1bj500ja4ljz4y752mfk22k2g4djkwimx62";
33
33
-
})
34
34
-
];
35
35
-
36
34
nativeBuildInputs = [
37
35
autoreconfHook
38
36
pkg-config
39
37
shared-mime-info
40
38
];
39
39
+
41
40
buildInputs = [
42
41
curl
43
43
-
libjpeg
44
44
-
libpng
45
45
-
lirc
46
46
-
ncurses
47
47
-
readline
48
48
-
xine-lib
49
49
-
] ++ (with xorg; [
50
42
libXext
51
43
libXft
52
44
libXi
···
54
46
libXtst
55
47
libXv
56
48
libXxf86vm
49
49
+
libjpeg
50
50
+
libpng
51
51
+
lirc
52
52
+
ncurses
53
53
+
readline
54
54
+
xine-lib
57
55
xorgproto
58
58
-
]);
56
56
+
];
59
57
60
58
configureFlags = [ "--with-readline=${readline.dev}" ];
61
59
62
62
-
LIRC_CFLAGS="-I${lirc}/include";
63
63
-
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
60
60
+
env = {
61
61
+
LIRC_CFLAGS="-I${lirc}/include";
62
62
+
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
63
63
+
};
64
64
65
65
postInstall = ''
66
66
substituteInPlace $out/share/applications/xine.desktop \
67
67
--replace "MimeType=;" "MimeType="
68
68
'';
69
69
70
70
-
meta = with lib; {
70
70
+
meta = {
71
71
homepage = "https://xine.sourceforge.net/";
72
72
description = "Xlib-based frontend for Xine video player";
73
73
-
license = licenses.gpl2Plus;
74
74
-
maintainers = with maintainers; [ AndersonTorres ];
75
75
-
platforms = platforms.linux;
73
73
+
license = lib.licenses.gpl2Plus;
74
74
+
maintainers = with lib.maintainers; [ AndersonTorres ];
75
75
+
platforms = lib.platforms.linux;
76
76
};
77
77
-
}
77
77
+
})