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 homepage : https://iup.sourceforge.net/ license : MIT component : multimedia.graphics summary : A multi-platform toolkit for building graphical user interfaces description: | 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. builddeps : - pkgconfig(ftgl) - pkgconfig(glu) - pkgconfig(lua) - pkgconfig(webkit2gtk-4.0) - lsb-release - libim-devel - libim-lua - libcd-devel - libcd-lua patterns : - lua : - /usr/bin/iuplua* - /usr/lib64/libiuplua*.so - /usr/share/applications/iupluascripter.desktop - /usr/share/icons/hicolor/48x48/apps/iupluascripter.png - /usr/lib64/*.so - /usr/bin/{iupvled,iupview,ledc} - /usr/share/applications/iupvled.desktop - /usr/share/icons/hicolor/48x48/apps/iupvled.png - devel : - /usr/include environment: export USE_PKGCONFIG=Yes export USE_LUA_VERSION=53 export LIBLUA_SFX= export LUA_SFX= 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 : | %patch -p1 < $pkgfiles/0001-Disabling-static-linux6-support.patch build : | %make -j1 install : | install -dm00755 $installdir/usr/lib64 install -Dm00755 lib/Linux62_64/*.so $installdir/usr/lib64/ install -Dm00755 lib/Linux62_64/Lua53/*.so $installdir/usr/lib64/ install -m00755 lib/Linux62_64/*.so $installdir/usr/lib64/ install -dm00755 $installdir/usr/bin install -m00755 bin/Linux62_64/{iupview,iupvled,ledc} $installdir/usr/bin install -m00755 bin/Linux62_64/Lua53/* $installdir/usr/bin install -dm00755 $installdir/usr/include install -m00755 include/* $installdir/usr/include 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