Merge pull request #50363 from matthewbauer/cleanups3
Fallout fixes from #50293
This commit is contained in:
commit
3f0bd4c334
@ -9,7 +9,7 @@ addEnvHooks "$hostOffset" make_glib_find_gsettings_schemas
|
||||
|
||||
# Install gschemas, if any, in a package-specific directory
|
||||
glibPreInstallPhase() {
|
||||
installFlagsArray+=("gsettingsschemadir=${!outputLib}/share/gsettings-schemas/$name/glib-2.0/schemas/")
|
||||
makeFlagsArray+=("gsettingsschemadir=${!outputLib}/share/gsettings-schemas/$name/glib-2.0/schemas/")
|
||||
}
|
||||
preInstallPhases+=" glibPreInstallPhase"
|
||||
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
# a distinct dev output makes python-mapnik fail
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs = [ python scons ];
|
||||
nativeBuildInputs = [ python ];
|
||||
|
||||
buildInputs =
|
||||
[ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
|
||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
prefixKey = "PREFIX=";
|
||||
|
||||
sconsFlags = [
|
||||
configureFlags = [
|
||||
"BOOST_INCLUDES=${boost.dev}/include"
|
||||
"BOOST_LIBS=${boost.out}/lib"
|
||||
"CAIRO_INCLUDES=${cairo.dev}/include"
|
||||
|
@ -75,7 +75,7 @@ if [ -z "$buildPhase" ]; then
|
||||
buildPhase=sconsBuildPhase
|
||||
fi
|
||||
|
||||
if [ -z "$installPhase" ]; then
|
||||
if [ -z "$dontUseSconsInstall" -a -z "$installPhase" ]; then
|
||||
installPhase=sconsInstallPhase
|
||||
fi
|
||||
|
||||
|
@ -42,8 +42,6 @@ in stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
install -Dm644 ${music} $out/share/games/dxx-rebirth/d2xr-sc55-music.dxa
|
||||
install -Dm644 -t $out/share/doc/dxx-rebirth *.txt
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -11,12 +11,10 @@ in stdenv.mkDerivation {
|
||||
sha256 = "0jx2wqmc7602dxyj19n3h8x0cpy929h7c0h39vcc5rf0q74fh3id";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile --replace /usr/local "$out"
|
||||
'';
|
||||
|
||||
makeFlags = "PREFIX=$(out)";
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ scons libX11 libusb1 boost glib dbus-glib];
|
||||
buildInputs = [ scons libX11 libusb1 boost glib dbus-glib ];
|
||||
dontUseSconsInstall = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pingus.seul.org/~grumbel/xboxdrv/;
|
||||
|
Loading…
x
Reference in New Issue
Block a user