diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-04 19:40:41 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-04 19:40:41 +0000 |
commit | 408815ca83ffdb5d75b04873949ef884844f6921 (patch) | |
tree | 9579860e9ee3bf3fce8b89be34771100380a03e6 /app-i18n/skim | |
parent | Remove old-style ebuilds (diff) | |
download | gentoo-2-408815ca83ffdb5d75b04873949ef884844f6921.tar.gz gentoo-2-408815ca83ffdb5d75b04873949ef884844f6921.tar.bz2 gentoo-2-408815ca83ffdb5d75b04873949ef884844f6921.zip |
Version bump to 1.4.5, use kde-functions eclass rather than kde to avoid unnecessary IUSEs and dependencies, export CC and CXX to use the right compilers when doing cross-distcc, translate MAKEOPTS into scons options to use parallel building.
(Portage version: 2.1_rc4-r1)
Diffstat (limited to 'app-i18n/skim')
-rw-r--r-- | app-i18n/skim/ChangeLog | 10 | ||||
-rw-r--r-- | app-i18n/skim/files/digest-skim-1.4.4 | 2 | ||||
-rw-r--r-- | app-i18n/skim/files/digest-skim-1.4.5 | 3 | ||||
-rw-r--r-- | app-i18n/skim/skim-1.4.5.ebuild | 66 |
4 files changed, 80 insertions, 1 deletions
diff --git a/app-i18n/skim/ChangeLog b/app-i18n/skim/ChangeLog index 7daa94a54c27..62daac8dacfd 100644 --- a/app-i18n/skim/ChangeLog +++ b/app-i18n/skim/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-i18n/skim # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/ChangeLog,v 1.40 2006/03/17 00:38:58 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/ChangeLog,v 1.41 2006/06/04 19:40:41 flameeyes Exp $ + +*skim-1.4.5 (04 Jun 2006) + + 04 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> +skim-1.4.5.ebuild: + Version bump to 1.4.5, use kde-functions eclass rather than kde to avoid + unnecessary IUSEs and dependencies, export CC and CXX to use the right + compilers when doing cross-distcc, translate MAKEOPTS into scons options to + use parallel building. 17 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> skim-1.4.4.ebuild: Move the .desktop file in FDO's suggested directory. diff --git a/app-i18n/skim/files/digest-skim-1.4.4 b/app-i18n/skim/files/digest-skim-1.4.4 index aec982afc294..a61de6559839 100644 --- a/app-i18n/skim/files/digest-skim-1.4.4 +++ b/app-i18n/skim/files/digest-skim-1.4.4 @@ -1 +1,3 @@ MD5 fb01a32b13008112e2b866b33f602e68 skim-1.4.4.tar.bz2 1071174 +RMD160 1001d43f32a2976e35e7bc46a04ef9c3ff1b20d9 skim-1.4.4.tar.bz2 1071174 +SHA256 8a3a8d3e59c685ec12760312e8c6788971c9a1b1f4820666ee8790d220b94a2e skim-1.4.4.tar.bz2 1071174 diff --git a/app-i18n/skim/files/digest-skim-1.4.5 b/app-i18n/skim/files/digest-skim-1.4.5 new file mode 100644 index 000000000000..5858ec07d986 --- /dev/null +++ b/app-i18n/skim/files/digest-skim-1.4.5 @@ -0,0 +1,3 @@ +MD5 35edfc72ed694c9fb3d3888edc3579e6 skim-1.4.5.tar.bz2 1075918 +RMD160 0ac73f48233cd85e047039d2942a9b9e2e8f2d86 skim-1.4.5.tar.bz2 1075918 +SHA256 7c7962d5b2d50a1150c04333e7bd23496cc23d9baa65ffde48f2192c85fde09d skim-1.4.5.tar.bz2 1075918 diff --git a/app-i18n/skim/skim-1.4.5.ebuild b/app-i18n/skim/skim-1.4.5.ebuild new file mode 100644 index 000000000000..041cf1b78c62 --- /dev/null +++ b/app-i18n/skim/skim-1.4.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 2000-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/skim-1.4.5.ebuild,v 1.1 2006/06/04 19:40:41 flameeyes Exp $ + +inherit kde-functions multilib toolchain-funcs + +DESCRIPTION="Smart Common Input Method (SCIM) optimized for KDE" +HOMEPAGE="http://www.scim-im.org/" +SRC_URI="mirror://sourceforge/scim/${P}.tar.bz2 + http://freedesktop.org/~cougar/skim/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="|| ( >=app-i18n/scim-1.3.3 >=app-i18n/scim-cvs-1.3.3 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +need-kde 3.2 + +src_compile() { + local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/") + [[ ${MAKEOPTS/-s/} != ${MAKEOPTS} ]] && sconsopts="${sconsopts} -s" + + tc-export CC CXX + + CFLAGS="${CXXFLAGS}" ./configure prefix=/usr libdir=/usr/$(get_libdir) || die + CFLAGS="${CXXFLAGS}" ./scons ${sconsopts} || die +} + +src_install() { + DESTDIR=${D} ./scons prefix=/usr install || die + mv ${D}/usr/share/doc/HTML ${D}/usr/share/doc/${PF}/html + + # Install the .desktop file in FDO's suggested directory + dodir /usr/share/applications/kde + mv ${D}/usr/share/applnk/Utilities/skim.desktop \ + ${D}/usr/share/applications/kde +} + +pkg_postinst() { + einfo + einfo "If you want to use Chinese interface, edit your startup script" + einfo "such as .xinitrc to incorporate" + einfo + einfo ' export XMODIFIERS=@im=SCIM' + einfo ' export QT_IM_MODULE=scim' + einfo ' export GTK_IM_MODULE=scim' + einfo ' export LANG="zh_CN.GBK"' + einfo ' startkde' + einfo + einfo "or if you prefer English interface," + einfo + einfo ' export XMODIFIERS=@im=SCIM' + einfo ' export QT_IM_MODULE=scim' + einfo ' export GTK_IM_MODULE=scim' + einfo ' export LC_CTYPE="zh_CN.GBK"' + einfo ' startkde' + einfo + einfo "and start skim and SCIM by" + einfo + einfo " % skim -d" + einfo +} |