Remove ftgl code, fix pkg-config file

This commit is contained in:
2026-03-25 05:54:01 +01:00
parent 6af9143648
commit 1d140bc8d9
4 changed files with 4 additions and 8 deletions
-3
View File
@@ -1,3 +0,0 @@
# iup-nixos
Derivation for IUP, a portable user interface library. https://iup.sourceforge.net/
+3
View File
@@ -0,0 +1,3 @@
#+TITLE: IUP_Nix
Nix derivation for IUP, a portable user interface library. https://iup.sourceforge.net/
-4
View File
@@ -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 = [
+1 -1
View File
@@ -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
'';