123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- 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"
- preBuildCommands "mkdir -p bin && git describe --tags > bin/githash.txt"
- stringImportPaths "bin"
- # OSX before POSIX because, while OSX is POSIX, we don't want to use GraphicsMagick
- # there. OSX will be the default for macOS while Q16 the default for other POSIX.
- configuration "macOS" {
- platforms "osx"
-
- dflags "-L-framework" "-LFoundation" \
- "-L-framework" "-LImageIO" platform="dmd"
- }
- # Q16 default as that's what I use. Feel free to change
- # this to suit yourself, just don't commit it.
- configuration "Q16" {
- platforms "posix"
-
- versions "GMagick_Static"
- libs "GraphicsMagick"
- subConfiguration "magickd:graphicsmagick_c" "Q16"
- dependency "magickd:graphicsmagick_c" \
- repository="git+https://repo.or.cz/magickd.git" \
- version="dd4985919d78d0cf37ab4b2ab99bb2ecec6aec15"
- }
- configuration "Q8" {
- platforms "posix"
- subConfiguration "magickd:graphicsmagick_c" "Q8"
-
- versions "GMagick_Static"
- libs "GraphicsMagick"
-
- dependency "magickd:graphicsmagick_c" \
- repository="git+https://repo.or.cz/magickd.git" \
- version="dd4985919d78d0cf37ab4b2ab99bb2ecec6aec15"
- }
- configuration "Q32" {
- platforms "posix"
- subConfiguration "magickd:graphicsmagick_c" "Q32"
-
- versions "GMagick_Static"
- libs "GraphicsMagick"
-
- dependency "magickd:graphicsmagick_c" \
- repository="git+https://repo.or.cz/magickd.git" \
- version="dd4985919d78d0cf37ab4b2ab99bb2ecec6aec15"
- }
- # 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"
- }
|