1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- name "pixiv_down"
- description "A CLI tool to download from pixiv.net"
- authors "mio <stigma@disroot.org>"
- copyright "Copyright (C) 2023-2024, mio"
- homepage "https://yume-neru.neocities.org/p/pixiv_down.html"
- license "GPL-3.0-only"
- targetType "executable"
- targetPath "source"
- preBuildCommands "$DUB --single update_git_version.d -- source/pd_version.d.in source/pd_version.d"
- configuration "macOS" {
- platforms "osx"
-
- dflags "-L-framework" "-LFoundation" \
- "-L-framework" "-LImageIO" platform="dmd"
- }
- configuration "magick" {
- platforms "posix"
- versions "PD_USE_MAGICK"
- }
- // Compatibility names for when we were statically linking with GraphicsMagick
- configuration "Q16" {
- platforms "posix"
- versions "PD_USE_MAGICK"
- }
- configuration "Q8" {
- platforms "posix"
- versions "PD_USE_MAGICK"
- }
- configuration "Q32" {
- platforms "posix"
- versions "PD_USE_MAGICK"
- }
- # NOTE: Building with gamut doesn't support GIFs (Ugoira)
- # SEE: https://codeberg.org/supercell/pixiv_down/issues/25
- configuration "gamut" {
- versions "PD_USE_GAMUT"
- dependency "gamut" version="~>2.5.0"
- excludedSourceFiles "source/gif_writer/posix.d" \
- "source/gif_writer/gif_writer/osx.d" \
- "source/gif_writer/common.d" \
- "source/gif_writer/package.d" \
- "source/image_reader/osx.d" \
- "source/image_reader/posix.d" \
- "source/image_reader/package.d"
- }
|