openmpt123: init at 0.2.7025-beta20.1

This commit is contained in:
Alex Ivanov 2016-10-09 00:08:18 +03:00
parent 982330d6f4
commit c8a72dfc2a
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, SDL2, pkgconfig }:
let
version = "0.2.7025-beta20.1";
in stdenv.mkDerivation rec {
name = "openmpt123-${version}";
src = fetchurl {
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}.tar.gz";
sha256 = "0qp2nnz6pnl1d7yv9hcjyim7q6yax5881k1jxm8jfgjqagmz5k6p";
};
buildInputs = [ SDL2 pkgconfig ];
makeFlags = [ "NO_LTDL=1 TEST=0 EXAMPLES=0" ]
++ stdenv.lib.optional (stdenv.isDarwin) "SHARED_SONAME=0";
installFlags = "PREFIX=\${out}";
meta = with stdenv.lib; {
description = "A cross-platform command-line based module file player";
homepage = https://lib.openmpt.org/libopenmpt/;
license = licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.gnidorah ];
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -13897,6 +13897,8 @@ in
vivaldi = callPackage ../applications/networking/browsers/vivaldi {}; vivaldi = callPackage ../applications/networking/browsers/vivaldi {};
openmpt123 = callPackage ../applications/audio/openmpt123 {};
opusfile = callPackage ../applications/audio/opusfile { }; opusfile = callPackage ../applications/audio/opusfile { };
opusTools = callPackage ../applications/audio/opus-tools { }; opusTools = callPackage ../applications/audio/opus-tools { };