Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Nov 21, 2024
1 parent 12bc6a1 commit 9a86a9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-xmake-fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
sudo dnf update -y
sudo dnf install -y git xmake unzip gcc g++ curl-devel libgit2-devel fontconfig-devel \
qt6-qtbase-devel qt6-qtsvg-devel mimalloc-devel
qt6-qtbase-devel qt6-qtsvg-devel mimalloc-devel libpng-devel
- uses: actions/checkout@v3
with:
fetch-depth: 1
Expand Down
3 changes: 3 additions & 0 deletions xmake/packages.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ function add_requires_of_mogan()
elseif is_plat("linux") and using_pacman () then
add_requires("pacman::libpng", {alias="libpng"})
add_requireconfs("pdfhummus.libpng", {system = true, override=true})
elseif is_plat("linux") and linuxos.name() == "fedora" then
add_requires("pkgconfig::libpng", {alias="libpng"})
add_requireconfs("pdfhummus.libpng", {system = true, override=true})
else
add_requireconfs("pdfhummus.libpng", {version = LIBPNG_VERSION, system = false, override=true})
end
Expand Down

0 comments on commit 9a86a9d

Please sign in to comment.