You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/xfce-extra/thunar-shares-plugin/thunar-shares-plugin-0.2.0_...

51 lines
1.0 KiB

# Copyright 1999-2018 Gentoo Authors
# 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.7"
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
}