frozen-bubble: add desktop file
This commit is contained in:
parent
30cbff7820
commit
976ac59e41
|
@ -1,5 +1,6 @@
|
||||||
{ lib, fetchurl, perlPackages, pkg-config, SDL, SDL_mixer, SDL_Pango, glib }:
|
{ lib, fetchurl, perlPackages, pkg-config, SDL, SDL_mixer, SDL_Pango, glib
|
||||||
|
, copyDesktopItems, makeDesktopItem
|
||||||
|
}:
|
||||||
perlPackages.buildPerlModule {
|
perlPackages.buildPerlModule {
|
||||||
pname = "frozen-bubble";
|
pname = "frozen-bubble";
|
||||||
version = "2.212";
|
version = "2.212";
|
||||||
|
@ -10,13 +11,24 @@ perlPackages.buildPerlModule {
|
||||||
};
|
};
|
||||||
patches = [ ./fix-compilation.patch ];
|
patches = [ ./fix-compilation.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ copyDesktopItems pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ glib SDL SDL_mixer SDL_Pango perlPackages.SDL perlPackages.FileSlurp ];
|
buildInputs = [ glib SDL SDL_mixer SDL_Pango perlPackages.SDL perlPackages.FileSlurp ];
|
||||||
propagatedBuildInputs = with perlPackages; [ AlienSDL CompressBzip2 FileShareDir FileWhich IPCSystemSimple LocaleMaketextLexicon ];
|
propagatedBuildInputs = with perlPackages; [ AlienSDL CompressBzip2 FileShareDir FileWhich IPCSystemSimple LocaleMaketextLexicon ];
|
||||||
|
|
||||||
perlPreHook = "export LD=$CC";
|
perlPreHook = "export LD=$CC";
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "frozen-bubble";
|
||||||
|
exec = "frozen-bubble";
|
||||||
|
desktopName = "Frozen Bubble";
|
||||||
|
genericName = "Frozen Bubble";
|
||||||
|
comment = "Arcade/reflex colour matching game";
|
||||||
|
categories = "Game;";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Puzzle with Bubbles";
|
description = "Puzzle with Bubbles";
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
|
|
Loading…
Reference in a new issue