2022-12-29 18:07:43 +00:00
name : iup
version : 3.30
release : 1
source :
- https://sourceforge.net/projects/iup/files/3.30/Docs%20and%20Sources/iup-3.30_Sources.zip : 656c6dd8edcfb4077f3cc43242e687212b9a70ddf10d509856316c3f87be1313
2023-02-04 10:45:22 +00:00
homepage : https://iup.sourceforge.net/
license : MIT
component : multimedia.graphics
summary : A multi-platform toolkit for building graphical user interfaces
2022-12-29 18:07:43 +00:00
description : |
2023-02-04 10:45:22 +00:00
IUP is a multi-platform toolkit for building graphical user interfaces. It offers a simple API in three basic languages : C, Lua and LED. IUP's purpose is to allow a program source code to be compiled in different systems without any modification.
2022-12-29 18:07:43 +00:00
builddeps :
2023-02-04 10:45:22 +00:00
- pkgconfig(ftgl)
- pkgconfig(glu)
- pkgconfig(lua)
- pkgconfig(webkit2gtk-4.0)
2022-12-29 18:07:43 +00:00
- lsb-release
- libim-devel
2023-05-11 06:53:16 +00:00
- libim-lua
2022-12-29 18:07:43 +00:00
- libcd-devel
2023-05-11 06:53:16 +00:00
- libcd-lua
2022-12-29 18:07:43 +00:00
patterns :
- lua :
- /usr/bin/iuplua*
- /usr/lib64/libiuplua*.so
2023-05-11 14:57:40 +00:00
- /usr/share/applications/iupluascripter.desktop
- /usr/share/icons/hicolor/48x48/apps/tecgraf-logo-scripter.png
2022-12-29 18:07:43 +00:00
- /usr/lib64/*.so
- /usr/bin/{iupvled,iupview,ledc}
2023-05-11 14:57:40 +00:00
- /usr/share/applications/iupvled.desktop
- /usr/share/icons/hicolor/48x48/apps/tecgraf-logo-vled.png
2022-12-29 18:07:43 +00:00
- devel :
- /usr/include
environment :
export USE_PKGCONFIG=Yes
2023-05-11 06:23:06 +00:00
export USE_LUA_VERSION=53
export LIBLUA_SFX=
export LUA_SFX=
2022-12-29 18:07:43 +00:00
export LUA_INC=/usr/include
export LUA_LIB=/usr/lib
export LUA_BIN=/usr/bin/lua
export IM_LIB=/usr/lib
export IM_INC=/usr/include
export CD_LIB=/usr/lib
export CD_INC=/usr/include
export FTGL_LIB=/usr/lib
export FTGL_INC=/usr/include
setup : |
2023-05-11 14:57:40 +00:00
%patch -p1 < $pkgfiles/0001-Disabling-static-linux6-support.patch
2022-12-29 18:07:43 +00:00
build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
2023-05-11 06:53:16 +00:00
install -Dm00755 lib/Linux62_64/*.so $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/Lua53/*.so $installdir/usr/lib64/
2023-05-11 06:23:06 +00:00
install -m00755 lib/Linux62_64/*.so $installdir/usr/lib64/
2022-12-29 18:07:43 +00:00
install -dm00755 $installdir/usr/bin
2023-05-11 06:23:06 +00:00
install -m00755 bin/Linux62_64/{iupview,iupvled,ledc} $installdir/usr/bin
install -m00755 bin/Linux62_64/Lua53/* $installdir/usr/bin
2022-12-29 18:07:43 +00:00
install -dm00755 $installdir/usr/include
install -m00755 include/* $installdir/usr/include
2023-05-11 14:57:40 +00:00
install -Dm00644 $pkgfiles/iupvled.desktop $installdir/usr/share/applications/iupvled.desktop
install -Dm00644 $pkgfiles/iupluascripter.desktop $installdir/usr/share/applications/iupluascripter.desktop
install -Dm00644 $pkgfiles/tecgraf-logo.png $installdir/usr/share/icons/hicolor/48x48/apps/iupvled.png
install -Dm00644 $pkgfiles/tecgraf-logo.png $installdir/usr/share/icons/hicolor/48x48/apps/iupluascripter.png