mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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 {
|
||||
pname = "frozen-bubble";
|
||||
version = "2.212";
|
||||
|
@ -10,13 +11,24 @@ perlPackages.buildPerlModule {
|
|||
};
|
||||
patches = [ ./fix-compilation.patch ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ copyDesktopItems pkg-config ];
|
||||
|
||||
buildInputs = [ glib SDL SDL_mixer SDL_Pango perlPackages.SDL perlPackages.FileSlurp ];
|
||||
propagatedBuildInputs = with perlPackages; [ AlienSDL CompressBzip2 FileShareDir FileWhich IPCSystemSimple LocaleMaketextLexicon ];
|
||||
|
||||
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 = {
|
||||
description = "Puzzle with Bubbles";
|
||||
license = lib.licenses.gpl2;
|
||||
|
|
Loading…
Reference in a new issue