public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/xlog/
Date: Sun, 18 Apr 2021 14:32:44 +0000 (UTC)	[thread overview]
Message-ID: <1618756357.3c8fa65afbefe6c1927cb4b4368ebac731cb25b8.tomjbe@gentoo> (raw)

commit:     3c8fa65afbefe6c1927cb4b4368ebac731cb25b8
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 14:32:37 2021 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 14:32:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8fa65a

media-radio/xlog: Version bump

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/xlog/Manifest           |  1 +
 media-radio/xlog/xlog-2.0.22.ebuild | 78 +++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest
index 9b97c25c0bb..97579222de5 100644
--- a/media-radio/xlog/Manifest
+++ b/media-radio/xlog/Manifest
@@ -1 +1,2 @@
 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.22.ebuild b/media-radio/xlog/xlog-2.0.22.ebuild
new file mode 100644
index 00000000000..93e80f3e0ef
--- /dev/null
+++ b/media-radio/xlog/xlog-2.0.22.ebuild
@@ -0,0 +1,78 @@
+# 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_user
+	eapply -p0 "${FILESDIR}/${PN}-2.0.7-desktop.patch"
+
+	# Drop -Werror
+	sed -i -e "s:-Werror::g" configure.ac || die
+	# fix underlinking
+	sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die
+	eautoconf
+
+	# 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 ..."
+
+}
+
+src_configure() {
+	# mime-update causes file collisions if enabled
+	econf --disable-mime-update
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	# build system makes it complicate to inhibit updating desktop 
+	# database, so just remove the offending file
+	rm  "${D}"/usr/share/applications/mimeinfo.cache || die
+	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
+}


             reply	other threads:[~2021-04-18 14:32 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18 14:32 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-25 20:07 [gentoo-commits] repo/gentoo:master commit in: media-radio/xlog/ Sam James
2024-11-25 19:01 Sam James
2024-10-08 18:29 Thomas Beierlein
2024-01-15 13:41 Thomas Beierlein
2021-12-14 18:31 Thomas Beierlein
2021-11-11 18:55 Jakov Smolić
2021-11-11 17:57 Jakov Smolić
2021-10-09  7:23 Thomas Beierlein
2021-09-26 15:07 Thomas Beierlein
2021-06-24  5:21 Thomas Beierlein
2021-06-24  5:21 Thomas Beierlein
2021-05-30  0:06 Sam James
2021-05-30  0:06 Sam James
2021-04-19 23:12 Sam James
2021-04-18 14:32 Thomas Beierlein
2021-03-28 18:18 Sam James
2021-03-28 18:18 Sam James
2021-03-11 15:40 Thomas Beierlein
2021-02-04 17:52 Thomas Beierlein
2021-02-04 17:49 Thomas Beierlein
2020-10-07  7:09 Agostino Sarubbo
2020-10-07  6:42 Agostino Sarubbo
2020-07-08 17:22 Thomas Beierlein
2020-07-08 17:22 Thomas Beierlein
2019-05-20 11:43 Mikle Kolyada
2019-05-19 15:48 Thomas Deutschmann
2019-03-11 14:17 Thomas Beierlein
2018-12-08 10:35 Thomas Beierlein
2018-06-02  0:57 Aaron Bauman
2018-01-23  6:22 Thomas Beierlein
2018-01-02  0:36 Mikle Kolyada
2017-12-19 15:46 Thomas Deutschmann
2017-11-14 17:06 Thomas Beierlein
2017-06-08 10:16 Agostino Sarubbo
2017-05-01 13:19 Thomas Beierlein
2017-03-06 18:40 Thomas Beierlein
2017-01-26 14:53 Agostino Sarubbo
2017-01-26 14:45 Agostino Sarubbo
2015-12-27 16:08 Thomas Beierlein
2015-12-27 15:59 Thomas Beierlein
2015-12-27 15:57 Thomas Beierlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618756357.3c8fa65afbefe6c1927cb4b4368ebac731cb25b8.tomjbe@gentoo \
    --to=tomjbe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox