From 18d42e1aa526cb9a28b1f4e4907665abf050c039 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 17 Dec 2016 15:32:08 +0300 Subject: [PATCH] fmod: remove --- pkgs/development/libraries/fmod/4.24.16.nix | 52 --------------------- pkgs/development/libraries/fmod/default.nix | 41 ---------------- pkgs/top-level/all-packages.nix | 4 -- 3 files changed, 97 deletions(-) delete mode 100644 pkgs/development/libraries/fmod/4.24.16.nix delete mode 100644 pkgs/development/libraries/fmod/default.nix diff --git a/pkgs/development/libraries/fmod/4.24.16.nix b/pkgs/development/libraries/fmod/4.24.16.nix deleted file mode 100644 index b45ec24ca6b..00000000000 --- a/pkgs/development/libraries/fmod/4.24.16.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ stdenv, fetchurl }: - -assert (stdenv.system == "x86_64-linux") || (stdenv.system == "i686-linux"); -let - bits = stdenv.lib.optionalString (stdenv.system == "x86_64-linux") "64"; - - libPath = stdenv.lib.makeLibraryPath - [ stdenv.cc.libc stdenv.cc.cc ] + ":${stdenv.cc.cc.lib}/lib64"; - patchLib = x: "patchelf --set-rpath ${libPath} ${x}"; - - src = - (if (bits == "64") then - fetchurl { - url = "http://zandronum.com/essentials/fmod/fmodapi42416linux64.tar.gz"; - sha256 = "0hkwlzchzzgd7fanqznbv5bs53z2qy8iiv9l2y77l4sg1jwmlm6y"; - } - else - fetchurl { - url = "http://zandronum.com/essentials/fmod/fmodapi42416linux.tar.gz"; - sha256 = "13diw3ax2slkr99mwyjyc62b8awc30k0z08cvkpk2p3i1j6f85m5"; - } - ); -in -stdenv.mkDerivation rec { - inherit src; - - name = "fmod-${version}"; - version = "4.24.16"; - - dontStrip = true; - dontPatchELF = true; - dontBuild = true; - - makeFlags = [ "DESTLIBDIR=$(out)/lib" "DESTHDRDIR=$(out)/include" ]; - - preInstall = '' - mkdir -p $out/lib - ''; - - postInstall = '' - mv $out/lib/libfmodex${bits}-${version}.so $out/lib/libfmodex.so - mv $out/lib/libfmodexp${bits}-${version}.so $out/lib/libfmodexp.so - ''; - - meta = with stdenv.lib; { - description = "Programming library and toolkit for the creation and playback of interactive audio"; - homepage = "http://www.fmod.org/"; - license = licenses.unfreeRedistributable; - platforms = platforms.linux; - maintainers = [ stdenv.lib.maintainers.lassulus ]; - }; -} diff --git a/pkgs/development/libraries/fmod/default.nix b/pkgs/development/libraries/fmod/default.nix deleted file mode 100644 index af946019540..00000000000 --- a/pkgs/development/libraries/fmod/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ stdenv, fetchurl }: - -assert (stdenv.system == "x86_64-linux") || (stdenv.system == "i686-linux"); -let - bits = stdenv.lib.optionalString (stdenv.system == "x86_64-linux") "64"; - - libPath = stdenv.lib.makeLibraryPath - [ stdenv.cc.libc stdenv.cc.cc ] + ":${stdenv.cc.cc.lib}/lib64"; - patchLib = x: "patchelf --set-rpath ${libPath} ${x}"; -in -stdenv.mkDerivation rec { - name = "fmod-${version}"; - version = "4.44.41"; - - src = fetchurl { - url = "http://www.fmod.org/download/fmodex/api/Linux/fmodapi44441linux.tar.gz"; - sha256 = "0qjvbhx9g6ijv542n6w3ryv20f74p1qx6bbllda9hl14683z8r8p"; - }; - - dontStrip = true; - dontBuild = true; - - installPhase = '' - mkdir -p $out/lib $out/include/fmodex - - cd api/inc && cp * $out/include/fmodex && cd ../lib - cp libfmodex${bits}-${version}.so $out/lib/libfmodex.so - cp libfmodexL${bits}-${version}.so $out/lib/libfmodexL.so - - ${patchLib "$out/lib/libfmodex.so"} - ${patchLib "$out/lib/libfmodexL.so"} - ''; - - meta = { - description = "Programming library and toolkit for the creation and playback of interactive audio"; - homepage = "http://www.fmod.org/"; - license = stdenv.lib.licenses.unfreeRedistributable; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e632e2a795b..68491795b42 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7012,10 +7012,6 @@ in fltk13 = callPackage ../development/libraries/fltk { }; fltk = self.fltk13; - fmod = callPackage ../development/libraries/fmod { }; - - fmod42416 = callPackage ../development/libraries/fmod/4.24.16.nix { }; - fplll = callPackage ../development/libraries/fplll {}; fplll_20160331 = callPackage ../development/libraries/fplll/20160331.nix {};