diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-07 17:57:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-07 17:57:54 +0000 |
commit | bc75b42f7650c33ffdb61e5e29b0b96cb9111932 (patch) | |
tree | 867908c0cf83e6015a5b1544cfdc4e17f1c13753 /media-radio/xastir | |
parent | b3fef92e618039dc93153a93176184a49606c74a (diff) |
gentoo auto-resync : 07:03:2023 - 17:57:54
Diffstat (limited to 'media-radio/xastir')
-rw-r--r-- | media-radio/xastir/Manifest | 2 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-2.1.8-configure.diff | 16 | ||||
-rw-r--r-- | media-radio/xastir/xastir-2.1.8-r4.ebuild | 82 |
3 files changed, 100 insertions, 0 deletions
diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest index 464feaefb4da..fadc59122cf1 100644 --- a/media-radio/xastir/Manifest +++ b/media-radio/xastir/Manifest @@ -1,5 +1,7 @@ AUX xastir-2.0.0-dont-filter-flags.diff 621 BLAKE2B 7bb56ddfd744123b705e7f00866fa5ac76a3ee0cd5379ee8cb41b7f1eac94ab9e704802b64eb22fe182d594c4d62ece3215122c22f5cd30b3f00c4c60dde875e SHA512 da94db0dcbd79c7b258f3657d0e6135fb93de81f3a2c25a73d68051b1a92156392a638f6a5478f4a0b8b568c4780a4091d7345e4c8cc60ecc190633123da0a6b +AUX xastir-2.1.8-configure.diff 532 BLAKE2B 527bbff01a05725344f41d28591c600d3661801c19202a33d3d02c9e34547425e25e84a6ab0b09810d3b201ad9c0df9aac3824c826a9effef2e8f830bce9db5e SHA512 4c9ca28fd3a04a497ceb8c41bde5d581f6ad08faab84440b11670322f0862c176cdd3914f6672d738d9b0cce7328dead3cfd7816c74d838b08ecd753a99612cb AUX xastir-2.1.8-scripts.diff 3112 BLAKE2B 2e2d96ab6788c700f0f660ce1698dbf59ccf697896404cbd11777cefa077660a1ee2abc7efb208683eb3b131a93c9ffc048c077054b9cf3d77c2458f1c522b39 SHA512 fcf5dc5ead6a0871d219323e78b9c33747e9ba1289a2c75e211af752f8a8d53d919b51dc5ef4c0618780c3d8869b19c10cbe785be8e70f5b75cbe71c97b70a4c DIST xastir-2.1.8.tar.gz 2222586 BLAKE2B 4cd623c2db7a06c2499bf73a0df8c8f07b6a3072d177d370b76f54cb4caa4cf03f2b5c511149eaefc26f1aa7e8fe3a89e1c42e26a20066dd3337ad41dd5300b6 SHA512 361c92381b385035af160578dcfc4c800edcfabdbaebc5eda1c4fd9a78e934f289a54813577d5b765bbed6eae50cb772735defec6f489dc65326941d2492850d EBUILD xastir-2.1.8-r3.ebuild 1782 BLAKE2B e7c9cc4c6f6f2070a254ae50f793d8cdeeb575b6034ee7b5b003929dd1bb831808d880dc040a6fba284551370c785916caa2a13fa187dba8b05a7c1c8b0baca7 SHA512 d141eb3703c4deffc76bd62c0e5886d38c70a8f04d2a30871ac37922aa5d08a79b19109f4fac037f85379b11f2c9bc6b8abe19cc0e9d46be82a3b8b6848c6588 +EBUILD xastir-2.1.8-r4.ebuild 1857 BLAKE2B b954ddcf8481e7d4ecc6b63e25523874b96e6a675817b4ac11311f9b5cc7da10fff91d78e8934c36d454dc0f524ccb7023d8a9bf802790f81dc4a87c47068419 SHA512 8931c75946586a13e27dd9f3ce803ce231fe1515222dcdd5b44b9aa2ec1099698ae329f9f83080727c62dd1859a744c0cd9179b6aec5c54f597f4c52eb9e65d3 MISC metadata.xml 472 BLAKE2B ce31d7060b0e735a8ecda8ad847e3cd45c4f4a2749470d79cd6542be0ae164a5e06e476c536c67c34e23d6a19c6f4a6b94fcfdfdc77827784b4459737c99ccfa SHA512 40d9aa951fe33a6dae574a9cafe564d3241e2121fc7ff0852b4f0f2044661b1b4f49abe1b2819d4291f6bb8f53bceef29b880ab05584d416c0dc08595b92eab8 diff --git a/media-radio/xastir/files/xastir-2.1.8-configure.diff b/media-radio/xastir/files/xastir-2.1.8-configure.diff new file mode 100644 index 000000000000..0340f00e241e --- /dev/null +++ b/media-radio/xastir/files/xastir-2.1.8-configure.diff @@ -0,0 +1,16 @@ +# Fix implicit function declaration in configure.ac +# bug 899846 +diff --git a/configure.ac b/configure.ac +index 687bbe9..c137c80 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -646,7 +646,8 @@ fi + save_LDFLAGS="$LDFLAGS" + LDFLAGS="-Wl,--no-keep-memory $LDFLAGS" + AC_LINK_IFELSE( +- [AC_LANG_PROGRAM([[#include <sys/types.h>]], ++ [AC_LANG_PROGRAM([[#include <sys/types.h> ++ #include <stdlib.h>]], + [[/* Stupid useless test for linker flags */ + exit(0);]])], + [xa_cv_no_keep_memory=yes], diff --git a/media-radio/xastir/xastir-2.1.8-r4.ebuild b/media-radio/xastir/xastir-2.1.8-r4.ebuild new file mode 100644 index 000000000000..321686006d1b --- /dev/null +++ b/media-radio/xastir/xastir-2.1.8-r4.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools flag-o-matic toolchain-funcs + +MY_P=${PN/x/X}-Release-${PV} + +DESCRIPTION="X Amateur Station Tracking and Information Reporting" +HOMEPAGE="https://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="geotiff" + +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 + media-gfx/graphicsmagick:=[-q32] + geotiff? ( sci-libs/proj + sci-libs/libgeotiff:= + media-libs/tiff:= )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-2.1.8-configure.diff ) + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + eapply_user + eapply ${PATCHES} + + # fix script location (bug #407185) + eapply "${FILESDIR}"/${PN}-2.1.8-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 + append-cflags -I/usr/include/GraphicsMagick + econf \ + --with-shapelib \ + --without-ax25 \ + --without-festival \ + --without-gpsman \ + --without-imagemagick \ + --with-graphicsmagick \ + $(use_with geotiff libproj) \ + $(use_with geotiff) +} + +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." +} |