freebsd-ports/audio/guitarix-lv2/Makefile
Jan Beich 065337fac4 audio/guitarix-lv2: builds fine on arm*
SSE-related error was probably a drive-by from powerpc64 but
confirming is hard as I can't find package cluster logs from just a
year ago. Even 0.37.1 builds fine on armv6 using current dependencies.
Looking at pkg-fallout@ archive only BROKEN_aarch64 made sense:

/usr/bin/ld: error: ../src/gx_head/guitarix.lds:2: ; expected, but got +SIZEOF
/usr/bin/ld: error: ../src/gx_head/guitarix.lds:2: __rt_text__end = ADDR(.rt.text)+SIZEOF(.rt.text);
/usr/bin/ld: error: ../src/gx_head/guitarix.lds:2:                                ^
c++: error: linker command failed with exit code 1 (use -v to see invocation)
2019-06-21 14:49:30 +00:00

58 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= guitarix
DISTVERSION= 0.38.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
PKGNAMESUFFIX= -lv2
DISTNAME= ${PORTNAME}2-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Virtual versatile amplification for Jack and set of LV2 plugins
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2 \
${LOCALBASE}/include/fftw3.h:math/fftw3 \
roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \
ladspa>0:audio/ladspa # https://sourceforge.net/p/guitarix/bugs/61/
LIB_DEPENDS= libavahi-common.so:net/avahi-app \
libboost_system.so:devel/boost-libs \
libcurl.so:ftp/curl \
libfftw3f.so:math/fftw3-float \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libjack.so:audio/jack \
liblilv-0.so:audio/lilv \
liblrdf.so:textproc/liblrdf \
libserd-0.so:devel/serd \
libsndfile.so:audio/libsndfile \
libsord-0.so:devel/sord \
libsratom-0.so:audio/sratom \
libzita-convolver.so:audio/zita-convolver \
libzita-resampler.so:audio/zita-resampler
RUN_DEPENDS= roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf
USES= compiler:c++11-lang eigen:3 gnome libarchive localbase:ldflags \
pkgconfig python:2.7,build readline waf tar:xz
USE_GNOME= atkmm cairo gtk20 gtkmm24 pangomm
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --enable-lfs --ldflags="${LDFLAGS}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
BINARY_ALIAS= python=${PYTHON_CMD}
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_USE= GNOME=intltool
post-stage: # https://sourceforge.net/p/guitarix/bugs/60/
@${RM} -r ${STAGEDIR}/applications
.include <bsd.port.mk>