author | gabriel |
Fri, 29 Oct 2021 23:08:11 +0100 | |
changeset 43 | 261f7eadb5ac |
parent 25 | 50604c9253b9 |
permissions | -rw-r--r-- |
8 | 1 |
# Copyright 1999-2020 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
|
3 |
||
4 |
EAPI=7 |
|
5 |
||
25
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
6 |
inherit autotools git-r3 mercurial |
8 | 7 |
|
8 |
DESCRIPTION="Facebook protocol plugin for libpurple" |
|
9 |
HOMEPAGE="https://github.com/dequis/purple-facebook" |
|
10 |
||
11 |
LICENSE="GPL-2" |
|
12 |
SLOT="0" |
|
25
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
13 |
|
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
14 |
# purple-facebook snapshot |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
15 |
EGIT_REPO_URI="https://github.com/dequis/purple-facebook.git" |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
16 |
EGIT_COMMIT="1a6711f83d62e374ca2bed41fd4ca25b6bc654a2" |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
17 |
# pidgin snapshot (hard dependency for purple-facebook, see file VERSION) |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
18 |
EHG_REPO_URI="https://keep.imfreedom.org/pidgin/pidgin" |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
19 |
EHG_REVISION="9ff9acf9fa14" |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
20 |
EHG_CHECKOUT_DIR="${S}/.pidgin" |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
21 |
|
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
22 |
PATCHES=( "${FILESDIR}/${P}-no-hg-while-compile.patch" ) |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
23 |
|
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
24 |
KEYWORDS="~amd64" |
8 | 25 |
IUSE="" |
26 |
||
27 |
RDEPEND="dev-libs/json-glib |
|
25
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
28 |
net-im/pidgin" |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
29 |
DEPEND="dev-libs/json-glib" # Portage doesn't need to give us pidgin this time |
8 | 30 |
DOCS=( AUTHORS ChangeLog NEWS README VERSION ) |
31 |
||
32 |
src_unpack() { |
|
25
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
33 |
default |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
34 |
# This will check out pidgin in its working directory |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
35 |
mercurial_src_unpack || die |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
36 |
# This will check out purple-facebook in its working directory |
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
37 |
git-r3_src_unpack || die |
8 | 38 |
} |
39 |
||
40 |
src_prepare() { |
|
15 | 41 |
default |
25
50604c9253b9
Change ebuild to snapshot as live ebuild isn't suitable
gabriel
parents:
15
diff
changeset
|
42 |
./autogen.sh |
8 | 43 |
} |