Unverified Commit f02a75ff authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

Merge pull request #205469 from r-ryantm/auto-update/libre

libre: 2.9.0 -> 3.6.0
parents 9a49f0cb 3b6f331a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27,13 +27,13 @@
, dbusSupport ? true
}:
stdenv.mkDerivation rec {
  version = "2.9.0";
  version = "3.6.0";
  pname = "baresip";
  src = fetchFromGitHub {
    owner = "baresip";
    repo = "baresip";
    rev = "v${version}";
    sha256 = "sha256-B4d8D4IfLYAIYVN80Lrh5bywD5iacSnUVwEzbc6Xq7g=";
    hash = "sha256-cp9aaOtvFl9RUHPQRMkSjPvf0fJ29Bclh4SKnAHo7fE=";
  };
  prePatch = lib.optionalString (!dbusSupport) ''
    substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' ""
+18 −5
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, zlib, openssl
, cmake }:
{ lib
, stdenv
, fetchFromGitHub
, zlib
, openssl
, cmake
, SystemConfiguration
}:

stdenv.mkDerivation rec {
  version = "2.9.0";
  version = "3.6.0";
  pname = "libre";
  src = fetchFromGitHub {
    owner = "baresip";
    repo = "re";
    rev = "v${version}";
    sha256 = "sha256-YNAfHmohMqGGF8N/VdndJJ32PF/GMBoNtjo/t2lt6HA=";
    sha256 = "sha256-pFtrmrNRSL1lw10LjayOoNFrW/tTPXwmUipwC5v1MZs=";
  };
  buildInputs = [ zlib openssl ];

  buildInputs = [
    openssl
    zlib
  ] ++ lib.optionals stdenv.isDarwin [
    SystemConfiguration
  ];

  nativeBuildInputs = [ cmake ];
  makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ]
    ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
+3 −1
Original line number Diff line number Diff line
@@ -23086,7 +23086,9 @@ with pkgs;
    inherit (lomiri) cmake-extras;
  };
  libre = callPackage ../development/libraries/libre { };
  libre = callPackage ../development/libraries/libre {
    inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
  };
  librecast = callPackage ../development/libraries/librecast { };