diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-11-24 14:21:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 14:21:25 +0100 |
commit | 2ca694f473629e2445e46595b2e2b248c81669de (patch) | |
tree | e82fa608d9d4ddcbd054e3f269742bf9b593aaca /pkgs/applications/misc | |
parent | 7abad9f4b7020001257133cbf65bbcc4af0c3192 (diff) | |
parent | faa599ced67936ce4746b549a8b6dde8af3e003c (diff) |
Merge pull request #198552 from wegank/wxgtk-games
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/flamerobin/default.nix | 34 | ||||
-rw-r--r-- | pkgs/applications/misc/lenmus/default.nix | 43 | ||||
-rw-r--r-- | pkgs/applications/misc/lutris/fhsenv.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/misc/pwsafe/default.nix | 49 | ||||
-rw-r--r-- | pkgs/applications/misc/xchm/default.nix | 22 |
5 files changed, 115 insertions, 35 deletions
diff --git a/pkgs/applications/misc/flamerobin/default.nix b/pkgs/applications/misc/flamerobin/default.nix index 8178288ba56ea..5fd805994a6e5 100644 --- a/pkgs/applications/misc/flamerobin/default.nix +++ b/pkgs/applications/misc/flamerobin/default.nix @@ -1,26 +1,40 @@ -{ lib, stdenv, fetchFromGitHub, wxGTK30, boost, firebird }: +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, cmake +, wxGTK32 +, boost +, firebird +}: stdenv.mkDerivation rec { - version = "0.9.3.1"; + version = "0.9.3.12"; pname = "flamerobin"; src = fetchFromGitHub { owner = "mariuz"; repo = "flamerobin"; rev = version; - sha256 = "1wwcsca01hpgi9z5flvbdhs9zv7jvahnbn97j6ymy0hdyb8lv6si"; + sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA="; }; - enableParallelBuilding = true; + patches = [ + # rely on compiler command line for __int128 and std::decimal::decimal128 + (fetchpatch { + url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch"; + sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM="; + }) + ]; - buildInputs = [ wxGTK30 boost firebird ]; + enableParallelBuilding = true; - preBuild = '' - sed -i 's/CXXFLAGS = -g -O2/CXXFLAGS = -g -O2 -nostartfiles/' Makefile - ''; + nativeBuildInputs = [ cmake ]; - configureFlags = [ - "--disable-debug" + buildInputs = [ + wxGTK32 + boost + firebird ]; meta = with lib; { diff --git a/pkgs/applications/misc/lenmus/default.nix b/pkgs/applications/misc/lenmus/default.nix index 1dac72bd0d742..f50dd23ff013e 100644 --- a/pkgs/applications/misc/lenmus/default.nix +++ b/pkgs/applications/misc/lenmus/default.nix @@ -1,8 +1,18 @@ -{ lib, stdenv, pkg-config, fetchFromGitHub, fetchpatch -, cmake, boost -, portmidi, sqlite -, freetype, libpng, pngpp, zlib -, wxGTK30, wxsqlite3 +{ lib +, stdenv +, pkg-config +, fetchFromGitHub +, fetchpatch +, cmake +, boost +, portmidi +, sqlite +, freetype +, libpng +, pngpp +, zlib +, wxGTK30-gtk3 +, wxsqlite3 }: stdenv.mkDerivation rec { @@ -25,14 +35,28 @@ stdenv.mkDerivation rec { url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch"; sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn"; }) + (fetchpatch { + url = "https://github.com/lenmus/lenmus/commit/37ee8ac9c8faff65a14e8f7ed2bc22e6dc48d91f.patch"; + includes = [ "src/app/lenmus_midi_wizard.cpp" ]; + sha256 = "sha256-nlT6ZbSCIXUk2Ufv/SDn2A0Rt+s/7m+7l9HOoQmaIhc="; + }) + ]; + + nativeBuildInputs = [ + cmake + pkg-config ]; - nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ boost - portmidi sqlite - freetype libpng pngpp zlib - wxGTK30 wxsqlite3 + portmidi + sqlite + freetype + libpng + pngpp + zlib + wxGTK30-gtk3 + wxsqlite3 ]; meta = with lib; { @@ -46,6 +70,5 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ ramkromberg ]; platforms = with platforms; linux; - broken = stdenv.hostPlatform.isAarch64; }; } diff --git a/pkgs/applications/misc/lutris/fhsenv.nix b/pkgs/applications/misc/lutris/fhsenv.nix index 5c39576ac6f3b..b4b2b2e2ac5df 100644 --- a/pkgs/applications/misc/lutris/fhsenv.nix +++ b/pkgs/applications/misc/lutris/fhsenv.nix @@ -30,7 +30,7 @@ in buildFHSUserEnv { # DGen // TODO: libarchive is broken # Dolphin - bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm + bluez ffmpeg gettext portaudio wxGTK30-gtk3 miniupnpc mbedtls lzo sfml gsm wavpack orc nettle gmp pcre vulkan-loader # DOSBox diff --git a/pkgs/applications/misc/pwsafe/default.nix b/pkgs/applications/misc/pwsafe/default.nix index d5c1115acbf7c..75f09742c1e22 100644 --- a/pkgs/applications/misc/pwsafe/default.nix +++ b/pkgs/applications/misc/pwsafe/default.nix @@ -1,8 +1,25 @@ -{ lib, stdenv, fetchFromGitHub -, cmake, pkg-config, zip, gettext, perl -, wxGTK30, libXext, libXi, libXt, libXtst, xercesc -, qrencode, libuuid, libyubikey, yubikey-personalization -, curl, openssl, file, gitUpdater +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, zip +, gettext +, perl +, wxGTK30-gtk3 +, libXext +, libXi +, libXt +, libXtst +, xercesc +, qrencode +, libuuid +, libyubikey +, yubikey-personalization +, curl +, openssl +, file +, gitUpdater }: stdenv.mkDerivation rec { @@ -17,12 +34,26 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ - cmake gettext perl pkg-config zip + cmake + gettext + perl + pkg-config + zip ]; + buildInputs = [ - libXext libXi libXt libXtst wxGTK30 - curl qrencode libuuid openssl xercesc - libyubikey yubikey-personalization + libXext + libXi + libXt + libXtst + wxGTK30-gtk3 + curl + qrencode + libuuid + openssl + xercesc + libyubikey + yubikey-personalization file ]; diff --git a/pkgs/applications/misc/xchm/default.nix b/pkgs/applications/misc/xchm/default.nix index 2d90a836446ea..16c6bfac7ed0f 100644 --- a/pkgs/applications/misc/xchm/default.nix +++ b/pkgs/applications/misc/xchm/default.nix @@ -1,4 +1,10 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, chmlib }: +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, wxGTK32 +, chmlib +}: stdenv.mkDerivation rec { pname = "xchm"; @@ -11,13 +17,19 @@ stdenv.mkDerivation rec { sha256 = "sha256-8HQaXxZQwfBaWc22GivKri1vZEnZ23anSfriCvmLHHw="; }; - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ wxGTK30 chmlib ]; + nativeBuildInputs = [ + autoreconfHook + ]; - configureFlags = [ "--with-wx-prefix=${wxGTK30}" ]; + buildInputs = [ + wxGTK32 + chmlib + ]; + + configureFlags = [ "--with-wx-prefix=${wxGTK32}" ]; preConfigure = '' - export LDFLAGS="$LDFLAGS $(${wxGTK30}/bin/wx-config --libs | sed -e s@-pthread@@) -lwx_gtk2u_aui-3.0" + export LDFLAGS="$LDFLAGS $(${wxGTK32}/bin/wx-config --libs | sed -e s@-pthread@@) -lwx_gtk3u_aui-3.2" ''; meta = with lib; { |