From 17939da0000be6d0110aed8515035e83b8c205f1 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 30 May 2021 22:10:54 +0200 Subject: sci-chemistry/gnome-chemistry-utils: Needs glu library Closes: https://bugs.gentoo.org/792600 Thanks-to: Agostino Sarubbo Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Pacho Ramos --- .../gnome-chemistry-utils-0.14.17_p5-r1.ebuild | 71 ++++++++++++++++++++++ .../gnome-chemistry-utils-0.14.17_p5.ebuild | 70 --------------------- 2 files changed, 71 insertions(+), 70 deletions(-) create mode 100644 sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5-r1.ebuild delete mode 100644 sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5.ebuild (limited to 'sci-chemistry/gnome-chemistry-utils') diff --git a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5-r1.ebuild b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5-r1.ebuild new file mode 100644 index 000000000000..39ccfb1ca63b --- /dev/null +++ b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools xdg + +DESCRIPTION="Programs and library containing GTK widgets and C++ classes related to chemistry" +HOMEPAGE="http://gchemutils.nongnu.org/" +SRC_URI=" + http://download.savannah.gnu.org/releases/gchemutils/$(ver_cut 1-2)/${P/_p*}.tar.xz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz +" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3" +IUSE="gnumeric" + +RDEPEND=" + >=dev-libs/glib-2.36.0:2 + >=dev-libs/libxml2-2.4.16:2 + >=gnome-extra/libgsf-1.14.9 + >=sci-chemistry/bodr-5 + >=sci-chemistry/chemical-mime-data-0.1.94 + >=sci-chemistry/openbabel-2.3.0:0 + >=x11-libs/cairo-1.6.0 + >=x11-libs/gdk-pixbuf-2.22.0 + >=x11-libs/goffice-0.10.12 + x11-libs/gtk+:3 + >=x11-libs/libX11-1.0.0 + virtual/glu + gnumeric? ( >=app-office/gnumeric-1.12.42:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen + app-text/yelp-tools + virtual/pkgconfig +" + +S="${WORKDIR}/${P/_p*}" + +src_prepare() { + xdg_src_prepare + + # We don't have openbabel3 yet + sed -i -e '/openbabel-v3/d' "${WORKDIR}"/debian/patches/series || die + # Debian patches + for p in $(<"${WORKDIR}"/debian/patches/series) ; do + eapply -p1 "${WORKDIR}/debian/patches/${p}" + done + + eautoreconf +} + +src_configure() { + # lasem is not in the tree + econf \ + --without-lasem \ + --disable-mozilla-plugin \ + --disable-update-databases +} + +src_install() { + default + + mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + rm -rf "${ED}"/usr/share/mimelnk/ || die + + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5.ebuild b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5.ebuild deleted file mode 100644 index a2d0737c7d30..000000000000 --- a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p5.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools xdg - -DESCRIPTION="Programs and library containing GTK widgets and C++ classes related to chemistry" -HOMEPAGE="http://gchemutils.nongnu.org/" -SRC_URI=" - http://download.savannah.gnu.org/releases/gchemutils/$(ver_cut 1-2)/${P/_p*}.tar.xz - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz -" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -LICENSE="GPL-3" -IUSE="gnumeric" - -RDEPEND=" - >=dev-libs/glib-2.36.0:2 - >=dev-libs/libxml2-2.4.16:2 - >=gnome-extra/libgsf-1.14.9 - >=sci-chemistry/bodr-5 - >=sci-chemistry/chemical-mime-data-0.1.94 - >=sci-chemistry/openbabel-2.3.0:0 - >=x11-libs/cairo-1.6.0 - >=x11-libs/gdk-pixbuf-2.22.0 - >=x11-libs/goffice-0.10.12 - x11-libs/gtk+:3 - >=x11-libs/libX11-1.0.0 - gnumeric? ( >=app-office/gnumeric-1.12.42:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - app-doc/doxygen - app-text/yelp-tools - virtual/pkgconfig -" - -S="${WORKDIR}/${P/_p*}" - -src_prepare() { - xdg_src_prepare - - # We don't have openbabel3 yet - sed -i -e '/openbabel-v3/d' "${WORKDIR}"/debian/patches/series || die - # Debian patches - for p in $(<"${WORKDIR}"/debian/patches/series) ; do - eapply -p1 "${WORKDIR}/debian/patches/${p}" - done - - eautoreconf -} - -src_configure() { - # lasem is not in the tree - econf \ - --without-lasem \ - --disable-mozilla-plugin \ - --disable-update-databases -} - -src_install() { - default - - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die - rm -rf "${ED}"/usr/share/mimelnk/ || die - - find "${D}" -name '*.la' -type f -delete || die -} -- cgit v1.2.3-65-gdbad