RetroShare/build_scripts/OBS/network:retroshare/retroshare-gui-unstable/appimage.yml

38 lines
1.5 KiB
YAML
Raw Normal View History

2019-02-11 08:54:33 -05:00
app: retroshare-gui-unstable
build:
packages:
- desktop-file-utils
- doxygen
- gcc5
- gcc5-c++
- glib2-devel
- libbz2-devel
- libqt5-qtbase-devel
- libqt5-qtmultimedia-devel
- libqt5-qttools-devel
- libqt5-qtsvg-devel
- libqt5-qtx11extras-devel
- libupnp-devel
- libxapian-devel
- libXScrnSaver-devel
- linuxdeployqt
- openssl-devel
- sqlcipher-devel
- update-desktop-files
script:
- cd $BUILD_SOURCE_DIR
- tar -xf RetroShare.tar.gz
- cd RetroShare
- gcc --version
- ls $(which gcc)*
- ls $(which g++)*
- sed -i 's/retroshare.xpm/retroshare/' data/retroshare.desktop
- sed -i 's|/usr/bin/retroshare|retroshare|' data/retroshare.desktop
- qmake-qt5 QMAKE_CC=gcc-5 QMAKE_CXX=g++-5 PREFIX=/usr $(build_scripts/OBS/get_source_version.sh) RS_MINI_VERSION=9999 CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_qml_app CONFIG+=no_retroshare_android_notify_service CONFIG+=no_retroshare_plugins CONFIG+=ipv6 CONFIG+=no_tests CONFIG+=rs_jsonapi CONFIG+=no_retroshare_android_service CONFIG+=rs_deep_search CONFIG+=no_libresapilocalserver CONFIG+=retroshare_gui CONFIG+=no_libresapihttpserver CONFIG+=no_retroshare_service CONFIG+=no_libresapi CONFIG+=c++11 CONFIG+=appimage
- make -j$(nproc) || make -j$(nproc) || make
- make INSTALL_ROOT=$BUILD_APPDIR install
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=3 -no-strip