aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/eog/Makefile
blob: a0c730da86b3a6edd6ed505b203bc0ae97299ffa (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   eog
PORTVERSION=    3.28.4
PORTREVISION=   2
CATEGORIES= graphics gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Eye Of Gnome image viewer

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  itstool:textproc/itstool \
        gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
LIB_DEPENDS=    libpeas-gtk-1.0.so:devel/libpeas \
        liblcms2.so:graphics/lcms2
RUN_DEPENDS=    gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas

PORTSCOUT=  limitw:1,even

USES=       compiler:c++11-lang desktop-file-utils gettext gnome jpeg \
        localbase meson pkgconfig python:build,3.4+ shebangfix tar:xz \
        xorg
USE_GNOME=  cairo librsvg2 gtk30 gnomedesktop3 introspection
USE_XORG=   x11
INSTALLS_ICONS= yes
SHEBANG_FILES=  ${WRKSRC}/meson_post_install.py

GLIB_SCHEMAS=   org.gnome.eog.enums.xml \
        org.gnome.eog.gschema.xml

PLIST_SUB+= VERSION=3.0

OPTIONS_SUB=    yes
OPTIONS_DEFINE= EXIF EXEMPI
OPTIONS_DEFAULT=EXIF EXEMPI

EXIF_DESC=  Digital camera file meta-data support
EXIF_MESON_TRUE=    libexif
EXIF_LIB_DEPENDS=   libexif.so:graphics/libexif

EXEMPI_DESC=    XMP support
EXEMPI_MESON_TRUE=  xmp
EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEXIF} != "" || ${PORT_OPTIONS:MEXEMPI} != ""
PLIST_SUB+= EXIFEXEMPI=""
.else
PLIST_SUB+= EXIFEXEMPI="@comment "
.endif

.include <bsd.port.mk>