mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
9bd2506458
These packages were identified as broken when ffmpeg = ffmpeg_5. Tested _only_ by building them. If you are a maintainer of one of these packages, please test whether your package still works.
81 lines
1.2 KiB
Nix
81 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, SDL2
|
|
, aubio
|
|
, boost
|
|
, cmake
|
|
, ffmpeg_4
|
|
, gettext
|
|
, git
|
|
, glew
|
|
, glibmm
|
|
, glm
|
|
, icu
|
|
, libepoxy
|
|
, librsvg
|
|
, libxmlxx
|
|
, pango
|
|
, pkg-config
|
|
, portaudio
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "performous";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-ueTSirov/lj4/IzaMqHitbOqx8qqUpsTghcb9DUnNEg=";
|
|
};
|
|
|
|
cedSrc = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = "compact_enc_det";
|
|
rev = "9ca1351fe0b1e85992a407b0fc54a63e9b3adc6e";
|
|
hash = "sha256-ztfeblR4YnB5+lb+rwOQJjogl+C9vtPH9IVnYO7oxec=";
|
|
};
|
|
|
|
patches = [
|
|
./performous-cmake.patch
|
|
./performous-fftw.patch
|
|
];
|
|
|
|
postPatch = ''
|
|
mkdir ced-src
|
|
cp -R ${cedSrc}/* ced-src
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
gettext
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
SDL2
|
|
aubio
|
|
boost
|
|
ffmpeg_4
|
|
glew
|
|
glibmm
|
|
glm
|
|
icu
|
|
libepoxy
|
|
librsvg
|
|
libxmlxx
|
|
pango
|
|
portaudio
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Karaoke, band and dancing game";
|
|
homepage = "https://performous.org/";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ wegank ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|