summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-31 06:54:41 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-31 06:54:41 +0000
commit3131cf845be639ee9b76584ff04b0023128a8494 (patch)
treee765c2a1e9864f8316d4f3660051429fe5d58118 /sci-chemistry/gelemental
parentmarked x86 per bug 428756 (diff)
downloadgentoo-2-3131cf845be639ee9b76584ff04b0023128a8494.tar.gz
gentoo-2-3131cf845be639ee9b76584ff04b0023128a8494.tar.bz2
gentoo-2-3131cf845be639ee9b76584ff04b0023128a8494.zip
sci-chemistry/gelemental: Apply all debian patches
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/gelemental')
-rw-r--r--sci-chemistry/gelemental/ChangeLog7
-rw-r--r--sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild64
2 files changed, 70 insertions, 1 deletions
diff --git a/sci-chemistry/gelemental/ChangeLog b/sci-chemistry/gelemental/ChangeLog
index 1279dfa530ee..5f48f621e546 100644
--- a/sci-chemistry/gelemental/ChangeLog
+++ b/sci-chemistry/gelemental/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/gelemental
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v 1.10 2012/07/31 06:47:17 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v 1.11 2012/07/31 06:54:41 jlec Exp $
+
+*gelemental-1.2.0-r1 (31 Jul 2012)
+
+ 31 Jul 2012; Justin Lecher <jlec@gentoo.org> +gelemental-1.2.0-r1.ebuild:
+ Apply all debian patches
31 Jul 2012; Justin Lecher <jlec@gentoo.org> gelemental-1.2.0.ebuild,
+files/gelemental-1.2.0-doxygen.patch:
diff --git a/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild b/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..1e548c5aed5a
--- /dev/null
+++ b/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild,v 1.1 2012/07/31 06:54:41 jlec Exp $
+
+EAPI=4
+
+inherit autotools-utils fdo-mime gnome2-utils eutils
+
+DESCRIPTION="Periodic table viewer that provides detailed information on the chemical elements"
+HOMEPAGE="http://freecode.com/projects/gelemental/"
+SRC_URI="
+ http://www.kdau.com/files/${P}.tar.bz2
+ mirror://debian/pool/main/g/${PN}/${PN}_${PV}-8.debian.tar.gz"
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="
+ dev-cpp/gtkmm:2.4
+ dev-cpp/glibmm:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool
+ doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc4.3.patch
+ "${FILESDIR}"/${P}-glib-2.32.patch
+ "${FILESDIR}"/${P}-doxygen.patch
+ "${WORKDIR}"/debian/patches/579183_adjust_size_middle_button.patch
+ "${WORKDIR}"/debian/patches/604612_fix_menu_category.patch
+ "${WORKDIR}"/debian/patches/604618_scrollable_properties_dialog.patch
+ "${WORKDIR}"/debian/patches/656372_element_renames.patch
+ "${WORKDIR}"/debian/patches/add_new_wave_theme.patch
+ "${WORKDIR}"/debian/patches/czech_translation_559028.patch
+ "${WORKDIR}"/debian/patches/fix_gtkmm_2.18.patch
+ "${WORKDIR}"/debian/patches/fix_zinc_german_translation.patch
+ "${WORKDIR}"/debian/patches/ftbfs_missing_limits.patch
+ "${WORKDIR}"/debian/patches/lp673285_link_in_about.patch
+ )
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_configure() {
+ local myeconfargs=( $(use_enable doc api-docs) )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install apidir="/usr/share/doc/${PF}/html"
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}