/
Portfile
77 lines (65 loc) · 2.6 KB
/
Portfile
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# -*- 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 active_variants 1.1
PortGroup debug 1.0
PortGroup app 1.0
name garagejam
version 1.0.0
revision 0
categories gnome
license GPL-3+
maintainers {gnome.org:ole @oleaamot} openmaintainer
description Garagejam is Free Music Recording Studio Software for GNOME
long_description {*}${description} \
Free Music Recording Studio recordings via api.gingerblue.org
homepage https://www.garagejam.org/
set branch [join [lrange [split $version .] 0 1] .]
master_sites https://www.garagejam.org/src/
use_xz yes
checksums rmd160 cdef6e30752626e41611a94bfc39e7cb31647de9 \
sha256 b7008972b167df451b6db9b4cf39b0576d70631f14563b70405cf8f113ed98af \
size 124616
depends_build-append \
port:gettext \
port:intltool \
port:pkgconfig
depends_lib-append \
path:lib/pkgconfig/cairo.pc:cairo \
port:clutter-gtk \
port:cogl \
port:desktop-file-utils \
port:geoclue2 \
port:geocode-glib \
port:gettext-runtime \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gnome-common \
port:gstreamer1 \
port:gstreamer1-gst-plugins-base \
port:gstreamer1-gst-plugins-bad \
port:gstreamer1-gst-plugins-good \
port:gstreamer1-gst-plugins-ugly \
path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
port:json-glib \
port:libchamplain \
port:libxml2 \
path:lib/pkgconfig/pango.pc:pango
depends_run-append \
port:adwaita-icon-theme
app.name GarageJam
app.icon ${worksrcpath}/data/icons/garagejam.svg
variant quartz conflicts x11 {
require_active_variants gtk3 quartz x11
}
variant x11 conflicts quartz {
require_active_variants gtk3 x11 quartz
}
if {![variant_isset quartz]} {
default_variants +x11
}
if {![variant_isset x11]} {
default_variants +quartz
}
if {![variant_isset quartz] && ![variant_isset x11]} {
error "Either +x11 or +quartz is required"
}