diff options
author | c0bw3b <c0bw3b@users.noreply.github.com> | 2022-02-09 23:39:49 +0100 |
---|---|---|
committer | c0bw3b <c0bw3b@users.noreply.github.com> | 2022-02-10 12:01:48 +0100 |
commit | a6e9d993b995ca9244cc369200677be132cb56ef (patch) | |
tree | b31a651c1efb079956b12fa0dfdc81baed07a7cf | |
parent | 1b37c0b4373758536b09a930de1b69fe518687f8 (diff) |
xine-ui: fix build on aarch64
-rw-r--r-- | pkgs/applications/video/xine-ui/default.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/applications/video/xine-ui/default.nix b/pkgs/applications/video/xine-ui/default.nix index 3d44796f78cd7..b4f610c7a91d3 100644 --- a/pkgs/applications/video/xine-ui/default.nix +++ b/pkgs/applications/video/xine-ui/default.nix @@ -1,6 +1,8 @@ { lib , stdenv , fetchurl +, fetchpatch +, autoreconfHook , curl , libjpeg , libpng @@ -22,7 +24,17 @@ stdenv.mkDerivation rec { sha256 = "sha256-sjgtB1xysbEAOeDpAxDMhsjZEDWMU1We2C09WEIB9cU="; }; + patches = [ + (fetchpatch { + # Fix build on aarch64 + name = "xine-ui_FTBS_aarch64.patch"; + url = "https://salsa.debian.org/debian/xine-ui/-/raw/b2f04f64947a8975a805950e7e67b15cb44007ef/debian/patches/backport/0003-Fix-build.patch"; + sha256 = "03f8nkm7q11v5vssl1bj500ja4ljz4y752mfk22k2g4djkwimx62"; + }) + ]; + nativeBuildInputs = [ + autoreconfHook pkg-config shared-mime-info ]; @@ -57,7 +69,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - homepage = "http://xinehq.de/"; + homepage = "http://xine.sourceforge.net/"; description = "Xlib-based frontend for Xine video player"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; |