clanlib: 4.1.0 -> 4.2.0; methane: 2.0.1 -> 2.1.0 (#354481)
This commit is contained in:
commit
b26dcdde27
@ -12,27 +12,21 @@
|
||||
fontconfig,
|
||||
alsa-lib,
|
||||
libXrender,
|
||||
libXinerama,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clanlib";
|
||||
version = "4.1.0";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "ClanLib";
|
||||
owner = "sphair";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SVsLWcTP+PCIGDWLkadMpJPj4coLK9dJrW4sc2+HotE=";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-sRHRkT8NiKVfa9YgP6DYV9WzCZoH7f0phHpoYMnCk98=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "clanlib-add-support-for-riscv.patch";
|
||||
url = "https://github.com/sphair/ClanLib/commit/f5f694205054b66dc800135c9b01673f69a7a671.patch";
|
||||
hash = "sha256-/1XLFaTZDQAlT2mG9P6SJzXtTg7IWYGQ18Sx0e9zh0s=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
autoreconfHook
|
||||
@ -46,8 +40,11 @@ stdenv.mkDerivation rec {
|
||||
fontconfig
|
||||
alsa-lib
|
||||
libXrender
|
||||
libXinerama
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/sphair/ClanLib";
|
||||
description = "Cross platform toolkit library with a primary focus on game creation";
|
||||
@ -55,4 +52,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with lib.maintainers; [ nixinator ];
|
||||
platforms = with lib.platforms; lib.intersectLists linux (x86 ++ arm ++ aarch64 ++ riscv);
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -1,39 +1,43 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, SDL2
|
||||
, SDL2_image
|
||||
, SDL2_mixer
|
||||
, fontconfig
|
||||
, freealut
|
||||
, libglut
|
||||
, gettext
|
||||
, libGL
|
||||
, libGLU
|
||||
, openal
|
||||
, quesoglc
|
||||
, clanlib
|
||||
, libXrender
|
||||
, libmikmod
|
||||
, alsa-lib
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
SDL2,
|
||||
SDL2_image,
|
||||
SDL2_mixer,
|
||||
fontconfig,
|
||||
freealut,
|
||||
libglut,
|
||||
gettext,
|
||||
libGL,
|
||||
libGLU,
|
||||
openal,
|
||||
quesoglc,
|
||||
clanlib,
|
||||
libXrender,
|
||||
libmikmod,
|
||||
alsa-lib,
|
||||
nix-update-script,
|
||||
libXinerama,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs:{
|
||||
pname = "methane";
|
||||
version = "2.0.1";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "methane";
|
||||
owner = "rombust";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-STS2+wfZ8E1jpr0PYQOBQsztxhJU0Dt3IhWBE3sjdWE=";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-rByJqkhYsRuv0gTug+vP2qgkRY8TnX+Qx4/MbAmPTOU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
SDL2_image
|
||||
@ -47,11 +51,12 @@ stdenv.mkDerivation rec {
|
||||
quesoglc
|
||||
clanlib
|
||||
libXrender
|
||||
libXinerama
|
||||
libmikmod
|
||||
alsa-lib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin/ $out/share/methane/ $out/share/docs/
|
||||
cp methane $out/bin
|
||||
@ -60,12 +65,14 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/rombust/methane";
|
||||
description = "Clone of Taito's Bubble Bobble arcade game released for Amiga in 1993 by Apache Software";
|
||||
mainProgram = "methane";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ nixinator ];
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ nixinator ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user