libsidplayfp: 2.4.2 -> 2.5.0
This commit is contained in:
parent
ba0f52d803
commit
fa7b0d03d1
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, makeFontsConf
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -16,28 +17,30 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libsidplayfp";
|
pname = "libsidplayfp";
|
||||||
version = "2.4.2";
|
version = "2.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "libsidplayfp";
|
owner = "libsidplayfp";
|
||||||
repo = "libsidplayfp";
|
repo = "libsidplayfp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-e+blEdO2KA/noW9pq56qZ0/vvtqQwiDbBJoQR0cQeds=";
|
sha256 = "sha256-KCp/8UjVl8e3+4s1FD4GvHP7AUAS+eIB7RWhmgm5GIA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config perl xa ]
|
nativeBuildInputs = [ autoreconfHook pkg-config perl xa ]
|
||||||
++ lib.optionals docSupport [ doxygen graphviz ];
|
++ lib.optionals docSupport [ doxygen graphviz ];
|
||||||
|
|
||||||
buildInputs = [ libgcrypt libexsid ];
|
buildInputs = [ libgcrypt libexsid ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
|
||||||
nativeCheckInputs = [ unittest-cpp ];
|
checkInputs = [ unittest-cpp ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -54,6 +57,13 @@ stdenv.mkDerivation rec {
|
||||||
]
|
]
|
||||||
++ lib.optional doCheck "--enable-tests";
|
++ lib.optional doCheck "--enable-tests";
|
||||||
|
|
||||||
|
FONTCONFIG_FILE = lib.optionalString docSupport (makeFontsConf { fontDirectories = [ ]; });
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
# Reduce noise from fontconfig during doc building
|
||||||
|
export XDG_CACHE_HOME=$TMPDIR
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = lib.optionalString docSupport ''
|
postInstall = lib.optionalString docSupport ''
|
||||||
mkdir -p $doc/share/doc/libsidplayfp
|
mkdir -p $doc/share/doc/libsidplayfp
|
||||||
mv docs/html $doc/share/doc/libsidplayfp/
|
mv docs/html $doc/share/doc/libsidplayfp/
|
||||||
|
|
Loading…
Reference in a new issue