diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2019-05-31 14:10:02 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2019-05-31 14:10:02 +0200 |
commit | a918142dc97bd41a33d038b6242c1d3e287f4e70 (patch) | |
tree | 8f7ed151be12fcee23fa0772159608687af90fb0 /media-radio/xastir | |
parent | media-radio/xastir: Fix dependency on sci-libs/geotiff:= (diff) | |
download | gentoo-a918142dc97bd41a33d038b6242c1d3e287f4e70.tar.gz gentoo-a918142dc97bd41a33d038b6242c1d3e287f4e70.tar.bz2 gentoo-a918142dc97bd41a33d038b6242c1d3e287f4e70.zip |
media-radio/xastir: Version bump
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/xastir')
-rw-r--r-- | media-radio/xastir/Manifest | 1 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.1.2-scripts.diff | 89 | ||||
-rw-r--r-- | media-radio/xastir/xastir-2.1.2.ebuild | 82 |
3 files changed, 172 insertions, 0 deletions
diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest index 9b0fbe3e7836..b011e2bc3b50 100644 --- a/media-radio/xastir/Manifest +++ b/media-radio/xastir/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/media-radio/xastir/files/xastir-2.1.2-scripts.diff b/media-radio/xastir/files/xastir-2.1.2-scripts.diff new file mode 100644 index 000000000000..7b52c6895606 --- /dev/null +++ b/media-radio/xastir/files/xastir-2.1.2-scripts.diff @@ -0,0 +1,89 @@ +# patch scripts location (bug #407185). partially backported from upstream. +diff -Nur -u Xastir-Release-2.1.2.orig/scripts/coord-convert.pl Xastir-Release-2.1.2/scripts/coord-convert.pl +--- Xastir-Release-2.1.2.orig/scripts/coord-convert.pl 2010-07-03 22:09:48.000000000 +0000 ++++ Xastir-Release-2.1.2/scripts/coord-convert.pl 2012-03-07 15:46:01.000000000 +0000 +@@ -26,7 +26,7 @@ + # + + +-use lib "${prefix}/lib"; ++use lib /usr/share/xastir/scripts; + use Coordinate; # WE7U's Coordinate.pm module + + +diff -Nur -u Xastir-Release-2.1.2.orig/scripts/permutations.pl Xastir-Release-2.1.2/scripts/permutations.pl +--- Xastir-Release-2.1.2.orig/scripts/permutations.pl 2010-07-03 22:09:48.000000000 +0000 ++++ Xastir-Release-2.1.2/scripts/permutations.pl 2012-03-07 15:42:34.000000000 +0000 +@@ -34,7 +34,7 @@ + # + + +-use lib "/usr/local/lib"; ++use lib "/usr/share/xastir/scripts"; + use Coordinate; # WE7U's Coordinate.pm module + + +diff -Nur -u Xastir-Release-2.1.2.orig/scripts/test_coord.pl Xastir-Release-2.1.2/scripts/test_coord.pl +--- Xastir-Release-2.1.2.orig/scripts/test_coord.pl 2010-01-31 02:12:23.000000000 +0000 ++++ Xastir-Release-2.1.2/scripts/test_coord.pl 2012-03-07 15:42:34.000000000 +0000 +@@ -33,7 +33,7 @@ + + #------------------------------------------------------------------------------------------------ + +-use lib "/usr/local/lib"; ++use lib "/usr/share/xastir/scripts"; + use Coordinate; # Snag WE7U's Coordinate module + + +diff -Nur -u Xastir-Release-2.1.2.orig/scripts/toporama250k.pl Xastir-Release-2.1.2/scripts/toporama250k.pl +--- Xastir-Release-2.1.2.orig/scripts/toporama250k.pl 2010-01-31 02:12:23.000000000 +0000 ++++ Xastir-Release-2.1.2/scripts/toporama250k.pl 2012-03-07 15:46:49.000000000 +0000 +@@ -28,14 +28,14 @@ + # map files for the whole of Canada! + # + # +-# - "cd /usr/local/share/xastir/maps" ++# - "cd /usr/share/xastir/maps" + # + # - Assure you have write privileges in the directory above either + # by becoming root using the "su" command, using "sudo", or + # temporarily changing ownership and/or privileges on the + # "maps" directory. + # +-# - "/usr/local/lib/xastir/toporama250k.pl" ++# - "/usr/share/xastir/scripts/toporama250k.pl" + # + # - The script will create/populate this directory heirarchy: + # .../maps/toporama/images/ +diff -Nur -u Xastir-Release-2.1.2.orig/scripts/toporama50k.pl Xastir-Release-2.1.2/scripts/toporama50k.pl +--- Xastir-Release-2.1.2.orig/scripts/toporama50k.pl 2010-01-31 02:12:23.000000000 +0000 ++++ Xastir-Release-2.1.2/scripts/toporama50k.pl 2012-03-07 15:47:01.000000000 +0000 +@@ -27,14 +27,14 @@ + # map files for the whole of Canada! + # + # +-# - "cd /usr/local/share/xastir/maps" ++# - "cd /usr/share/xastir/maps" + # + # - Assure you have write privileges in the directory above either + # by becoming root using the "su" command, using "sudo", or + # temporarily changing ownership and/or privileges on the + # "maps" directory. + # +-# - "/usr/local/lib/xastir/toporama50k.pl" ++# - "/usr/share/xastir/scripts/toporama50k.pl" + # + # - The script will create/populate this directory heirarchy: + # .../maps/toporama/images/ +diff -Nur -u Xastir-Release-2.1.2.orig/scripts/get-NWSdata.in Xastir-Release-2.1.2/scripts/get-NWSdata.in +--- Xastir-Release-2.1.2.orig/scripts/get-NWSdata.in 2010-01-31 02:12:23.000000000 +0000 ++++ Xastir-Release-2.1.2/scripts/get-NWSdata.in 2012-03-07 15:47:01.000000000 +0000 +@@ -123,7 +123,7 @@ + echo + echo $e.dbf + # Run in a separate shell so we don't mess up the current directory for the -e test above +- (cd /usr/local/share/xastir; /usr/local/bin/testdbfawk -D config -d Counties/$e.dbf 2>&1 | head -3 | tail -1) ++ (cd /usr/share/xastir; /usr/bin/testdbfawk -D config -d Counties/$e.dbf 2>&1 | head -3 | tail -1) + + fi + done diff --git a/media-radio/xastir/xastir-2.1.2.ebuild b/media-radio/xastir/xastir-2.1.2.ebuild new file mode 100644 index 000000000000..b9b5bdb7a8cd --- /dev/null +++ b/media-radio/xastir/xastir-2.1.2.ebuild @@ -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." +} |