From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B78761382C5 for ; Thu, 4 Feb 2021 17:52:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F21C4E092B; Thu, 4 Feb 2021 17:52:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D616AE092B for ; Thu, 4 Feb 2021 17:52:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CF103425C0 for ; Thu, 4 Feb 2021 17:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F895476 for ; Thu, 4 Feb 2021 17:52:14 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1612461114.9d18496872f9a2a8d558772e4b56d34f0ca2968a.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/xlog/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/xlog/Manifest media-radio/xlog/xlog-2.0.20.ebuild X-VCS-Directories: media-radio/xlog/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 9d18496872f9a2a8d558772e4b56d34f0ca2968a X-VCS-Branch: master Date: Thu, 4 Feb 2021 17:52:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f1e3d1de-b242-45ee-a976-f1ec7e5264c2 X-Archives-Hash: ae7855f3e53fee7a001723e0230cf01a commit: 9d18496872f9a2a8d558772e4b56d34f0ca2968a Author: Thomas Beierlein gentoo org> AuthorDate: Thu Feb 4 17:51:54 2021 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Thu Feb 4 17:51:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d184968 media-radio/xlog: Version bump Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Beierlein gentoo.org> media-radio/xlog/Manifest | 1 + media-radio/xlog/xlog-2.0.20.ebuild | 77 +++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest index dafe03e8856..7cbb274905d 100644 --- a/media-radio/xlog/Manifest +++ b/media-radio/xlog/Manifest @@ -1 +1,2 @@ DIST xlog-2.0.19.tar.gz 11431541 BLAKE2B 0bfe396167580808344a4b0e0974959930ab577a18c0d71a70c7c020a433a150baf5322f58682fc4604718d739e01004447dffcdd325c3426d776995dd684d39 SHA512 b69e592f97fbfbd989378a2b74036f4a169be3ca1f5b7ba8715e3a5293f1efbdbc431b0c09a305c2ca0190953777010a9d9a9b53caea8eb26609111b4f7da40b +DIST xlog-2.0.20.tar.gz 11437051 BLAKE2B a6d6618b62d1f5591cf44efe4ce2e3ba8a1f27bc2fe218f0b65d05f26bb2f8abeea69d3ec2c2009f50209257769647bc6fe9307999f5fede5b72cb0ca9259b16 SHA512 50feaede582ea505021c5530efa702915f2ec6f64e4677055657adbaefca92b3b45b6c6fe5af8d65ed2ae38d0d0e4cda6782fa7781516b5263f738c90fb17c89 diff --git a/media-radio/xlog/xlog-2.0.20.ebuild b/media-radio/xlog/xlog-2.0.20.ebuild new file mode 100644 index 00000000000..337574caea2 --- /dev/null +++ b/media-radio/xlog/xlog-2.0.20.ebuild @@ -0,0 +1,77 @@ +# 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 +}