mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
libappindicator-gtk2: add missing automake step (#74733)
libappindicator-gtk2: add missing automake step
This commit is contained in:
commit
eabb843ba8
@ -1,7 +1,7 @@
|
||||
# TODO: Resolve the issues with the Mono bindings.
|
||||
|
||||
{ stdenv, fetchurl, fetchpatch, lib, file
|
||||
, pkgconfig, autoconf
|
||||
{ stdenv, fetchurl, fetchpatch, lib
|
||||
, pkgconfig, autoreconfHook
|
||||
, glib, dbus-glib, gtkVersion ? "3"
|
||||
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
|
||||
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
|
||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "17xlqd60v0zllrxp8bgq3k5a1jkj0svkqn8rzllcyjh8k0gpr46m";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoconf vala gobject-introspection ];
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook vala gobject-introspection ];
|
||||
|
||||
propagatedBuildInputs =
|
||||
if gtkVersion == "2"
|
||||
@ -46,14 +46,6 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
autoconf
|
||||
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
||||
substituteInPlace $f \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
done
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"CFLAGS=-Wno-error"
|
||||
"--sysconfdir=/etc"
|
||||
@ -61,11 +53,6 @@ stdenv.mkDerivation rec {
|
||||
"--with-gtk=${gtkVersion}"
|
||||
];
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace configure \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
'';
|
||||
|
||||
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
||||
|
||||
installFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user