bd31b9ec72
Noteable exiv2 port changes: - Switch to cmake and enable i18n support - Change COMMENT and cleanup DESCR - Switch to https - Don't provide the new Exiv2::getProcessPath() function. Not portable, doesn't work on OpenBSD, and shouldn't be exposed in the API of a graphics library. Instead, define a macro with CMake to help runtime find gettext files. from jca@'s commit https://v4.freshbsd.org/commit/openbsd/ports/fHGCS7kzl4zKjdnW - All consumer fixed. configure checks, port-lib-depends-checks checks and also some run-time tests with krita, digikam, nomacs. Consumer patches from upstream, gentoo, freebsd and by me for the old creepy KDE4 stuff. This went through a full amd64 bulk build. Thanks jj
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.35 2020/05/14 19:16:25 rsadowski Exp $
|
|
|
|
COMMENT = tool for working with RAW images
|
|
|
|
DISTNAME = rawstudio-1.2
|
|
REVISION = 22
|
|
|
|
CATEGORIES = graphics
|
|
|
|
HOMEPAGE = https://rawstudio.org/
|
|
MASTER_SITES = ${HOMEPAGE}files/release/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1
|
|
WANTLIB += exiv2 fontconfig freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
|
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
|
|
WANTLIB += intl jpeg lcms m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += tiff xml2 z
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
LIB_DEPENDS += graphics/exiv2 \
|
|
graphics/lcms \
|
|
devel/gconf2 \
|
|
devel/gettext,-runtime \
|
|
x11/dbus \
|
|
x11/gtk+2
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk-engines2
|
|
|
|
NO_TEST = Yes
|
|
|
|
# PIE doesn't leave sufficient registers
|
|
.if ${MACHINE_ARCH:Mi386}
|
|
CFLAGS += -fomit-frame-pointer
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|