some existing COMPILER lines with arch restrictions etc. In the usual case this is now using "COMPILER = base-clang ports-gcc base-gcc" on ports with c++ libraries in WANTLIB. This is basically intended to be a noop on architectures using clang as the system compiler, but help with other architectures where we currently have many ports knocked out due to building with an unsuitable compiler - - some ports require c++11/newer so the GCC version in base that is used on these archirtectures is too old. - some ports have conflicts where an executable is built with one compiler (e.g. gcc from base) but a library dependency is built with a different one (e.g. gcc from ports), resulted in mixing incompatible libraries in the same address space. devel/gmp is intentionally skipped as it's on the path to building gcc - the c++ library there is unused in ports (and not built by default upstream) so intending to disable building gmpcxx in a future commit.
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.52 2018/10/24 14:28:05 sthen Exp $
|
|
|
|
COMMENT = Amide a Medical Imaging Data Examiner
|
|
|
|
DISTNAME = amide-1.0.5
|
|
CATEGORIES = graphics
|
|
REVISION = 9
|
|
|
|
HOMEPAGE = http://amide.sourceforge.net/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2
|
|
WANTLIB += atk-1.0 avcodec avutil c cairo expat fontconfig
|
|
WANTLIB += freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnomecanvas-2 gobject-2.0
|
|
WANTLIB += gsl gslcblas gsm gthread-2.0 gtk-x11-2.0 iconv intl m mdc mp3lame
|
|
WANTLIB += ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
|
|
WANTLIB += pixman-1 png pthread speex ${COMPILER_LIBCXX} vorbis
|
|
WANTLIB += vorbisenc vpx x264 xcb xcb-render xcb-shm xml2 z
|
|
WANTLIB += dbus-1 dbus-glib-1 ffi graphite2 opus
|
|
WANTLIB += harfbuzz xvidcore lzma swresample x265
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=amide/}
|
|
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
MODULES = textproc/intltool \
|
|
x11/gnome
|
|
|
|
MODGNOME_TOOLS += desktop-file-utils yelp
|
|
|
|
BUILD_DEPENDS = devel/m4
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
LIB_DEPENDS = devel/gsl>=1.6 \
|
|
x11/gnome/libgnomecanvas \
|
|
graphics/xmedcon \
|
|
graphics/ffmpeg>=20121026 \
|
|
devel/gconf2
|
|
|
|
AUTOCONF_VERSION = 2.69
|
|
CONFIGURE_STYLE = autoconf
|
|
CONFIGURE_ENV = XMEDCON_CONFIG="${LOCALBASE}/bin/xmedcon-config"
|
|
CONFIGURE_ARGS += --disable-xmedcontest \
|
|
--disable-libfame \
|
|
--disable-libdcmdata \
|
|
--enable-ffmpeg
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|