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/app-text/winefish/winefish-1.3.3-r2.ebuild

54 lines
1022 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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
}