From: Michał Górny Date: Sun, 8 Apr 2018 08:08:52 +0000 (+0200) Subject: xfce-extra/thunar-shares-plugin: Bump 0.2.0_p20101105 to EAPI=6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=96a6cabc8c59e18174168195508b91cbeee2d5e7;p=gentoo.git xfce-extra/thunar-shares-plugin: Bump 0.2.0_p20101105 to EAPI=6 --- diff --git a/xfce-extra/thunar-shares-plugin/thunar-shares-plugin-0.2.0_p20101105-r1.ebuild b/xfce-extra/thunar-shares-plugin/thunar-shares-plugin-0.2.0_p20101105-r1.ebuild new file mode 100644 index 000000000000..c002b2f127ae --- /dev/null +++ b/xfce-extra/thunar-shares-plugin/thunar-shares-plugin-0.2.0_p20101105-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Thunar plugin to share files using Samba" +HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-shares-plugin" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.18 + >=x11-libs/gtk+-2.12:2 + >=xfce-base/thunar-1.2" +DEPEND="${RDEPEND} + dev-util/intltool + dev-util/xfce4-dev-tools + virtual/pkgconfig" + +src_configure() { + local myconf=( + --disable-static + # workaround the default for git builds + --enable-debug=minimal + ) + econf "${myconf[@]}" +} + +src_prepare() { + default + mv configure.in configure.ac || die + # https://bugzilla.xfce.org/show_bug.cgi?id=10032 + sed -i \ + -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \ + -e 's:-Werror::' \ + configure.ac || die + + local AT_M4DIR="${EPREFIX}/usr/share/xfce4/dev-tools/m4macros" + eautoreconf +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}