Remove ftgl code, fix pkg-config file
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# iup-nixos
|
||||
|
||||
Derivation for IUP, a portable user interface library. https://iup.sourceforge.net/
|
||||
@@ -0,0 +1,3 @@
|
||||
#+TITLE: IUP_Nix
|
||||
|
||||
Nix derivation for IUP, a portable user interface library. https://iup.sourceforge.net/
|
||||
@@ -39,10 +39,6 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
sed -i 's/\bcdpdf\b//g' src/Makefile
|
||||
sed -i 's/\bcdluapdf5\b//g' src/Makefile
|
||||
|
||||
substituteInPlace src/config.mak \
|
||||
--replace-fail "LIBS = " "LIBS = ftgl " \
|
||||
--replace-fail "LIBS += " "LIBS += ftgl "
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
|
||||
@@ -78,7 +78,7 @@ includedir=${placeholder "out"}/include
|
||||
Name: IUP
|
||||
Description: A portable toolkit for building graphical user interfaces
|
||||
Version: ${version}
|
||||
Libs: -L${placeholder "out"}/lib -liup -liupgl -liupcontrols -liup_plot -liupcd -liupim -liupimglib -liupole -liupweb
|
||||
Libs: -L${placeholder "out"}/lib -liup -liupgl -liupglcontrols -liupcontrols -liup_plot -liup_mglplot -liupcd -liupim -liupimglib -liup_scintilla -liuptuio -liupweb
|
||||
Cflags: -I${placeholder "out"}/include
|
||||
Requires: cd im gtk+-3.0 glu ftgl
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user