media-radio/xastir: Maintenance release

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2019-07-18 08:03:27 +02:00
parent ca7a394a42
commit fc7cb2fa80
2 changed files with 83 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST xastir-2.0.8.tar.gz 2697256 BLAKE2B 12a12219885d7923e3262494ac39b7b7f200118953b1e47ae25917f3f1732a1cff931de06462de7d5f1216c9b61561f8090fc49e18b40380eaa58b3559c5f123 SHA512 fd98a880392e9fcb049c6049ebc6a6a5e600571b7b59fd7061a72404abd68530ae6f152c9eabdc39be0458b33b363ce7fa3fdd5330003298bca8eaac62a6982f
DIST xastir-2.1.0.tar.gz 2996246 BLAKE2B c4b607f09a5cc52daa18ac5ac8c761cf99adc7ae7d61c481d56383ac8a62302b8ec96593a24a8f5870ec7b6aa12ca619f1b93954d120cceaa1126343e080517f SHA512 32c1297d6399c34078158853beba32a4d018d060088b014be004b0837a887c6360e417e1d59ed7865ea1caa3c07f59d7bb4ee3cf9c035e2aabf6ba4783e3d288
DIST xastir-2.1.2.tar.gz 2724737 BLAKE2B 4b3fe45fb666b1c66f07f57b93f09ab0118daa266e5120ce089b3f95686fc7dc4e10148a2518f0bea9f4411a316db4f1137c898594489bda6c9198b4f34a95ef SHA512 6bfa759df34e68b6431cf5a5c2fe3a501284fac4039af2242c745645d6ccb3476d2f42bd4a8889c3ea01d70cad52d39aac3949d9d5b6cf2c0deff5aa06ffbe93
DIST xastir-2.1.4.tar.gz 2694124 BLAKE2B 90fd8ef340fc5bad43c9501c6530dcd4bd60eaab9c04638c68f80add46f0df24c45db334549915edaee95cbdcc9b7580d6343d81d84cb819f4ef5a76c9f79242 SHA512 e96f9de52499615cfe88708656d111d417e0d0e08f798b2d97f6a270db3e639c4fb5219767f8fd399fe75f51f02391ace87ae7175ae9a44cb5a4056ab7b573b1
+82
View File
@@ -0,0 +1,82 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic toolchain-funcs
MY_P=${PN/x/X}-Release-${PV}
DESCRIPTION="X Amateur Station Tracking and Information Reporting"
HOMEPAGE="http://xastir.org/"
SRC_URI="https://github.com/Xastir/Xastir/archive/Release-${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="festival 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:4.8
sci-libs/shapelib
!graphicsmagick? ( <media-gfx/imagemagick-7:0=[-hdri,-q32] )
graphicsmagick? ( media-gfx/graphicsmagick:=[-q32] )
geotiff? ( sci-libs/proj
sci-libs/libgeotiff:=
media-libs/tiff:0 )
festival? ( app-accessibility/festival )"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}
src_prepare() {
eapply_user
# fix script location (bug #407185)
eapply "${FILESDIR}"/${PN}-2.1.2-scripts.diff
# do not filter duplicate flags (see bug 411095)
eapply -p0 "${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 festival)
}
src_compile() {
emake AR="$(tc-getAR)"
}
src_install() {
emake DESTDIR="${D}" install
rm -rf "${D}"/usr/share/doc/${PN}
dodoc AUTHORS ChangeLog CONTRIBUTING.md FAQ README \
README.Getting-Started README.MAPS README.OSM_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."
}