tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
smpeg: fix smpeg-config
Nikolay Amiantov
11 years ago
56d73eae
c9de1ea4
+8
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
smpeg
default.nix
+8
-2
pkgs/development/libraries/smpeg/default.nix
···
1
-
{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa }:
2
3
stdenv.mkDerivation rec {
4
name = "smpeg-svn${version}";
···
12
13
enableParallelBuilding = true;
14
15
-
buildInputs = [ SDL autoconf automake libtool gtk m4 pkgconfig mesa ];
0
0
16
17
preConfigure = ''
18
touch NEWS AUTHORS ChangeLog
···
26
-e 's,"SDL_thread.h",<SDL/SDL_thread.h>,' \
27
-e 's,"SDL_types.h",<SDL/SDL_types.h>,' \
28
$out/include/smpeg/*.h
0
0
0
0
29
'';
30
31
meta = {
···
1
+
{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa, makeWrapper }:
2
3
stdenv.mkDerivation rec {
4
name = "smpeg-svn${version}";
···
12
13
enableParallelBuilding = true;
14
15
+
buildInputs = [ SDL gtk mesa ];
16
+
17
+
nativeBuildInputs = [ autoconf automake libtool m4 pkgconfig makeWrapper ];
18
19
preConfigure = ''
20
touch NEWS AUTHORS ChangeLog
···
28
-e 's,"SDL_thread.h",<SDL/SDL_thread.h>,' \
29
-e 's,"SDL_types.h",<SDL/SDL_types.h>,' \
30
$out/include/smpeg/*.h
31
+
32
+
wrapProgram $out/bin/smpeg-config \
33
+
--prefix PATH ":" "${pkgconfig}/bin" \
34
+
--prefix PKG_CONFIG_PATH ":" "${SDL}/lib/pkgconfig"
35
'';
36
37
meta = {