diff options
Diffstat (limited to 'app-office/rubrica/rubrica-2.1.6-r1.ebuild')
-rw-r--r-- | app-office/rubrica/rubrica-2.1.6-r1.ebuild | 67 |
1 files changed, 29 insertions, 38 deletions
diff --git a/app-office/rubrica/rubrica-2.1.6-r1.ebuild b/app-office/rubrica/rubrica-2.1.6-r1.ebuild index 1c514f568199..52f7b9773ceb 100644 --- a/app-office/rubrica/rubrica-2.1.6-r1.ebuild +++ b/app-office/rubrica/rubrica-2.1.6-r1.ebuild @@ -1,32 +1,36 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/rubrica/rubrica-2.1.6-r1.ebuild,v 1.7 2012/05/03 20:00:41 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/rubrica/rubrica-2.1.6-r1.ebuild,v 1.8 2014/07/19 16:31:03 jer Exp $ -EAPI=2 -inherit eutils gnome2 +EAPI=5 +inherit autotools eutils gnome2 MY_PN=${PN}2 DESCRIPTION="A contact database for Gnome" -HOMEPAGE="http://rubrica.berlios.de/" -SRC_URI="mirror://berlios/${PN}/${MY_PN}-${PV}.tar.bz2 - linguas_hu? ( mirror://gentoo/${P}-hu.po.bz2 )" - LICENSE="GPL-3" +HOMEPAGE="http://rubrica.berlios.de/" SLOT="0" -KEYWORDS="x86" -IUSE="linguas_hu" - -RDEPEND="dev-libs/glib:2 +KEYWORDS="~amd64 x86" +SRC_URI=" + mirror://berlios/${PN}/${MY_PN}-${PV}.tar.bz2 + mirror://gentoo/${P}-hu.po.bz2 +" + +RDEPEND=" + dev-libs/glib:2 dev-libs/libxml2 >=gnome-base/libglade-2 gnome-base/gconf:2 x11-libs/gtk+:2 - x11-libs/libnotify" -DEPEND="${RDEPEND} + x11-libs/libnotify +" +DEPEND=" + ${RDEPEND} + >=sys-devel/gettext-0.16.1 dev-util/intltool virtual/pkgconfig - linguas_hu? ( >=sys-devel/gettext-0.16.1 )" +" S=${WORKDIR}/${MY_PN}-${PV} @@ -40,33 +44,20 @@ pkg_setup() { } src_prepare() { + mv "${WORKDIR}"/${P}-hu.po po/hu.po || die epatch "${FILESDIR}"/${P}-libnotify-0.7.patch - # False menu in locales - epatch "${FILESDIR}"/${P}_fix-menu-language.patch - # Missing gnome icons - epatch "${FILESDIR}"/${P}_missing-icons.patch - cd po - epatch "${FILESDIR}"/${P}_url-crash.patch -} - -src_compile() { - gnome2_src_compile - - # Add Hungarian translation - if use linguas_hu; then - msgfmt "${WORKDIR}"/${P}-hu.po --output-file po/hu.gmo || die - fi + epatch "${FILESDIR}"/${P}-fix-menu-language.patch + epatch "${FILESDIR}"/${P}-missing-icons.patch + epatch "${FILESDIR}"/${P}-url-crash.patch + epatch "${FILESDIR}"/${P}-linguas_hu.patch + epatch "${FILESDIR}"/${P}-libm.patch + epatch "${FILESDIR}"/${P}-gthread.patch + epatch "${FILESDIR}"/${P}-schema.patch + eautoreconf } src_install() { gnome2_src_install - domenu "${FILESDIR}"/${MY_PN}.desktop - - if use linguas_hu; then - domo po/hu.gmo || die - dosym ${PN}.mo /usr/share/locale/hu/LC_MESSAGES/${MY_PN}.mo || die - fi - - find "${D}" -name '*.la' -exec rm -f '{}' + + prune_libtool_files } |