blob: 6bd921791aa04e3a377429922a832a89059a0723 (
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
|
PORTNAME= gnome-pie
PORTVERSION= 0.7.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= nivit@FreeBSD.org
COMMENT= Circular application launcher
WWW= https://schneegans.github.io/gnome-pie.html
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libbamf3.so:sysutils/bamf \
libgee-0.8.so:devel/libgee \
libharfbuzz.so:print/harfbuzz \
libunique-1.0.so:x11-toolkits/unique
RUN_DEPENDS= gnome-settings-daemon>=2.32.1_4:sysutils/gnome-settings-daemon
USES= cmake desktop-file-utils gnome libarchive pkgconfig \
vala:build xorg
USE_GITHUB= yes
GH_ACCOUNT= Simmesimme
GH_PROJECT= Gnome-Pie
USE_GNOME= cairo gnomemenus3 gtk30 librsvg2 libwnck3 libxml2
USE_XORG= x11 xtst
SHEBANG_FILES= resources/locale/compile-po.sh
REINPLACE_ARGS= -i ''
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR}
OPTIONS_DEFINE= DOCS MANPAGES NLS
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
DOCS_CMAKE_BOOL= INSTALL_DOCS
MANPAGES_CMAKE_BOOL= INSTALL_MANPAGES
NLS_BUILD_DEPENDS= bash:shells/bash
NLS_USES= gettext shebangfix
NLS_CMAKE_BOOL= INSTALL_NLS
post-patch:
${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},1' \
-e 's,%%DESKTOPDIR%%,${DESKTOPDIR},1' \
-e 's,%%PREFIX%%,${PREFIX},1' \
${WRKSRC}/src/actions/actionRegistry.vala \
${WRKSRC}/src/gui/indicator.vala \
${WRKSRC}/src/utilities/paths.vala
post-build-NLS-on:
(cd ${WRKSRC}/resources/locale && ./compile-po.sh)
.include <bsd.port.mk>
|