iup-stack-solus/iup/package.yml

58 lines
2.0 KiB
YAML
Raw Normal View History

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
- libim-lua
2022-12-29 18:07:43 +00:00
- libcd-devel
- libcd-lua
2022-12-29 18:07:43 +00:00
patterns :
- lua :
- /usr/bin/iuplua*
- /usr/lib64/libiuplua*.so
- /usr/lib64/*.so
- /usr/bin/{iupvled,iupview,ledc}
- devel :
- /usr/include
environment:
export USE_PKGCONFIG=Yes
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 : |
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.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/
2022-12-29 18:07:43 +00:00
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
2022-12-29 18:07:43 +00:00
install -dm00755 $installdir/usr/include
install -m00755 include/* $installdir/usr/include