mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-08-03 12:47:01 -04:00
update build system (#1350)
* Automate metainfo release tag. * Cosmetic changes
This commit is contained in:
parent
b6ce37457c
commit
e49d3d8844
36
.github/workflows/main.yml
vendored
36
.github/workflows/main.yml
vendored
@ -21,26 +21,22 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: Linux GCC,
|
||||
os: ubuntu-latest,
|
||||
compiler: gcc,
|
||||
shell: bash,
|
||||
}
|
||||
- {
|
||||
name: macOS Clang,
|
||||
os: macos-latest,
|
||||
compiler: clang,
|
||||
shell: bash,
|
||||
}
|
||||
- {
|
||||
name: MSYS2 UCRT64,
|
||||
os: windows-latest,
|
||||
compiler: gcc,
|
||||
shell: 'msys2 {0}',
|
||||
msystem: ucrt64,
|
||||
msys-env: mingw-w64-ucrt-x86_64,
|
||||
}
|
||||
- name: Linux GCC
|
||||
os: ubuntu-latest
|
||||
compiler: gcc
|
||||
shell: bash
|
||||
|
||||
- name: macOS Clang
|
||||
os: macos-latest
|
||||
compiler: clang
|
||||
shell: bash
|
||||
|
||||
- name: MSYS2 UCRT64
|
||||
os: windows-latest
|
||||
compiler: gcc
|
||||
shell: 'msys2 {0}'
|
||||
msystem: ucrt64
|
||||
msys-env: mingw-w64-ucrt-x86_64
|
||||
|
||||
steps:
|
||||
- name: Install dependencies (Linux)
|
||||
|
13
.github/workflows/win_msvc.yml
vendored
13
.github/workflows/win_msvc.yml
vendored
@ -23,14 +23,11 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: x64,
|
||||
arch: x64,
|
||||
}
|
||||
- {
|
||||
name: Win32,
|
||||
arch: x86,
|
||||
}
|
||||
- name: x64
|
||||
arch: x64
|
||||
|
||||
- name: Win32
|
||||
arch: x86
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -5,8 +5,7 @@ include(CheckSymbolExists)
|
||||
# Adds the cmake directory to the CMake include path.
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
# X_VCPKG_APPLOCAL_DEPS_INSTALL automatically installs dependencies. CMP0077
|
||||
# supress some arcane CMake warning.
|
||||
# X_VCPKG_APPLOCAL_DEPS_INSTALL automatically installs dependencies.
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
|
||||
|
||||
|
@ -1,6 +1,13 @@
|
||||
string(TIMESTAMP PROJECT_DATE "%Y-%m-%d")
|
||||
|
||||
configure_file(io.github.fabiangreffrath.woof.metainfo.in
|
||||
io.github.fabiangreffrath.woof.metainfo.xml
|
||||
ESCAPE_QUOTES @ONLY)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
install(FILES io.github.fabiangreffrath.woof.desktop DESTINATION share/applications)
|
||||
install(FILES io.github.fabiangreffrath.woof.metainfo.xml DESTINATION share/metainfo)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/io.github.fabiangreffrath.woof.metainfo.xml"
|
||||
DESTINATION share/metainfo)
|
||||
install(FILES io.github.fabiangreffrath.woof-setup.desktop DESTINATION share/applications)
|
||||
install(FILES woof.png DESTINATION share/icons/hicolor/128x128/apps)
|
||||
install(FILES woof-setup.png DESTINATION share/icons/hicolor/128x128/apps)
|
||||
|
@ -48,7 +48,6 @@
|
||||
<content_attribute id="social-chat">intense</content_attribute>
|
||||
</content_rating>
|
||||
<releases>
|
||||
<release version="12.0.0" date="2023-09-15"/>
|
||||
<release version="11.3.0" date="2023-07-06"/>
|
||||
<release version="@PROJECT_VERSION@" date="@PROJECT_DATE@"/>
|
||||
</releases>
|
||||
</component>
|
Loading…
x
Reference in New Issue
Block a user