Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Create the AppImage
AppImage:
name: Create the AppImage
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install the AppImage bundler and Performous deps
id: fetch_deps
Expand All @@ -26,11 +26,11 @@ jobs:
chmod +x appimage-builder-x86_64.AppImage
sudo mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder
sudo apt update
sudo apt-get install -y --no-install-recommends git cmake build-essential gettext help2man libavcodec-dev libavformat-dev libswscale-dev qtbase5-dev qtmultimedia5-dev ca-certificates file
sudo apt-get install -y --no-install-recommends git cmake build-essential gettext help2man libavcodec-dev libavformat-dev libswscale-dev qtbase5-dev qtmultimedia5-dev ca-certificates file libfuse2

- name: Checkout Git
id: checkout_git
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build the AppImage
id: build_appimage
Expand All @@ -52,7 +52,7 @@ jobs:

# Upload artifacts during pull-requests
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'pull_request' }}
with:
name: ${{ env.ARTIFACT_NAME }}
Expand All @@ -61,7 +61,7 @@ jobs:
# Upload artifacts on master
- name: Upload artifact with unified name
if: ${{ github.ref == 'refs/heads/master' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.MASTER_ARTIFACT_NAME }}
path: ${{ env.MASTER_ARTIFACT_PATH }}
Expand Down
34 changes: 19 additions & 15 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -55,18 +55,22 @@ jobs:
version: 20.04
- os: ubuntu
version: 22.04
- os: ubuntu
version: 24.04
- os: debian
version: 10
- os: debian
version: 11
version: 12
- os: fedora
version: 36
- os: fedora
version: 37
- os: fedora
version: 34
version: 38
- os: fedora
version: 35
## FFMPEG5 causes issues
## See https://github.com/performous/composer/issues/45
#- os: fedora
# version: 36
version: 39
- os: fedora
version: 40
- os: fedora
version: 41
steps:
- name: Container name
run: |
Expand All @@ -75,10 +79,10 @@ jobs:
echo "CONTAINER_NAME=${BUILD_CONTAINER}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to the container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.REPO_NAME }}
Expand Down Expand Up @@ -129,7 +133,7 @@ jobs:

# Upload artifacts during pull-requests
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'pull_request' }}
with:
name: ${{ env.ARTIFACT_NAME }}
Expand All @@ -138,7 +142,7 @@ jobs:
# Upload artifacts on master
- name: Upload artifact with unified name
if: ${{ github.ref == 'refs/heads/master' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.MASTER_ARTIFACT_NAME }}
path: ${{ env.MASTER_ARTIFACT_PATH }}
Expand All @@ -157,7 +161,7 @@ jobs:
asset_content_type: application/octet-stream

- name: Push container
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
# Containers can't be pushed during PRs because of the way permissions
# are delegated to secrets.GITHUB_TOKEN
if: ${{ needs.determine_docker_build.outputs.build_docker_containers == 'true' && github.event_name != 'pull_request' }}
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
cmake_policy(VERSION 3.10)
project("Composer" CXX C)
cmake_minimum_required(VERSION 3.0)
cmake_policy(VERSION 3.0)
set(PROJECT_VERSION "2.0.1")
set(BUILD_SHARED_LIBS OFF)
#FIXME: Changes in version number or project name must manually also be put to:
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ Latest builds
==========
- [Linux - Ubuntu 20.04](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-ubuntu_20.04.deb.zip)
- [Linux - Ubuntu 22.04](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-ubuntu_22.04.deb.zip)
- [Linux - Debian 10](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-debian_10.deb.zip)
- [Linux - Debian 11](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-debian_11.deb.zip)
- [Linux - Fedora 34](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_34.rpm.zip)
- [Linux - Fedora 35](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_35.rpm.zip)
- [Linux - Ubuntu 24.04](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-ubuntu_24.04.deb.zip)
- [Linux - Debian 12](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-debian_12.deb.zip)
- [Linux - Fedora 36](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_36.rpm.zip)
- [Linux - Fedora 37](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_37.rpm.zip)
- [Linux - Fedora 38](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_38.rpm.zip)
- [Linux - Fedora 39](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_39.rpm.zip)
- [Linux - Fedora 40](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_40.rpm.zip)
- [Linux - Fedora 41](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest-fedora_41.rpm.zip)
- [Linux - AppImage](https://nightly.link/performous/composer/workflows/build_and_release/master/Composer-latest.AppImage.zip)

Build & Install
Expand Down
8 changes: 4 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0)
cmake_policy(VERSION 3.0)
cmake_minimum_required(VERSION 3.10)
cmake_policy(VERSION 3.10)

set(EXENAME ${CMAKE_PROJECT_NAME})
set(CMAKE_AUTOMOC FALSE)
Expand Down Expand Up @@ -40,8 +40,8 @@ target_sources(${EXENAME} PRIVATE ${HEADER_FILES} ${SOURCE_FILES} ${MOC_SOURCES}
# Generate config.hh
configure_file(config.cmake.hh "${CMAKE_BINARY_DIR}/src/config.hh" @ONLY)

include_directories(${CMAKE_BINARY_DIR}/src)
include_directories(${CMAKE_SOURCE_DIR}/src)
target_include_directories(${EXENAME} PRIVATE ${CMAKE_BINARY_DIR}/src)
target_include_directories(${EXENAME} PRIVATE ${CMAKE_SOURCE_DIR}/src)

# We don't currently have any assets, so on Windows, we just install to the root installation folder
if(UNIX)
Expand Down
2 changes: 2 additions & 0 deletions src/config.cmake.hh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@

// FFMPEG libraries use changing include file names... Get them from CMake.
#define AVCODEC_INCLUDE <@AVCodec_INCLUDE@>
#define AVCODEC_CODEC_PAR_INCLUDE <libavcodec/codec_par.h>
#define AVFORMAT_INCLUDE <@AVFormat_INCLUDE@>
#define SWRESAMPLE_INCLUDE <@SWResample_INCLUDE@>
#define SWSCALE_INCLUDE <@SWScale_INCLUDE@>
#define AVUTIL_INCLUDE <@AVUtil_INCLUDE@>
#define AVUTIL_OPT_INCLUDE <libavutil/opt.h> //HACK to get AVOption class!
#define AVUTIL_MATH_INCLUDE <libavutil/mathematics.h>
#define AVUTIL_ERROR_INCLUDE <libavutil/error.h>

#endif
Loading