File appimage.yml of Package ember

app: ember
binpatch: true

# resources required at build time
build:
# packages which get installed in the build enviroment. Not part of the resulting image.
# Due to a bug in the OBS AppImage service we must put something here, even if it's not used.
  packages:
    - bash

# OPTIONAL: ingredient packages are packages which become part of the AppImage. 
ingredients:
  packages:
    - ember
    - liblua5_3

# OPTIONAL: compile or modify the AppDir. The environment variables:
#           - $BUILD_SOURCE_DIR point to the source directory
#           - $BUILD_APPDIR point to the AppDir. This directory will become the content of the AppImage
#Some libs needs to be copied for some strange reason
script:
  - rm -rf $BUILD_APPDIR/lib64
  - rm -rf $BUILD_APPDIR/var
  - rm -rf $BUILD_APPDIR/usr/lib64/dri
  - rm -rf $BUILD_APPDIR/usr/lib64/pulseaudio
  - rm -rf $BUILD_APPDIR/usr/lib
  - rm -rf $BUILD_APPDIR/usr/include
  - rm $BUILD_APPDIR/usr/bin/fribidi
  - rm $BUILD_APPDIR/usr/bin/wfut
  - rm $BUILD_APPDIR/usr/lib64/libCEGUICommonDialogs*
  - rm $BUILD_APPDIR/usr/lib64/libCEGUINullRenderer-0*
  - rm $BUILD_APPDIR/usr/lib64/OGRE/RenderSystem_GL.so*
  - rm $BUILD_APPDIR/usr/lib64/OGRE/Plugin_BSPSceneManager.so*
  - rm $BUILD_APPDIR/usr/lib64/OGRE/Plugin_OctreeSceneManager.so*
  - rm $BUILD_APPDIR/usr/lib64/OGRE/Plugin_OctreeZone.so*
  - rm $BUILD_APPDIR/usr/lib64/OGRE/Plugin_PCZSceneManager.so*
  - rm $BUILD_APPDIR/usr/lib64/libform.so*
  - rm $BUILD_APPDIR/usr/lib64/libformw.so*
  - rm $BUILD_APPDIR/usr/lib64/libzzipfseeko-0.so*
  - rm $BUILD_APPDIR/usr/lib64/libzzipmmapped-0.so*
  - rm $BUILD_APPDIR/usr/lib64/libzzipwrap-0.so*
  - cp $BUILD_APPDIR/usr/share/applications/org.worldforge.ember.desktop $BUILD_APPDIR
  - cp $BUILD_APPDIR/usr/share/icons/hicolor/64x64/apps/ember.png $BUILD_APPDIR
  - cp /usr/lib64/libwebp.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/liblua.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libpcre.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libasound.so.* $BUILD_APPDIR/usr/lib64/
  - cp /lib64/libcrypto.so.* $BUILD_APPDIR/usr/lib64/
  - cp /lib64/libssl.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libidn.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libkrb5.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libexpat.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libgssapi_krb5.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libk5crypto.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libkrb5support.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libgomp.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libgcrypt.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libstdc++.so.* $BUILD_APPDIR/usr/lib64/
  - cp /lib64/libgcc_s.so.1 $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libbz2.so.* $BUILD_APPDIR/usr/lib64/
  - cp /lib64/libz.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/liblzma.so.* $BUILD_APPDIR/usr/lib64/
  - cp /usr/lib64/libuuid.so.* $BUILD_APPDIR/usr/lib64/
  - cp /lib64/libkeyutils.so.* $BUILD_APPDIR/usr/lib64/
openSUSE Build Service is sponsored by