freebsd-ports/archivers/file-roller/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00

71 lines
1.7 KiB
Makefile

PORTNAME= file-roller
PORTVERSION= 3.42.0
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= archivers gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Archive manager for zip files, tar, etc
WWW= https://wiki.gnome.org/Apps/FileRoller
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: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>