diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2014-09-27 14:51:00 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2014-09-27 14:51:00 +0000 |
commit | c2eb6d4e76a24b589e6c21016dd170d2a77f486e (patch) | |
tree | df27264ec82956a717d34502e28b2d8309083195 /media-radio | |
parent | Version bump. Removed old (diff) | |
download | gentoo-2-c2eb6d4e76a24b589e6c21016dd170d2a77f486e.tar.gz gentoo-2-c2eb6d4e76a24b589e6c21016dd170d2a77f486e.tar.bz2 gentoo-2-c2eb6d4e76a24b589e6c21016dd170d2a77f486e.zip |
Version bump
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/xastir/ChangeLog | 7 | ||||
-rw-r--r-- | media-radio/xastir/xastir-2.0.6.ebuild | 85 |
2 files changed, 91 insertions, 1 deletions
diff --git a/media-radio/xastir/ChangeLog b/media-radio/xastir/ChangeLog index 2d103a12aeba..c370f9deaa6b 100644 --- a/media-radio/xastir/ChangeLog +++ b/media-radio/xastir/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-radio/xastir # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/ChangeLog,v 1.38 2014/09/27 12:01:19 tomjbe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/ChangeLog,v 1.39 2014/09/27 14:51:00 tomjbe Exp $ + +*xastir-2.0.6 (27 Sep 2014) + + 27 Sep 2014; Thomas Beierlein <tomjbe@gentoo.org> +xastir-2.0.6.ebuild: + Version bump 27 Sep 2014; Thomas Beierlein <tomjbe@gentoo.org> xastir-2.0.4.ebuild: Fix search path for GraphicsMagick during econf diff --git a/media-radio/xastir/xastir-2.0.6.ebuild b/media-radio/xastir/xastir-2.0.6.ebuild new file mode 100644 index 000000000000..c71da68e0578 --- /dev/null +++ b/media-radio/xastir/xastir-2.0.6.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/xastir-2.0.6.ebuild,v 1.1 2014/09/27 14:51:00 tomjbe Exp $ + +EAPI=5 +inherit autotools eutils flag-o-matic toolchain-funcs + +DESCRIPTION="X Amateur Station Tracking and Information Reporting" +HOMEPAGE="http://xastir.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="festival gdal geotiff graphicsmagick" + +DEPEND=">=x11-libs/motif-2.3:0 + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXpm + x11-apps/xfontsel + dev-libs/libpcre + net-misc/curl + sys-libs/db + sci-libs/shapelib + !graphicsmagick? ( media-gfx/imagemagick[-hdri,-q32] ) + graphicsmagick? ( media-gfx/graphicsmagick[-q32] ) + geotiff? ( sci-libs/proj + sci-libs/libgeotiff + media-libs/tiff ) + gdal? ( sci-libs/gdal ) + festival? ( app-accessibility/festival )" +RDEPEND="${DEPEND}" + +src_prepare() { + # fix script location (bug #407185) + epatch "${FILESDIR}"/${PN}-2.0.4-scripts.diff + + # fix __FORTIFY_SOURCE warning (bug #337365) + epatch "${FILESDIR}"/${PN}-2.0.4-fortify.diff + + # do not use builtin shapelib if sci-libs/shapelib is not installed + # instead build without shapelib support (bug #430704) + epatch "${FILESDIR}"/${PN}-2.0.4-no-builtin-shapelib.diff + + # do not filter duplicate flags (see bug 411095) + epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff + + eautoreconf +} + +src_configure() { + # provide include path to GraphicsMagic for configure stage + use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick + econf --with-pcre \ + --with-shapelib \ + --with-dbfawk \ + --without-ax25 \ + --without-gpsman \ + $(use_with !graphicsmagick imagemagick) \ + $(use_with graphicsmagick) \ + $(use_with geotiff libproj) \ + $(use_with geotiff) \ + $(use_with gdal) \ + $(use_with festival) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" install + + rm -rf "${D}"/usr/share/doc/${PN} + dodoc AUTHORS ChangeLog FAQ README README.Contributing \ + README.Getting-Started README.MAPS +} + +pkg_postinst() { + elog "Kernel mode AX.25 and GPSman library not supported." + elog + elog "Remember you have to be root to add addditional scripts," + elog "maps and other configuration data under /usr/share/xastir." +} |