diff options
-rw-r--r-- | media-radio/xlog/Manifest | 1 | ||||
-rw-r--r-- | media-radio/xlog/xlog-2.0.20.ebuild | 77 | ||||
-rw-r--r-- | media-radio/xlog/xlog-2.0.22.ebuild | 5 |
3 files changed, 5 insertions, 78 deletions
diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest index 97579222de52..7c8a5d02a0ba 100644 --- a/media-radio/xlog/Manifest +++ b/media-radio/xlog/Manifest @@ -1,2 +1 @@ -DIST xlog-2.0.20.tar.gz 11437051 BLAKE2B a6d6618b62d1f5591cf44efe4ce2e3ba8a1f27bc2fe218f0b65d05f26bb2f8abeea69d3ec2c2009f50209257769647bc6fe9307999f5fede5b72cb0ca9259b16 SHA512 50feaede582ea505021c5530efa702915f2ec6f64e4677055657adbaefca92b3b45b6c6fe5af8d65ed2ae38d0d0e4cda6782fa7781516b5263f738c90fb17c89 DIST xlog-2.0.22.tar.gz 11407849 BLAKE2B 85d2e904d33ef39883cb8ac086eed4dc7e65503cdccb95e8d33f169d12de4f1ed556a28ac2f40e0044e937185bf4d93fe55608088d6e95744617c9c3a051fb55 SHA512 a261f8e28b75aed9380c29b3da69c7615b0d32346eaf84a0ace5cf77c53407372c4985c599078dba5ed92f77bd8052a74c7dca40028b99bca49cc3164d4ec490 diff --git a/media-radio/xlog/xlog-2.0.20.ebuild b/media-radio/xlog/xlog-2.0.20.ebuild deleted file mode 100644 index 60591aa739b1..000000000000 --- a/media-radio/xlog/xlog-2.0.20.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs xdg-utils -MY_P=${P/_} - -DESCRIPTION="An amateur radio logging program" -HOMEPAGE="https://www.nongnu.org/xlog" -SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="media-libs/hamlib:= - dev-libs/glib:2 - x11-libs/gtk+:2" -DEPEND="${RDEPEND} - media-libs/libpng:0 - sys-devel/gettext - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -DOCS=( AUTHORS data/doc/THANKS NEWS README ) - -src_prepare() { - eapply -p0 "${FILESDIR}/${PN}-2.0.7-desktop.patch" - - # Let portage handle updating mime/desktop databases, - eapply -p0 "${FILESDIR}/${PN}-2.0.13-desktop-update.patch" - # Drop -Werror - sed -i -e "s:-Werror::" configure.ac || die - # fix underlinking - sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die - eautoreconf - - # Fix broken png files<< - einfo "Fixing broken png files." - pushd "${S}"/data/doc/manual/output/html - for png in xlog-clock.png xlog-dropdown.png xlog-editbox.png; do - pngfix -q --out=out.png ${png} - mv -f out.png "${png}" || die - done - popd - einfo "done ..." - - eapply_user -} - -src_configure() { - # mime-update causes file collisions if enabled - econf --disable-mime-update --disable-desktop-update -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS} - einstalldocs -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/media-radio/xlog/xlog-2.0.22.ebuild b/media-radio/xlog/xlog-2.0.22.ebuild index 7467c2953e50..3b1c9d3c1662 100644 --- a/media-radio/xlog/xlog-2.0.22.ebuild +++ b/media-radio/xlog/xlog-2.0.22.ebuild @@ -37,6 +37,11 @@ src_prepare() { sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die eautoconf + # prepare for media-radio/hamlib-4.2 change of API + if has_version '>=media-libs/hamlib-4.2' ; then + sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/hamlib-utils.c || die + fi + # Fix broken png files<< einfo "Fixing broken png files." pushd "${S}"/data/doc/manual/output/html |