Skip to content

Commit

Permalink
navit : fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bignaux committed Jun 1, 2024
1 parent 33f13d1 commit 257adbb
Showing 9 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions pkgs/assaultcube/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
, stdenv
, makeDesktopItem
, openal
, pkgconfig
, pkg-config
, libogg
, libvorbis
, SDL
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
# was useless before someone broke SDL_image, see https://github.com/NixOS/nixpkgs/pull/97919/
NIX_LDFLAGS = "-lpng -ljpeg";

nativeBuildInputs = [ makeWrapper pkgconfig ];
nativeBuildInputs = [ makeWrapper pkg-config ];

buildInputs = [ file zlib ]
++ optionals client [ openal SDL SDL_image libogg libvorbis libjpeg_turbo libpng ];
4 changes: 2 additions & 2 deletions pkgs/caprice32/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
, fetchFromGitHub
, desktop-file-utils
, libpng
, pkgconfig
, pkg-config
, SDL2
, freetype
, zlib
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-bO1HJxNp9+aFukvtaoz9WrB6y21ok3Dxu+CpyoRf+2Q=";
};

nativeBuildInputs = [ desktop-file-utils pkgconfig ];
nativeBuildInputs = [ desktop-file-utils pkg-config ];
buildInputs = [ libpng SDL2 freetype zlib ];

makeFlags = [
4 changes: 2 additions & 2 deletions pkgs/freediag/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, cmake
, pkgconfig
, pkg-config
, enableGUI ? false
, libGLU_combined ? null
, fltk ? null
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
sha256 = "0krwbz9jnyzjwmjkx1ffh7v3qk8r2xd4lg3jm9mqxyiw780r4n4s";
};

nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = optionals enableGUI [ libGLU_combined fltk ];

cmakeFlags = optional enableGUI [ "-DBUILD_GUI=1" ];
4 changes: 2 additions & 2 deletions pkgs/magick2cpc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, imagemagick6, pkgconfig, autoreconfHook }:
{ lib, stdenv, fetchFromGitHub, imagemagick6, pkg-config, autoreconfHook }:

stdenv.mkDerivation rec {
name = "magick2cpc-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "16412i9skdmi9a297dxwr6817wfwafbpx4vxfkks9pwx2jcmp75j";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ imagemagick6 ];

meta = with lib; {
4 changes: 2 additions & 2 deletions pkgs/mkpsxiso/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, tinyxml2 }:
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, tinyxml2 }:

stdenv.mkDerivation rec {
pname = "mkpsxiso";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
#'';

buildInputs = [ tinyxml2 ];
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkg-config ];
#cmakeFlags = [
# "-DTINYXML_INCLUDE_DIR=${tinyxml}/include"
# "-DTINYXML_LIBRARIES=${tinyxml}/lib"
12 changes: 6 additions & 6 deletions pkgs/navit/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, pkgconfig
, pkg-config
, fontconfig
, freetype
, imlib2
@@ -13,13 +13,13 @@
, librsvg #inkscape
, libxslt
, cairo
, gdk_pixbuf
, gdk-pixbuf
, pango
, atk
, patchelf
, fetchurl
, bzip2
, python
, python3
, gettext
, libpng
, zlib
@@ -120,12 +120,12 @@ stdenv.mkDerivation rec {
"-DCMAKE_RC_COMPILER=${stdenv.cc.targetPrefix}windres"
];

nativeBuildInputs = [ gettext makeWrapper pkgconfig cmake patchelf bzip2 libxslt ]
nativeBuildInputs = [ gettext makeWrapper pkg-config cmake patchelf bzip2 libxslt ]
++ optional stdenv.targetPlatform.isMinGW nsis;

buildInputs = [ libpng zlib ]
++ optionals stdenv.hostPlatform.isLinux [
python
python3
gd
freetype
fribidi
@@ -136,7 +136,7 @@ stdenv.mkDerivation rec {
gpsd
shapelib
]
++ optionals gtkSupport [ atk cairo gtk2 gdk_pixbuf pango imlib2 ]
++ optionals gtkSupport [ atk cairo gtk2 gdk-pixbuf pango imlib2 ]
++ optionals sdlSupport [ SDL SDL_image ]
++ optionals qtSupport [
qtquickcontrols
4 changes: 2 additions & 2 deletions pkgs/nsntrace/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, iptables, libpcap, libxslt, libnl }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, iptables, libpcap, libxslt, libnl }:

stdenv.mkDerivation rec {
version = "unstable-2020-05-25";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1650h49gr8dn2z9m7cglg8whvyc7isf071aqbxz2zxlq432858y7";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ iptables libnl libpcap libxslt ];

#very ugly for now
2 changes: 1 addition & 1 deletion pkgs/quickbms/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkgconfig, unzip, lzo, bzip2, zlib, openssl }:
{ lib, stdenv, fetchurl, pkg-config, unzip, lzo, bzip2, zlib, openssl }:

stdenv.mkDerivation rec {
version = "0.10.1";
2 changes: 1 addition & 1 deletion pkgs/scriptcommunicator/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, qmake
, pkgconfig
, pkg-config
, libpng
, zlib
, unzip

0 comments on commit 257adbb

Please sign in to comment.