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.
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
inherit autotools xdg
|
|
|
|
|
|
|
|
DESCRIPTION="A collection of data files to add support for chemical MIME types"
|
|
|
|
HOMEPAGE="http://chemical-mime.sourceforge.net/"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN/-data/}/${P}.tar.bz2"
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
gnome-base/gnome-mime-data
|
|
|
|
x11-misc/shared-mime-info"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-util/intltool
|
|
|
|
dev-util/desktop-file-utils
|
|
|
|
dev-libs/libxslt
|
|
|
|
|| (
|
|
|
|
media-gfx/imagemagick[xml,png,svg]
|
|
|
|
gnome-base/librsvg
|
|
|
|
)
|
|
|
|
media-gfx/inkscape
|
|
|
|
virtual/pkgconfig"
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${P}-turbomole.patch
|
|
|
|
"${FILESDIR}"/${P}-pigz.patch
|
|
|
|
"${FILESDIR}"/${P}-namespace-svg.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
xdg_src_prepare
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local myeconfargs=(
|
|
|
|
--disable-update-database
|
|
|
|
--htmldir=/usr/share/doc/${PF}/html
|
|
|
|
)
|
|
|
|
econf ${myeconfargs[@]}
|
|
|
|
}
|