aboutsummaryrefslogtreecommitdiff
path: root/x11/sirula/Makefile
blob: 5c93e176bc7a52095d84a6eabec295bde8e85b18 (plain) (blame)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
PORTNAME=	sirula
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
PORTREVISION=	6
CATEGORIES=	x11 wayland

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Simple app launcher for Wayland written in Rust

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell

USES=		cargo gnome
USE_GITHUB=	yes
USE_GNOME=	cairo gdkpixbuf2 gtk30
GH_ACCOUNT=	DorianRudolph
PLIST_FILES=	bin/${PORTNAME}

CARGO_CRATES=	aho-corasick-0.7.18 \
		anyhow-1.0.44 \
		arrayref-0.3.6 \
		arrayvec-0.5.2 \
		atk-0.14.0 \
		atk-sys-0.14.0 \
		autocfg-1.0.1 \
		base64-0.13.0 \
		bitflags-1.3.2 \
		bitvec-0.19.5 \
		blake2b_simd-0.5.11 \
		cairo-rs-0.14.7 \
		cairo-sys-rs-0.14.0 \
		cfg-expr-0.8.1 \
		cfg-if-1.0.0 \
		constant_time_eq-0.1.5 \
		crossbeam-utils-0.8.5 \
		dirs-1.0.5 \
		either-1.6.1 \
		field-offset-0.3.4 \
		freedesktop_entry_parser-1.2.0 \
		funty-1.1.0 \
		futures-0.3.17 \
		futures-channel-0.3.17 \
		futures-core-0.3.17 \
		futures-executor-0.3.17 \
		futures-io-0.3.17 \
		futures-macro-0.3.17 \
		futures-sink-0.3.17 \
		futures-task-0.3.17 \
		futures-util-0.3.17 \
		fuzzy-matcher-0.3.7 \
		gdk-0.14.3 \
		gdk-pixbuf-0.14.0 \
		gdk-pixbuf-sys-0.14.0 \
		gdk-sys-0.14.0 \
		getrandom-0.1.16 \
		gio-0.14.8 \
		gio-sys-0.14.0 \
		glib-0.14.8 \
		glib-macros-0.14.1 \
		glib-sys-0.14.0 \
		gobject-sys-0.14.0 \
		gtk-0.14.3 \
		gtk-layer-shell-0.2.2 \
		gtk-layer-shell-sys-0.2.3 \
		gtk-sys-0.14.0 \
		gtk3-macros-0.14.0 \
		heck-0.3.3 \
		itertools-0.8.2 \
		itertools-0.10.1 \
		lazy_static-1.4.0 \
		lexical-core-0.7.6 \
		libc-0.2.103 \
		locale-types-0.4.0 \
		memchr-2.4.1 \
		memoffset-0.6.4 \
		nom-6.1.2 \
		once_cell-1.8.0 \
		osstrtools-0.2.2 \
		pango-0.14.8 \
		pango-sys-0.14.0 \
		pest-2.1.3 \
		pin-project-lite-0.2.7 \
		pin-utils-0.1.0 \
		pkg-config-0.3.20 \
		proc-macro-crate-1.1.0 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro-hack-0.5.19 \
		proc-macro-nested-0.1.7 \
		proc-macro2-1.0.29 \
		quote-1.0.10 \
		radium-0.5.3 \
		redox_syscall-0.1.57 \
		redox_users-0.3.5 \
		regex-1.5.4 \
		regex-syntax-0.6.25 \
		rust-argon2-0.8.3 \
		rustc_version-0.3.3 \
		ryu-1.0.5 \
		semver-0.11.0 \
		semver-parser-0.10.2 \
		serde-1.0.130 \
		serde_derive-1.0.130 \
		slab-0.4.4 \
		smallvec-1.7.0 \
		static_assertions-1.1.0 \
		strum-0.21.0 \
		strum_macros-0.21.1 \
		syn-1.0.80 \
		system-deps-3.2.0 \
		tap-1.0.1 \
		thiserror-1.0.30 \
		thiserror-impl-1.0.30 \
		thread_local-1.1.3 \
		toml-0.5.8 \
		ucd-trie-0.1.3 \
		unicode-segmentation-1.8.0 \
		unicode-xid-0.2.2 \
		version-compare-0.0.11 \
		version_check-0.9.3 \
		wasi-0.9.0+wasi-snapshot-preview1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		wyz-0.2.0 \
		xdg-2.3.0

post-patch:
# Respect PREFIX for system config
	@${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \
		-e 's,/etc,${PREFIX}&,' \
		${WRKSRC}/cargo-crates/xdg-*/src/lib.rs

.include <bsd.port.mk>