mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-10 07:43:13 +00:00
Merge pull request #199156 from wegank/ario-aarch64-darwin
ario: fix build on darwin
This commit is contained in:
commit
fe975ded2b
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, intltool
|
||||
, avahi
|
||||
@ -24,7 +25,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext intltool wrapGAppsHook ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
gettext
|
||||
intltool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
avahi
|
||||
curl
|
||||
@ -36,6 +44,12 @@ stdenv.mkDerivation rec {
|
||||
taglib
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for file in $out/lib/ario/plugins/*.dylib; do
|
||||
ln -s $file $out/lib/ario/plugins/$(basename $file .dylib).so
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTK client for MPD (Music player daemon)";
|
||||
homepage = "http://ario-player.sourceforge.net/";
|
||||
|
Loading…
Reference in New Issue
Block a user