Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/xastir/
Date: Sun, 01 May 2016 14:17:30
Message-Id: 1462112232.eebd28dc6f27c8d199148b1a5de6c4928bd04213.tomjbe@gentoo
1 commit: eebd28dc6f27c8d199148b1a5de6c4928bd04213
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 14:17:12 2016 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 14:17:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebd28dc
7
8 media-radio/xastir: Drop old
9
10 Package-Manager: portage-2.2.28
11
12 media-radio/xastir/Manifest | 1 -
13 media-radio/xastir/xastir-2.0.4.ebuild | 88 ----------------------------------
14 2 files changed, 89 deletions(-)
15
16 diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest
17 index 6458a95..b630719 100644
18 --- a/media-radio/xastir/Manifest
19 +++ b/media-radio/xastir/Manifest
20 @@ -1,2 +1 @@
21 -DIST xastir-2.0.4.tar.gz 2655250 SHA256 975f1cbe1ee32334e579588dcf2e19bcc607ad7b5f9d0848075f6d283d65af86 SHA512 766124ae717742e93bef24cd4c84946e146c3ba8a61775afada25a1c60f225edf91fc8eb4f59881564b14187e523c98a07d515adea74d73e03e2ab10dbae92b3 WHIRLPOOL 640616e698e2e3cfe2bdd6619ac601017c37d4d18cd1fa3ab5391ade170b6108a845a4fe2860b618a5cd2281e884399874b554c3960e1f5ad6420f016c88260c
22 DIST xastir-2.0.6.tar.gz 2662042 SHA256 e46debd3f67ea5c08e2f85f03e26653871a9cdd6d692c8eeee436c3bc8a8dd43 SHA512 422bfd5c243ce2761279908b2294f94598df4e51e8dc9eea1eede12c460934c97392e8d99d40d67d92b4e31fe09806e9c33190e146696a49d968df6562e858f3 WHIRLPOOL 39a097dba585d5bcdcdb880ddb5e530eb118bd1645abf911948ed2c0b562a4b12cf4b453b0295db1f37d00380873440e251466f7b12440cd41f50578ae90f170
23
24 diff --git a/media-radio/xastir/xastir-2.0.4.ebuild b/media-radio/xastir/xastir-2.0.4.ebuild
25 deleted file mode 100644
26 index c211549..0000000
27 --- a/media-radio/xastir/xastir-2.0.4.ebuild
28 +++ /dev/null
29 @@ -1,88 +0,0 @@
30 -# Copyright 1999-2014 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=4
35 -inherit autotools eutils flag-o-matic toolchain-funcs
36 -
37 -DESCRIPTION="X Amateur Station Tracking and Information Reporting"
38 -HOMEPAGE="http://xastir.sourceforge.net/"
39 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="amd64 x86"
44 -IUSE="festival gdal geotiff graphicsmagick"
45 -
46 -DEPEND=">=x11-libs/motif-2.3:0
47 - x11-libs/libXt
48 - x11-libs/libX11
49 - x11-libs/libXpm
50 - x11-apps/xfontsel
51 - dev-libs/libpcre
52 - net-misc/curl
53 - sys-libs/db
54 - sci-libs/shapelib
55 - !graphicsmagick? ( media-gfx/imagemagick[-hdri,-q32] )
56 - graphicsmagick? ( media-gfx/graphicsmagick[-q32] )
57 - geotiff? ( sci-libs/proj
58 - sci-libs/libgeotiff
59 - media-libs/tiff )
60 - gdal? ( sci-libs/gdal )
61 - festival? ( app-accessibility/festival )"
62 -RDEPEND="${DEPEND}"
63 -
64 -src_prepare() {
65 - # fix script location (bug #407185)
66 - epatch "${FILESDIR}"/${P}-scripts.diff
67 -
68 - # fix __FORTIFY_SOURCE warning (bug #337365)
69 - epatch "${FILESDIR}"/${P}-fortify.diff
70 -
71 - # do not use builtin shapelib if sci-libs/shapelib is not installed
72 - # instead build without shapelib support (bug #430704)
73 - epatch "${FILESDIR}"/${P}-no-builtin-shapelib.diff
74 -
75 - # do not filter duplicate flags (see bug 411095)
76 - epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff
77 -
78 - # fix deprectated AM_CONFIG_HEADER macro
79 - sed -i -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" configure.ac || die
80 -
81 - eautoreconf
82 -}
83 -
84 -src_configure() {
85 - # provide include path to GraphicsMagic for configure stage
86 - use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick
87 - econf --with-pcre \
88 - --with-shapelib \
89 - --with-dbfawk \
90 - --without-ax25 \
91 - --without-gpsman \
92 - $(use_with !graphicsmagick imagemagick) \
93 - $(use_with graphicsmagick) \
94 - $(use_with geotiff libproj) \
95 - $(use_with geotiff) \
96 - $(use_with gdal) \
97 - $(use_with festival)
98 -}
99 -
100 -src_compile() {
101 - emake AR="$(tc-getAR)"
102 -}
103 -
104 -src_install() {
105 - emake DESTDIR="${D}" install
106 -
107 - rm -rf "${D}"/usr/share/doc/${PN}
108 - dodoc AUTHORS ChangeLog FAQ README README.Contributing \
109 - README.Getting-Started README.MAPS
110 -}
111 -
112 -pkg_postinst() {
113 - elog "Kernel mode AX.25 and GPSman library not supported."
114 - elog
115 - elog "Remember you have to be root to add addditional scripts,"
116 - elog "maps and other configuration data under /usr/share/xastir."
117 -}