2021-02-12 12:29:51 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
2022-11-02 13:51:11 +01:00
|
|
|
, autoreconfHook
|
2021-02-12 12:29:51 +01:00
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, avahi
|
|
|
|
, curl
|
|
|
|
, dbus-glib
|
|
|
|
, gettext
|
|
|
|
, gtk3
|
|
|
|
, libmpdclient
|
|
|
|
, libsoup
|
|
|
|
, libxml2
|
|
|
|
, taglib
|
2024-04-26 22:24:03 +02:00
|
|
|
, wrapGAppsHook3
|
2021-02-12 12:29:51 +01:00
|
|
|
}:
|
2015-03-14 07:46:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ario";
|
2021-02-12 12:29:51 +01:00
|
|
|
version = "1.6";
|
2015-03-14 07:46:17 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz";
|
2018-11-18 01:05:11 +01:00
|
|
|
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
|
2015-03-14 07:46:17 +01:00
|
|
|
};
|
|
|
|
|
2022-11-02 13:51:11 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
intltool
|
2024-04-26 22:24:03 +02:00
|
|
|
wrapGAppsHook3
|
2022-11-02 13:51:11 +01:00
|
|
|
];
|
|
|
|
|
2015-03-14 07:46:17 +01:00
|
|
|
buildInputs = [
|
2021-02-12 12:29:51 +01:00
|
|
|
avahi
|
|
|
|
curl
|
|
|
|
dbus-glib
|
|
|
|
gtk3
|
|
|
|
libmpdclient
|
|
|
|
libsoup
|
|
|
|
libxml2
|
|
|
|
taglib
|
2015-03-14 07:46:17 +01:00
|
|
|
];
|
|
|
|
|
2022-11-02 13:51:11 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-02-12 12:29:51 +01:00
|
|
|
meta = with lib; {
|
2018-11-18 01:05:11 +01:00
|
|
|
description = "GTK client for MPD (Music player daemon)";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "ario";
|
2023-01-21 22:41:12 +01:00
|
|
|
homepage = "https://ario-player.sourceforge.net/";
|
2021-02-12 12:29:51 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.garrison ];
|
|
|
|
platforms = platforms.all;
|
2015-03-14 07:46:17 +01:00
|
|
|
};
|
|
|
|
}
|