File appimage.yml of Package Irssi
#
# This is an example template how to build an AppImage in Open Build Service (OBS)
#
# xterm is most simple example
app: irssi
# resources required at build time
build:
# packages which get installed in the build enviroment.
# These are NOT part of the resulting image.
packages:
- linuxdeployqt # required tooling, see script section
- irssi
# resources which will become available as part of the source.
# The "appimage" source service needs to be enabled to process these.
# git:
# - https://github.com/oluc/leafpad.git
# hg:
# - ....
# svn:
# - ....
#
# files:
# - http://myserver.org/myfile
# OPTIONAL: ingredient packages are packages which become part of the AppImage.
# you may want to remove parts of their content in script section.
ingredients:
packages:
- libperl5.34
- libc6
script:
- ls
- cat > irssi.desktop <<\EOF
- [Desktop Entry]
- Type=Application
- Name=Irssi
- Exec=irssi
- Icon=irssi
- Terminal=true
- Categories=Network;
- EOF
- wget -c https://img.lovepik.com/png/20231108/black-and-white-graphic-of-a-fire-outline-sketch-drawing_528706_wh860.png -O irssi.png
- mkdir -p usr/share/icons/hicolor/256x256/apps/
- cp irssi.png usr/share/icons/hicolor/256x256/apps/irssi.png
# create the image file
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- linuxdeployqt $BUILD_APPDIR/irssi.desktop -bundle-non-qt-libs
- find $BUILD_APPDIR/