xfce-extra/xfce4-modemlights-plugin: remove obsolete xfconf.eclass, migrate to EAPI6
authorDenis Dupeyron <calchan@gentoo.org>
Fri, 13 Apr 2018 19:29:32 +0000 (14:29 -0500)
committerDenis Dupeyron <calchan@gentoo.org>
Fri, 13 Apr 2018 19:31:28 +0000 (14:31 -0500)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

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

diff --git a/xfce-extra/xfce4-modemlights-plugin/xfce4-modemlights-plugin-0.1.3.99-r1.ebuild b/xfce-extra/xfce4-modemlights-plugin/xfce4-modemlights-plugin-0.1.3.99-r1.ebuild
new file mode 100644 (file)
index 0000000..02d23ae
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit multilib gnome2-utils
+
+DESCRIPTION="A panel plug-in intended to simplify establishing a ppp connection"
+HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-modemlights-plugin"
+SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+       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_configure() {
+       econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}