add desktop links

This commit is contained in:
Alexander Zhirov 2023-05-11 17:57:40 +03:00
parent 687de62042
commit d9c8ab7fe4
7 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=IupLuaScripter
Comment=Provides a complete editor interface, with the capability of debug the Lua script
GenericName=Lua editor
Exec=iupluascripter
Icon=iupluascripter
Type=Application
Terminal=false
Categories=Development;TextEditor;IDE;
MimeType=text/plain;

10
iup/files/iupvled.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=IupVisualLED
Comment=IDE to edit and test LED files
GenericName=IUP IDE
Exec=iupvled
Icon=iupvled
Type=Application
Terminal=false
Categories=Development;IDE;
MimeType=application/x-designer;

BIN
iup/files/tecgraf-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -23,8 +23,12 @@ patterns :
- lua : - lua :
- /usr/bin/iuplua* - /usr/bin/iuplua*
- /usr/lib64/libiuplua*.so - /usr/lib64/libiuplua*.so
- /usr/share/applications/iupluascripter.desktop
- /usr/share/icons/hicolor/48x48/apps/tecgraf-logo-scripter.png
- /usr/lib64/*.so - /usr/lib64/*.so
- /usr/bin/{iupvled,iupview,ledc} - /usr/bin/{iupvled,iupview,ledc}
- /usr/share/applications/iupvled.desktop
- /usr/share/icons/hicolor/48x48/apps/tecgraf-logo-vled.png
- devel : - devel :
- /usr/include - /usr/include
environment: environment:
@ -42,7 +46,7 @@ environment:
export FTGL_LIB=/usr/lib export FTGL_LIB=/usr/lib
export FTGL_INC=/usr/include export FTGL_INC=/usr/include
setup : | setup : |
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch %patch -p1 < $pkgfiles/0001-Disabling-static-linux6-support.patch
build : | build : |
%make -j1 %make -j1
install : | install : |
@ -55,3 +59,7 @@ install : |
install -m00755 bin/Linux62_64/Lua53/* $installdir/usr/bin install -m00755 bin/Linux62_64/Lua53/* $installdir/usr/bin
install -dm00755 $installdir/usr/include install -dm00755 $installdir/usr/include
install -m00755 include/* $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

View File

@ -36,7 +36,7 @@ environment:
export IM_LIB=/usr/lib export IM_LIB=/usr/lib
export IM_INC=/usr/include export IM_INC=/usr/include
setup : | setup : |
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch %patch -p1 < $pkgfiles/0001-Linux6-support.patch
build : | build : |
%make -j1 %make -j1
install : | install : |