summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2016-12-21 07:27:25 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2016-12-21 07:27:25 +0100
commit5634882295653c659a27748253c4ab44ab8a4ba7 (patch)
tree4e9eaed5d333e3be4bbcd388c848a1bdd9fbe000 /media-radio/xlog/xlog-2.0.14.ebuild
parentprofiles: mask dev-util/eric:5 for removal (diff)
downloadgentoo-5634882295653c659a27748253c4ab44ab8a4ba7.tar.gz
gentoo-5634882295653c659a27748253c4ab44ab8a4ba7.tar.bz2
gentoo-5634882295653c659a27748253c4ab44ab8a4ba7.zip
media-radio/xlog: Version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-radio/xlog/xlog-2.0.14.ebuild')
-rw-r--r--media-radio/xlog/xlog-2.0.14.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/media-radio/xlog/xlog-2.0.14.ebuild b/media-radio/xlog/xlog-2.0.14.ebuild
new file mode 100644
index 00000000000..42a6c4c3c7c
--- /dev/null
+++ b/media-radio/xlog/xlog-2.0.14.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}