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