xfce-extra/xfce4-messenger-plugin: remove obsolete xfconf.eclass, migrate to EAPI6
authorDenis Dupeyron <calchan@gentoo.org>
Fri, 13 Apr 2018 18:46:27 +0000 (13:46 -0500)
committerDenis Dupeyron <calchan@gentoo.org>
Fri, 13 Apr 2018 18:52:39 +0000 (13:52 -0500)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

xfce-extra/xfce4-messenger-plugin/xfce4-messenger-plugin-0.1.0-r1.ebuild [new file with mode: 0644]

diff --git a/xfce-extra/xfce4-messenger-plugin/xfce4-messenger-plugin-0.1.0-r1.ebuild b/xfce-extra/xfce4-messenger-plugin/xfce4-messenger-plugin-0.1.0-r1.ebuild
new file mode 100644 (file)
index 0000000..fc63b43
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools multilib
+
+DESCRIPTION="A plugin that listens DBus messages and displays received messages"
+HOMEPAGE="https://packages.qa.debian.org/x/xfce4-messenger-plugin.html"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz
+       mirror://debian/pool/main/x/${PN}/${PN}_${PV}-5.debian.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/dbus-glib
+       >=dev-libs/glib-2
+       sys-apps/dbus
+       x11-libs/gtk+:2
+       >=xfce-base/libxfce4util-4.8
+       >=xfce-base/libxfcegui4-4.8
+       >=xfce-base/xfce4-panel-4.8"
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       virtual/pkgconfig"
+
+src_prepare() {
+       eapply "${WORKDIR}"/debian/patches
+       AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eautoreconf
+       default
+}
+
+src_configure() {
+       econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)
+}
+
+src_install() {
+       default
+       exeinto /usr/share/doc/${PF}/scripts
+       doexe scripts/xfce-messenger-logtail
+}