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 1CF6D1396D9 for ; Tue, 14 Nov 2017 17:06:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CC51E0EA3; Tue, 14 Nov 2017 17:06:47 +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 DE219E0EA3 for ; Tue, 14 Nov 2017 17:06:46 +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 3E65B33BF0F for ; Tue, 14 Nov 2017 17:06:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C01AE9AE4 for ; Tue, 14 Nov 2017 17:06:43 +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: <1510679148.bb4d1b9ceb0eb93620be799929d28c03e3eb6593.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.15.ebuild X-VCS-Directories: media-radio/xlog/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: bb4d1b9ceb0eb93620be799929d28c03e3eb6593 X-VCS-Branch: master Date: Tue, 14 Nov 2017 17:06:43 +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-Archives-Salt: 20bbbfe9-ae35-4a54-a011-ce94f83a6011 X-Archives-Hash: 20d682662017ff9004797fd3a0090284 commit: bb4d1b9ceb0eb93620be799929d28c03e3eb6593 Author: Thomas Beierlein gentoo org> AuthorDate: Tue Nov 14 17:05:48 2017 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Tue Nov 14 17:05:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4d1b9c media-radio/xlog: Version bump Package-Manager: Portage-2.3.13, Repoman-2.3.4 media-radio/xlog/Manifest | 1 + media-radio/xlog/xlog-2.0.15.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest index 90b0dd3b1e6..673cc66ad4e 100644 --- a/media-radio/xlog/Manifest +++ b/media-radio/xlog/Manifest @@ -1 +1,2 @@ DIST xlog-2.0.14.tar.gz 11452537 SHA256 16407e016f9991cfe02d85e9841ced6112416e43800898be888a2cc44c368d58 SHA512 1f63e841191b81c477273777923bb4e537bac70b02cb5deca18b30adc44158369794435a0c1c22915bf42fc3fe2e46891cd531ad6ce2563d0f543a1012074660 WHIRLPOOL adacd6a75ca9db8cfa2069e72b7a6cb05fd93166ba67a4b4ce0689c2af4a4a022016037c5eac64256b3200c0e33e096c276c1c16d6ee3e62f6740461830568df +DIST xlog-2.0.15.tar.gz 11461174 SHA256 52f0866530b7902128990318b713efe2c213164bd5466c11bffc0f8ef940c82a SHA512 58403d6cd05a222900236a9b165d1b51951f2efa668aba5989970036135a91955af64a4662a5cd6f6e7c4629e3353b3c93c79c3e14d81c7ae65a82cf9ade6397 WHIRLPOOL dd453d112a21ea2daf4123a00a5e9582b34b59038997f2a009fd491152ab0babf5b970803a867d364aaefd065e72cfb892ea0f48c5c0b42660d2aeb4b81bbc68 diff --git a/media-radio/xlog/xlog-2.0.15.ebuild b/media-radio/xlog/xlog-2.0.15.ebuild new file mode 100644 index 00000000000..9dcc058a0ec --- /dev/null +++ b/media-radio/xlog/xlog-2.0.15.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools fdo-mime toolchain-funcs +MY_P=${P/_} + +DESCRIPTION="An amateur radio logging program" +HOMEPAGE="http://www.nongnu.org/xlog" +SRC_URI="http://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} + 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 + + eapply_user +} + +src_configure() { + # mime-update causes file collisions if enabled + econf --disable-mime-update --disable-desktop-update \ + --docdir=/usr/share/doc/${PF} +} + +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() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +}