xfce-extra/xfce4-gvfs-mount: remove obsolete xfconf.eclass, migrate to EAPI6

Package-Manager: Portage-2.3.14, Repoman-2.3.6
This commit is contained in:
Denis Dupeyron
2017-11-17 22:23:18 +00:00
parent fae21fc0b1
commit 46c8c33454

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit xdg-utils
MY_REV=6d2684b
DESCRIPTION="A panel plug-in to mount remote filesystems for the Xfce desktop environment"
HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-gvfs-mount"
SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}-${MY_REV}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-libs/dbus-glib-0.98
>=dev-libs/glib-2.24
>=gnome-base/libglade-2.6
>=x11-libs/gtk+-2.20:2
>=xfce-base/libxfce4util-4.8
>=xfce-base/libxfcegui4-4.8
>=xfce-base/xfce4-panel-4.8"
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig"
S=${WORKDIR}/${P}-${MY_REV}
pkg_setup() {
XFCONF=(
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
)
DOCS=( AUTHORS NEWS README )
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}