mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
Adding GMU, a music player for small portable devices, written in SDL.
svn path=/nixpkgs/trunk/; revision=26266
This commit is contained in:
parent
e7ed35ecd8
commit
d58c5e2821
35
pkgs/applications/audio/gmu/default.nix
Normal file
35
pkgs/applications/audio/gmu/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{stdenv, fetchurl, SDL, SDL_gfx, SDL_image, tremor, flac, mpg123, libmikmod
|
||||
, speex
|
||||
, keymap ? "newdefault"
|
||||
, conf ? "unknown"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gmu-0.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://wejp.k.vu/files/gmu-0.7.2.tar.gz;
|
||||
sha256 = "0gvhwhhlj64lc425wqch4g6v59ldd5i3rxll3zdcrdgk2vkh8nys";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL SDL_gfx SDL_image tremor flac mpg123 libmikmod speex ];
|
||||
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
|
||||
preBuild = ''
|
||||
makeFlags="$makeFlags PREFIX=$out"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
cp ${keymap}.keymap $out/share/gmu/default.keymap
|
||||
cp gmuinput.${conf}.conf $out/share/gmu/gmuinput.conf
|
||||
ensureDir $out/etc/gmu
|
||||
cp gmu.${conf}.conf $out/etc/gmu/gmu.conf
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://wejp.k.vu/projects/gmu;
|
||||
description = "Open source music player for portable gaming consoles and handhelds";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
22
pkgs/development/libraries/tremor/default.nix
Normal file
22
pkgs/development/libraries/tremor/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchsvn, autoconf, automake, libtool, pkgconfig, libogg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tremor-svn-${src.rev}";
|
||||
|
||||
src = fetchsvn {
|
||||
url = http://svn.xiph.org/trunk/Tremor;
|
||||
rev = "17866";
|
||||
sha256 = "161411cbefa1527da7a8fc087e78d8e21d19143d3a6eb42fb281e5026aad7568";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libtool pkgconfig ];
|
||||
propagatedBuildInputs = [ libogg ];
|
||||
|
||||
preConfigure = "autoreconf -vfi";
|
||||
|
||||
meta = {
|
||||
homepage = http://xiph.org/tremor/;
|
||||
description = "Fixed-point version of the Ogg Vorbis decoder";
|
||||
license = "BSD";
|
||||
};
|
||||
}
|
@ -4171,6 +4171,8 @@ let
|
||||
|
||||
tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { };
|
||||
|
||||
tremor = callPackage ../development/libraries/tremor { };
|
||||
|
||||
unicap = callPackage ../development/libraries/unicap {};
|
||||
|
||||
unixODBC = callPackage ../development/libraries/unixODBC { };
|
||||
@ -6099,6 +6101,8 @@ let
|
||||
|
||||
gkrellm = callPackage ../applications/misc/gkrellm { };
|
||||
|
||||
gmu = callPackage ../applications/audio/gmu { };
|
||||
|
||||
gnash = callPackage ../applications/video/gnash {
|
||||
inherit (gnome) gtkglext;
|
||||
inherit (gst_all) gstreamer gstPluginsBase gstPluginsGood gstFfmpeg;
|
||||
|
Loading…
Reference in New Issue
Block a user