forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPortfile
More file actions
53 lines (40 loc) · 1.86 KB
/
Copy pathPortfile
File metadata and controls
53 lines (40 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup codeberg 1.0
PortGroup python 1.0
codeberg.setup mikf gallery-dl 1.32.5 v
categories net
maintainers {@akierig fastmail.de:akierig} openmaintainer
revision 0
checksums rmd160 4d1fd31ff26515055d42130d170f9ad69b14cd97 \
sha256 af994f7c677059578ef718697500d5b2778f4ecf6234575585adf4d997a3a304 \
size 1203668
description command-line program to download image galleries and \
collections from several image hosting sites
long_description ${name} is a {*}${description}. It is a cross-platform tool \
with many configuration options and powerful filenaming \
capabilities.
supported_archs noarch
platforms {darwin any}
license GPL-2
# python version should be kept in sync with yt-dlp
python.default_version \
314
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-brotli \
port:py${python.version}-requests \
port:py${python.version}-socks
default_variants +yt-dlp
variant ffmpeg description {Add ffmpeg dependency to enable Pixiv Ugoira to WebM conversion} {
PortGroup ffmpeg 1.0
ffmpeg.version 8
}
variant ytdlp description {Add yt-dlp dependency to enable video downloads} {
depends_run-append \
port:yt-dlp
}
post-destroot {
ln -s ${python.prefix}/share/man/man1/gallery-dl.1 ${destroot}${prefix}/share/man/man1/gallery-dl.1
ln -s ${python.prefix}/share/man/man5/gallery-dl.conf.5 ${destroot}${prefix}/share/man/man5/gallery-dl.conf.5
}