mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
smpeg: fix smpeg-config
This commit is contained in:
parent
c9de1ea49e
commit
56d73eae01
1 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa }:
|
||||
{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "smpeg-svn${version}";
|
||||
|
@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ SDL autoconf automake libtool gtk m4 pkgconfig mesa ];
|
||||
buildInputs = [ SDL gtk mesa ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool m4 pkgconfig makeWrapper ];
|
||||
|
||||
preConfigure = ''
|
||||
touch NEWS AUTHORS ChangeLog
|
||||
|
@ -26,6 +28,10 @@ stdenv.mkDerivation rec {
|
|||
-e 's,"SDL_thread.h",<SDL/SDL_thread.h>,' \
|
||||
-e 's,"SDL_types.h",<SDL/SDL_types.h>,' \
|
||||
$out/include/smpeg/*.h
|
||||
|
||||
wrapProgram $out/bin/smpeg-config \
|
||||
--prefix PATH ":" "${pkgconfig}/bin" \
|
||||
--prefix PKG_CONFIG_PATH ":" "${SDL}/lib/pkgconfig"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue