diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2016-12-21 07:27:25 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2016-12-21 07:27:25 +0100 |
commit | 5634882295653c659a27748253c4ab44ab8a4ba7 (patch) | |
tree | 4e9eaed5d333e3be4bbcd388c848a1bdd9fbe000 /media-radio/xlog | |
parent | profiles: mask dev-util/eric:5 for removal (diff) | |
download | gentoo-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')
-rw-r--r-- | media-radio/xlog/Manifest | 1 | ||||
-rw-r--r-- | media-radio/xlog/files/xlog-1.9-desktop-update.patch | 51 | ||||
-rw-r--r-- | media-radio/xlog/xlog-2.0.14.ebuild | 68 |
3 files changed, 69 insertions, 51 deletions
diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest index 16c289edbe03..45af396e887f 100644 --- a/media-radio/xlog/Manifest +++ b/media-radio/xlog/Manifest @@ -1 +1,2 @@ DIST xlog-2.0.13.tar.gz 11427287 SHA256 d53d8538b9fc61e761d1bd84ad0c866cc9a50540b663521ebad49df479d798ab SHA512 304efc65c35890f2d988680de2a5f21d2e728882175f9a3abf72a749d9172833ac7b18cbd65d9e9c2c143ee27bea0476b12ff5eb760d8dcbb64800944ac89003 WHIRLPOOL 7e77e2db8cd8f373fe5f93f81d80b29fdfc4870eab24557a8aa1c940d67df80fc4751d409a2751a795c42a14edb0da30a39dc88af7771cc223f0bb408c15ef23 +DIST xlog-2.0.14.tar.gz 11452537 SHA256 16407e016f9991cfe02d85e9841ced6112416e43800898be888a2cc44c368d58 SHA512 1f63e841191b81c477273777923bb4e537bac70b02cb5deca18b30adc44158369794435a0c1c22915bf42fc3fe2e46891cd531ad6ce2563d0f543a1012074660 WHIRLPOOL adacd6a75ca9db8cfa2069e72b7a6cb05fd93166ba67a4b4ce0689c2af4a4a022016037c5eac64256b3200c0e33e096c276c1c16d6ee3e62f6740461830568df diff --git a/media-radio/xlog/files/xlog-1.9-desktop-update.patch b/media-radio/xlog/files/xlog-1.9-desktop-update.patch deleted file mode 100644 index ccdb2ddac205..000000000000 --- a/media-radio/xlog/files/xlog-1.9-desktop-update.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- configure.in.orig 2007-11-06 15:49:25.000000000 -0800 -+++ configure.in 2007-11-06 15:51:22.000000000 -0800 -@@ -48,6 +48,7 @@ - AH_TEMPLATE([HAVE_LC_MESSAGES], []) - AH_TEMPLATE([HAVE_STPCPY], []) - -+dnl MIME update - AC_ARG_ENABLE(mime-update, - [ --enable-mime-update update the mime database], - [case "${enableval}" in -@@ -63,6 +64,21 @@ - echo "disabled updating of the mime database" - fi - -+dnl Desktop update -+AC_ARG_ENABLE(desktop-update, -+[ --enable-desktop-update update the desktop database], -+[case "${enableval}" in -+ yes) desk_update=true ;; -+ no) desk_update=false ;; -+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-desk-update) ;; -+esac],[desk_update=false]) -+AM_CONDITIONAL(DESKUPDATE, test x$desk_update = xtrue) -+ -+if test "x${desk_update}" != "xfalse"; then -+ echo "enabled updating of the desktop database" -+else -+ echo "disabled updating of the desktop database" -+fi - - AC_OUTPUT([po/Makefile.in - Makefile ---- data/desktop/Makefile.am.orig 2007-11-06 15:47:51.000000000 -0800 -+++ data/desktop/Makefile.am 2007-11-06 15:48:16.000000000 -0800 -@@ -5,12 +5,16 @@ - - EXTRA_DIST = $(DESKTOP_FILES) - -+if DESKUPDATE - install-data-hook: - if HAVE_DESKTOP - $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications" - endif -+endif - -+if DESKUPDATE - uninstall-hook: - if HAVE_DESKTOP - $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications" - endif -+endif 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 000000000000..42a6c4c3c7c1 --- /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 +} |