Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/thunar-shares-plugin/
Date: Sun, 08 Apr 2018 08:29:37
Message-Id: 1523176165.96a6cabc8c59e18174168195508b91cbeee2d5e7.mgorny@gentoo
1 commit: 96a6cabc8c59e18174168195508b91cbeee2d5e7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 08:08:52 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 08:29:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a6cabc
7
8 xfce-extra/thunar-shares-plugin: Bump 0.2.0_p20101105 to EAPI=6
9
10 .../thunar-shares-plugin-0.2.0_p20101105-r1.ebuild | 50 ++++++++++++++++++++++
11 1 file changed, 50 insertions(+)
12
13 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
14 new file mode 100644
15 index 00000000000..c002b2f127a
16 --- /dev/null
17 +++ b/xfce-extra/thunar-shares-plugin/thunar-shares-plugin-0.2.0_p20101105-r1.ebuild
18 @@ -0,0 +1,50 @@
19 +# Copyright 1999-2018 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +
24 +inherit autotools
25 +
26 +DESCRIPTION="Thunar plugin to share files using Samba"
27 +HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-shares-plugin"
28 +SRC_URI="mirror://gentoo/${P}.tar.bz2"
29 +
30 +LICENSE="GPL-2"
31 +SLOT="0"
32 +KEYWORDS="~amd64 ~arm ~x86"
33 +IUSE=""
34 +
35 +RDEPEND=">=dev-libs/glib-2.18
36 + >=x11-libs/gtk+-2.12:2
37 + >=xfce-base/thunar-1.2"
38 +DEPEND="${RDEPEND}
39 + dev-util/intltool
40 + dev-util/xfce4-dev-tools
41 + virtual/pkgconfig"
42 +
43 +src_configure() {
44 + local myconf=(
45 + --disable-static
46 + # workaround the default for git builds
47 + --enable-debug=minimal
48 + )
49 + econf "${myconf[@]}"
50 +}
51 +
52 +src_prepare() {
53 + default
54 + mv configure.in configure.ac || die
55 + # https://bugzilla.xfce.org/show_bug.cgi?id=10032
56 + sed -i \
57 + -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
58 + -e 's:-Werror::' \
59 + configure.ac || die
60 +
61 + local AT_M4DIR="${EPREFIX}/usr/share/xfce4/dev-tools/m4macros"
62 + eautoreconf
63 +}
64 +
65 +src_install() {
66 + default
67 + find "${D}" -name '*.la' -delete || die
68 +}