blob: 044738c4514abafa2cf9c22af2399b1823c151b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools eutils fdo-mime
MY_PV=${PV/%[[:alpha:]]/}
DESCRIPTION="LaTeX editor based on Bluefish"
HOMEPAGE="https://github.com/viettug/winefish"
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="spell"
RDEPEND="
>=dev-libs/libpcre-6.3
>=x11-libs/gtk+-2.4:2
spell? ( app-text/aspell )
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${P}-desktop.patch
"${FILESDIR}"/${P}-doc.patch
"${FILESDIR}"/${P}-memset.patch
"${FILESDIR}"/${P}-nostrip.patch
"${FILESDIR}"/${P}-version.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --disable-update-databases
}
src_install() {
emake install DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html
dodoc AUTHORS CHANGES README ROADMAP THANKS TODO
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
|