This provides out-of-the-box cmake configuration for QtCreator
without having to manually specify the lrc path.
Change-Id: I3a8abbc2d0dd8062cecece166afbf09b91b52f59
Refactors audio settings to avoid list model code duplication. This code
could be greatly simplified by using string lists, however the combo-box
component design is highly dependent on QAbstractItemModel based models.
Also translates the handlebarred strings upon presentation, which is
currently used to translate the "Default" prefix for the first device
item.
Gitlab: #346
Change-Id: I5ed282d29cc4ec6a090a9cdf47b0459f0db2a99b
- correct translations (.qm) install path for cmake
- use JAMI_INSTALL_PREFIX to fetch translations
- create "share/ring/translations" inside build dir to store .qm files
Change-Id: I127cbad1d4b00a628d79e9654ed471f456a550e8
Adjust JAMI_DATA_PATH (and in turn JAMI_DATA_DIR) for snap after any
cmake 'install' command definitions that refer to it, so that the
version compiled into the package using target_compile_definitions
will have the right value for our snap package. With this particular
configuration, we don't have to check for JAMI_DATA_DIR during runtime
since it will have the right value set at build time, and the path it
points to (/snap/jami/current/...) is actually stable across updates,
so we don't have to worry about correcting the autostart desktop file
symlink after each upgrade.
Note: as the comments in CMakeLists.txt mention, it is crucial that
JAMI_DATA_PATH is only adjusted after all 'install' commands that
refer to it, because its snap-specific value isn't meant to be used
during build time as an install destination. Also, that the call to
target_compile_definitions must come after the JAMI_DATA_PATH change
described earlier.
Co-authored-by: ababi <albert.babi@savoirfairelinux.com>
Gitlab: #262
Change-Id: I07896be8195c336833bcd4a84b918276eddbe159
- avoid using fixed paths and find LRC either when globally installed or located in custom directory
- add installation rules for binaries, .desktop files, .appdata.xml, logo and doc
- add support for generating and copying runtime files (webresources and translations)
- add launcher script (client qt/gnome/kde selector)
- add uninstall support
- add missing sources (moderatorlistmodel)
- update README
Gitlab: #160, #230, #263, #264
Change-Id: I3fee77a917be038072a20c7f99b510f9a8bf65b4
- add Ubuntu 20.10 Dockerfile to build with cqfd
- set symlink to Ubuntu 20.10 Dockerfile instead of Debian 11
- fix packages on Debian Dockerfile
- add subdirectory tests and dummy_test to CMakeLists.txt
Change-Id: I13d21e2b9e53d456ec1d7a53962860912397d9c7
- add QtQuickTest, QtTest and googletest support
- create tests folder within cmake hierarchy
- avoid using wildcards in Dockerfile
Change-Id: I81661a86757f01333538908dbc81a0bafae00ab7