Merge branch 'staging-next' into staging
This commit is contained in:
commit
5d4c6f7bda
@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
pkgconfig
|
pkgconfig
|
||||||
python3
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
glib # for glib-compile-resources
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||||||
openssl.dev
|
openssl.dev
|
||||||
racket
|
racket
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ scons ];
|
nativeBuildInputs = [ scons.py2 ];
|
||||||
|
|
||||||
patches = [ ./fix-build.patch ];
|
patches = [ ./fix-build.patch ];
|
||||||
sconsFlags = [
|
sconsFlags = [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, libbladeRF
|
, libbladeRF
|
||||||
, libusb
|
, libusb1
|
||||||
, ncurses
|
, ncurses
|
||||||
, rtl-sdr
|
, rtl-sdr
|
||||||
}:
|
}:
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libbladeRF
|
libbladeRF
|
||||||
libusb
|
libusb1
|
||||||
ncurses
|
ncurses
|
||||||
rtl-sdr
|
rtl-sdr
|
||||||
];
|
];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, pkgconfig, autoreconfHook,
|
{ stdenv, pkgconfig, autoreconfHook,
|
||||||
glib, libzip, libserialport, check, libusb, libftdi,
|
glib, libzip, libserialport, check, libusb1, libftdi,
|
||||||
systemd, alsaLib, dsview
|
systemd, alsaLib, dsview
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib libzip libserialport libusb libftdi systemd check alsaLib
|
glib libzip libserialport libusb1 libftdi systemd check alsaLib
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, callPackage, fetchFromGitHub
|
{ stdenv, callPackage, fetchFromGitHub
|
||||||
, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
|
, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
|
||||||
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib
|
, steam, udev, libusb1, jsoncpp, libhdhomerun, zlib
|
||||||
, python2Packages, expat, glib, nspr, nss, openssl
|
, python2Packages, expat, glib, nspr, nss, openssl
|
||||||
, libssh, libarchive, lzma, bzip2, lz4, lzo }:
|
, libssh, libarchive, lzma, bzip2, lz4, lzo }:
|
||||||
|
|
||||||
@ -236,8 +236,7 @@ let self = rec {
|
|||||||
maintainers = with maintainers; [ edwtjo ];
|
maintainers = with maintainers; [ edwtjo ];
|
||||||
};
|
};
|
||||||
|
|
||||||
extraBuildInputs = [ libusb pcre-cpp ];
|
extraBuildInputs = [ udev ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
simpleplugin = mkKodiPlugin rec {
|
simpleplugin = mkKodiPlugin rec {
|
||||||
@ -300,7 +299,7 @@ let self = rec {
|
|||||||
sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279";
|
sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraBuildInputs = [ libusb ];
|
extraBuildInputs = [ libusb1 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Binary addon for steam controller.";
|
description = "Binary addon for steam controller.";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40,
|
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, fetchpatch,
|
||||||
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
|
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
|
||||||
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
|
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
|
||||||
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2,
|
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2,
|
||||||
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7";
|
sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix build with VTE 0.60
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/linuxdeepin/deepin-terminal/commit/542d1035b609698ee81aa7971d20ca8e5930743d.patch";
|
||||||
|
sha256 = "1pihiy70yc25fm5fx7i7v9gmi65v4mhldvi7xwv8rgr2z6hbfj41";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
cmake
|
cmake
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, intltool
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, intltool
|
||||||
, audit, glib, libusb, libxml2
|
, audit, glib, libusb1, libxml2
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, gstreamer ? null
|
, gstreamer ? null
|
||||||
, gst-plugins-base ? null
|
, gst-plugins-base ? null
|
||||||
@ -53,7 +53,7 @@ in
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ glib libxml2 ]
|
[ glib libxml2 ]
|
||||||
++ stdenv.lib.optional enableUsb libusb
|
++ stdenv.lib.optional enableUsb libusb1
|
||||||
++ stdenv.lib.optional enablePacketSocket audit
|
++ stdenv.lib.optional enablePacketSocket audit
|
||||||
++ stdenv.lib.optionals (enableViewer || enableGstPlugin) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]
|
++ stdenv.lib.optionals (enableViewer || enableGstPlugin) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]
|
||||||
++ stdenv.lib.optionals (enableViewer) [ libnotify gtk3 gnome3.adwaita-icon-theme ];
|
++ stdenv.lib.optionals (enableViewer) [ libnotify gtk3 gnome3.adwaita-icon-theme ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
|
{ stdenv, lib, fetchFromGitHub, cmake, libusb1, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
|
||||||
, GLUT, Cocoa
|
, GLUT, Cocoa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1963xndbiwgj01q17zv6xbqlsbhfd236dkbdwkbjw4b0gr8kqzq9";
|
sha256 = "1963xndbiwgj01q17zv6xbqlsbhfd236dkbdwkbjw4b0gr8kqzq9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb freeglut libGLU libGL libXi libXmu ]
|
buildInputs = [ libusb1 freeglut libGLU libGL libXi libXmu ]
|
||||||
++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];
|
++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
@ -61,9 +61,9 @@ stdenv.mkDerivation rec {
|
|||||||
# though, so we need to replace the absolute path with a local one during build.
|
# though, so we need to replace the absolute path with a local one during build.
|
||||||
# We are using a symlink that we will delete before installation.
|
# We are using a symlink that we will delete before installation.
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
ln -s $PWD/tests/scanner/libregress-1.0.so $out/lib/libregress-1.0.so
|
ln -s $PWD/tests/scanner/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
|
||||||
cleanLibregressSymlink() {
|
cleanLibregressSymlink() {
|
||||||
rm $out/lib/libregress-1.0.so
|
rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
|
||||||
}
|
}
|
||||||
preInstallPhases="$preInstallPhases cleanLibregressSymlink"
|
preInstallPhases="$preInstallPhases cleanLibregressSymlink"
|
||||||
'';
|
'';
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, gettext
|
, gettext
|
||||||
@ -96,6 +97,12 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Fix build with neon 0.31
|
||||||
|
# https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1165
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/f10b424418e448211e3427a76fcd046e157ef0b7.patch";
|
||||||
|
sha256 = "0l1f6kqcl04q7w12a2b4qibcvjz6gqhs0csdv2wbvfd6zndpjm6p";
|
||||||
|
})
|
||||||
./fix_pkgconfig_includedir.patch
|
./fix_pkgconfig_includedir.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
{ stdenv, fetchurl, cmake, cfitsio, libusb, zlib, boost, libnova
|
{ stdenv
|
||||||
, curl, libjpeg, gsl }:
|
, fetchurl
|
||||||
|
, cmake
|
||||||
|
, cfitsio
|
||||||
|
, libusb1
|
||||||
|
, zlib
|
||||||
|
, boost
|
||||||
|
, libnova
|
||||||
|
, curl
|
||||||
|
, libjpeg
|
||||||
|
, gsl
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "indilib-1.1.0";
|
name = "indilib-1.1.0";
|
||||||
@ -9,13 +19,27 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w";
|
sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./udev-dir.patch ] ;
|
patches = [
|
||||||
|
./udev-dir.patch
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ curl cmake cfitsio libusb zlib boost
|
nativeBuildInputs = [
|
||||||
libnova libjpeg gsl ];
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
curl
|
||||||
|
cfitsio
|
||||||
|
libusb1
|
||||||
|
zlib
|
||||||
|
boost
|
||||||
|
libnova
|
||||||
|
libjpeg
|
||||||
|
gsl
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://www.indilib.org/;
|
homepage = "https://www.indilib.org/";
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
description = "Implementaion of the INDI protocol for POSIX operating systems";
|
description = "Implementaion of the INDI protocol for POSIX operating systems";
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, pkgconfig
|
, pkgconfig
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, libusb
|
, libusb1
|
||||||
, pixman
|
, pixman
|
||||||
, glib
|
, glib
|
||||||
, nss
|
, nss
|
||||||
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libusb
|
libusb1 # drop in 2.0 for gusb
|
||||||
pixman
|
pixman
|
||||||
glib
|
glib
|
||||||
nss
|
nss
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkgconfig
|
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkgconfig
|
||||||
, libusb
|
, libusb1
|
||||||
, readline
|
, readline
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libusb
|
libusb1
|
||||||
readline
|
readline
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, libusb, zlib }:
|
{ stdenv, fetchFromGitHub, pkgconfig, libusb1, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sunxi-tools-20181113";
|
name = "sunxi-tools-20181113";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libusb zlib ];
|
buildInputs = [ libusb1 zlib ];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitLab, autoreconfHook, pkg-config, boost, gtkmm2
|
{ stdenv, fetchFromGitLab, autoreconfHook, pkg-config, boost, gtkmm2
|
||||||
, imagemagick, sane-backends, tesseract4, udev, libusb}:
|
, imagemagick, sane-backends, tesseract4, udev, libusb1}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "utsushi";
|
pname = "utsushi";
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
imagemagick
|
imagemagick
|
||||||
sane-backends
|
sane-backends
|
||||||
udev.dev
|
udev.dev
|
||||||
libusb.dev
|
libusb1.dev
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=parentheses -Wno-error=unused-variable";
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=parentheses -Wno-error=unused-variable";
|
||||||
|
@ -1,8 +1,35 @@
|
|||||||
{ stdenv, lib, fetchpatch, pkgconfig, cmake, bluez, ffmpeg, libao, gtk2, glib
|
{ stdenv
|
||||||
, libGLU, libGL , gettext, libpthreadstubs, libXrandr, libXext, readline
|
, lib
|
||||||
, openal , libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev
|
, fetchpatch
|
||||||
, wxGTK30, soundtouch, miniupnpc, mbedtls, curl, lzo, sfml
|
, pkgconfig
|
||||||
, libpulseaudio ? null }:
|
, cmake
|
||||||
|
, bluez
|
||||||
|
, ffmpeg
|
||||||
|
, libao
|
||||||
|
, gtk2
|
||||||
|
, glib
|
||||||
|
, libGLU
|
||||||
|
, libGL
|
||||||
|
, gettext
|
||||||
|
, libpthreadstubs
|
||||||
|
, libXrandr
|
||||||
|
, libXext
|
||||||
|
, readline
|
||||||
|
, openal
|
||||||
|
, libXdmcp
|
||||||
|
, portaudio
|
||||||
|
, fetchFromGitHub
|
||||||
|
, libusb1
|
||||||
|
, libevdev
|
||||||
|
, wxGTK30
|
||||||
|
, soundtouch
|
||||||
|
, miniupnpc
|
||||||
|
, mbedtls
|
||||||
|
, curl
|
||||||
|
, lzo
|
||||||
|
, sfml
|
||||||
|
, libpulseaudio ? null
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dolphin-emu";
|
pname = "dolphin-emu";
|
||||||
@ -44,15 +71,45 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ cmake bluez ffmpeg libao libGLU libGL gtk2 glib
|
pkgconfig
|
||||||
gettext libpthreadstubs libXrandr libXext readline openal
|
cmake
|
||||||
libevdev libXdmcp portaudio libusb libpulseaudio
|
];
|
||||||
libevdev libXdmcp portaudio libusb libpulseaudio
|
|
||||||
wxGTK30 soundtouch miniupnpc mbedtls curl lzo sfml ];
|
buildInputs = [
|
||||||
|
bluez
|
||||||
|
ffmpeg
|
||||||
|
libao
|
||||||
|
libGLU
|
||||||
|
libGL
|
||||||
|
gtk2
|
||||||
|
glib
|
||||||
|
gettext
|
||||||
|
libpthreadstubs
|
||||||
|
libXrandr
|
||||||
|
libXext
|
||||||
|
readline
|
||||||
|
openal
|
||||||
|
libevdev
|
||||||
|
libXdmcp
|
||||||
|
portaudio
|
||||||
|
libpulseaudio
|
||||||
|
libevdev
|
||||||
|
libXdmcp
|
||||||
|
portaudio
|
||||||
|
libusb1
|
||||||
|
libpulseaudio
|
||||||
|
wxGTK30
|
||||||
|
soundtouch
|
||||||
|
miniupnpc
|
||||||
|
mbedtls
|
||||||
|
curl
|
||||||
|
lzo
|
||||||
|
sfml
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://dolphin-emu.org/;
|
homepage = "https://dolphin-emu.org/";
|
||||||
description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8";
|
description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ MP2E ashkitten ];
|
maintainers = with maintainers; [ MP2E ashkitten ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, makeDesktopItem, pkgconfig, cmake
|
{ lib, stdenv, fetchFromGitHub, makeDesktopItem, pkgconfig, cmake
|
||||||
, wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext
|
, wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext
|
||||||
, libXrandr, libusb, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama
|
, libXrandr, libusb1, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama
|
||||||
, libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsaLib
|
, libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsaLib
|
||||||
, miniupnpc, enet, mbedtls, soundtouch, sfml
|
, miniupnpc, enet, mbedtls, soundtouch, sfml
|
||||||
, vulkan-loader ? null, libpulseaudio ? null
|
, vulkan-loader ? null, libpulseaudio ? null
|
||||||
@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl ffmpeg libao libGLU libGL pcre gettext libpthreadstubs libpulseaudio
|
curl ffmpeg libao libGLU libGL pcre gettext libpthreadstubs libpulseaudio
|
||||||
libXrandr libXext libXxf86vm libXinerama libSM readline openal libXdmcp lzo
|
libXrandr libXext libXxf86vm libXinerama libSM readline openal libXdmcp lzo
|
||||||
portaudio libusb libpng hidapi miniupnpc enet mbedtls soundtouch sfml
|
portaudio libusb1 libpng hidapi miniupnpc enet mbedtls soundtouch sfml
|
||||||
qtbase
|
qtbase
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
bluez udev libevdev alsaLib vulkan-loader
|
bluez udev libevdev alsaLib vulkan-loader
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
|
, autoreconfHook
|
||||||
, neon
|
, neon
|
||||||
, procps
|
, procps
|
||||||
, substituteAll
|
, substituteAll
|
||||||
@ -14,6 +16,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "00fqadhmhi2bmdar5a48nicmjcagnmaj9wgsvjr6cffmrz6pcx21";
|
sha256 = "00fqadhmhi2bmdar5a48nicmjcagnmaj9wgsvjr6cffmrz6pcx21";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook # neon-0.31.patch requires reconfiguration
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ neon zlib ];
|
buildInputs = [ neon zlib ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -23,6 +29,15 @@ stdenv.mkDerivation rec {
|
|||||||
src = ./0001-umount_davfs-substitute-ps-command.patch;
|
src = ./0001-umount_davfs-substitute-ps-command.patch;
|
||||||
ps = "${procps}/bin/ps";
|
ps = "${procps}/bin/ps";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Fix build with neon 0.31
|
||||||
|
# http://savannah.nongnu.org/bugs/?58101
|
||||||
|
(fetchpatch {
|
||||||
|
name = "neon-0.31.patch";
|
||||||
|
url = "http://savannah.nongnu.org/bugs/download.php?file_id=48737";
|
||||||
|
sha256 = "EtQfcstWkn8AcbZo93midGt076gq20AvGGJyQ3FO/YQ=";
|
||||||
|
extraPrefix = ""; # empty means add 'a/' and 'b/'
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [ "--sysconfdir=/etc" ];
|
configureFlags = [ "--sysconfdir=/etc" ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
, glib, i2c-tools, udev, libgudev, libusb, libdrm, xorg }:
|
, glib, i2c-tools, udev, libgudev, libusb1, libdrm, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ddcutil";
|
pname = "ddcutil";
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
i2c-tools udev libgudev
|
i2c-tools udev libgudev
|
||||||
glib libusb libdrm xorg.libXrandr
|
glib libusb1 libdrm xorg.libXrandr
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, libusb
|
, libusb1
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq";
|
sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb1 ];
|
||||||
|
|
||||||
installFlags = [ "prefix=${placeholder "out"}" ];
|
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
, curl
|
, curl
|
||||||
, gettext
|
, gettext
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, libusb
|
, libusb1
|
||||||
, gnutls }:
|
, gnutls }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ cmake gettext pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ cmake sqlite botan2 boost curl gettext libusb gnutls ];
|
buildInputs = [ sqlite botan2 boost curl libusb1 gnutls ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user