29 stdenv.mkDerivation rec {
34 url = "mirror://sourceforge/xine/xine-lib-${version}.tar.xz";
35 sha256 = "sha256-71GyHRDdoQRfp9cRvZFxz9rwpaKHQjO88W/98o7AcAU=";
39 # Fix build with libcaca 0.99.beta20 ; remove for xine-lib 1.2.12
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";
45 # Fix build with ffmpeg 5.0 ; remove for xine-lib 1.2.12
47 name = "xine-lib-ffmpeg-5.0-fix.patch";
48 url = "https://raw.githubusercontent.com/archlinux/svntogit-community/209ae10d59d29c13633b75aa327cf937f3ff0725/trunk/020-xine-lib-ffmpeg-5.0-fix.patch";
49 sha256 = "15ff15bqxq1nqqazfbmfq6swrdjr2raxyq7hx6k0r61izhf0g8ld";
86 enableParallelBuilding = true;
88 NIX_LDFLAGS = "-lxcb-shm";
92 homepage = "http://xine.sourceforge.net/";
93 description = "A high-performance, portable and reusable multimedia playback engine";
94 license = with licenses; [ gpl2Plus lgpl2Plus ];
95 maintainers = with maintainers; [ AndersonTorres ];
96 platforms = platforms.linux;