9015b31199
Poudriere reports two linked libraries missing from file-roller dependencies. The one on libhandy causes it to fail to build when the NAUTILUS option is disabled. The libhandy library happens to be already installed by nautilus when that is present as a dependency, but the port fails to find it when nautilus and its dependencies are not already present in the system or poudriere jail at build time. Reported by: poudriere QA testing Approved by: portmgr (fixit blanket)
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
# Created by: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
PORTNAME= file-roller
|
|
PORTVERSION= 3.42.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= archivers gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Archive manager for zip files, tar, etc
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= itstool:textproc/itstool
|
|
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
|
|
libnotify.so:devel/libnotify \
|
|
libhandy-1.so:x11-toolkits/libhandy
|
|
RUN_DEPENDS= gtar:archivers/gtar
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= cpe desktop-file-utils gettext gnome libarchive localbase \
|
|
meson pkgconfig python:3.5+,build tar:xz
|
|
USE_GNOME= cairo gdkpixbuf2 gtk30
|
|
USE_LDCONFIG= yes
|
|
MESON_ARGS= -Dpackagekit=false
|
|
BINARY_ALIAS= python3=${PYTHON_VERSION}
|
|
CPE_VENDOR= gnome
|
|
|
|
GLIB_SCHEMAS= org.gnome.FileRoller.gschema.xml
|
|
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFINE= NAUTILUS
|
|
OPTIONS_DEFAULT=NAUTILUS
|
|
|
|
OPTIONS_GROUP= FORMATS
|
|
OPTIONS_GROUP_FORMATS= 7ZIP ARJ LZO RAR ZIP
|
|
|
|
FORMATS_DESC= Additional compression formats support
|
|
|
|
7ZIP_DESC= 7zip archive support
|
|
7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip
|
|
|
|
ARJ_DESC= ARJ archive support
|
|
ARJ_RUN_DEPENDS= arj:archivers/arj
|
|
|
|
LZO_RUN_DEPENDS= lzop:archivers/lzop
|
|
|
|
RAR_DESC= RAR archive support
|
|
RAR_RUN_DEPENDS= rar:archivers/rar \
|
|
unrar:archivers/unrar
|
|
|
|
ZIP_DESC= ZIP archive support
|
|
ZIP_RUN_DEPENDS= zip:archivers/zip
|
|
|
|
NAUTILUS_DESC= Nautilus context menu actions
|
|
NAUTILUS_USE= GNOME=nautilus3
|
|
NAUTILUS_MESON_ENABLED= nautilus-actions
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${WRKSRC}/src/fr-command-tar.c \
|
|
${WRKSRC}/src/fr-command-zip.c
|
|
@${REINPLACE_CMD} -e 's|"7z"|"7zz"|g' \
|
|
${WRKSRC}/src/fr-archive-libarchive.c \
|
|
${WRKSRC}/src/fr-command-7z.c \
|
|
${WRKSRC}/src/fr-command-tar.c
|
|
|
|
.include <bsd.port.mk>
|