xfce-extra/thunar-archive-plugin: Readd missing eautoreconf
authorMichał Górny <mgorny@gentoo.org>
Tue, 13 Feb 2018 15:21:11 +0000 (16:21 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 13 Feb 2018 15:27:09 +0000 (16:27 +0100)
Readd missing eautoreconf after applying patches. Thanks to Daniel
Pielmeier for the report and the patch.

Closes: https://bugs.gentoo.org/644064

xfce-extra/thunar-archive-plugin/thunar-archive-plugin-0.3.1-r3.ebuild

index ab7fb62d09e006fc5cc1ebf0c7e642a48b9a64fb..bc4f9ca7588b1124302ae8f9e9ecc74e2dde738d 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit gnome2-utils
+inherit autotools gnome2-utils
 
 DESCRIPTION="Archive plug-in for the Thunar filemanager"
 HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
@@ -17,8 +17,10 @@ IUSE=""
 RDEPEND=">=xfce-base/libxfce4util-4.8:=
        >=xfce-base/exo-0.6:=
        >=xfce-base/thunar-1.2:="
+# dev-util/xfce4-dev-tools for eautoreconf
 DEPEND="${RDEPEND}
        dev-util/intltool
+       dev-util/xfce4-dev-tools
        sys-devel/gettext
        virtual/pkgconfig"
 
@@ -29,6 +31,12 @@ PATCHES=(
        )
 DOCS=( AUTHORS ChangeLog NEWS README THANKS )
 
+src_prepare() {
+       default
+       local AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros
+       eautoreconf
+}
+
 src_install() {
        default
        find "${D}" -name '*.la' -delete || die