Skip to content
Browse files

FL-323 adding app-i18n/ibus-table/ibus-table-1.5.0.ebuild

  • Loading branch information...
1 parent 2f3cb9c commit 73570ab0414a5ce7c6ec4ce57adf85b02f63b404 @janzhou janzhou committed Jan 19, 2013
Showing with 55 additions and 5 deletions.
  1. +1 −5 app-i18n/ibus-table/Manifest
  2. +54 −0 app-i18n/ibus-table/ibus-table-1.5.0.ebuild
View
6 app-i18n/ibus-table/Manifest
@@ -1,8 +1,4 @@
DIST ibus-table-1.2.0.20100111.tar.gz 419886 SHA256 0ae9e4628059978bbfd51af89fed66ce2ee0841f40e2b6ecd2cd1e10f7368044 SHA512 201baeaa74c5488783c2a99f3192a258113324e18fc9e8e8214be74c433b1ed6fc87faeda7f987df16a707b8733c9855322ec5c4404738d9fdfec53a3aec254a WHIRLPOOL acaf643cd315cadb3bd033a20a83474da51a68d24ca155c61b9ab9185eeb7937226c28f069d12eedcc89edf86d550fb929f29e4ba0ee39ca90a2431e005df8d3
DIST ibus-table-1.3.0.20100621.tar.gz 421845 SHA256 c2c9604082bd3c50e76c2cd8494855485845147a6b9fe05d4fa1c4a2f6fd3324 SHA512 25192988b1194fc210545f967c4b5888cb790d12505c04cfbce54cacc013ad0e058de961b2321e837f50b41e44d4b9b77d687b4abd3654bb012c349b7d4099ab WHIRLPOOL 563892f540d3ac373d7817c4cf56bcd211376c764ef2eef60354633559dc20a12ba8066e5c755eb45f4e5f71d7c0e8cfb282c57e68d7f1826b79134246d43bdf
DIST ibus-table-1.3.9.20110827.tar.gz 428810 SHA256 99c5eee5175233d8ee5678d3a16ef3ed76c029eaeb9792d811345a02652f0401 SHA512 508197f2d862cd10c3818df032c014e03a9ba35cc4e16394dad448dc3efa8d0d53c361d8caadd6108ce222cca0841dfa4f0a76daae5edb1a51f31c7c6692205d WHIRLPOOL 78a2aeddbd4efbb83bde51f2ef6ec86edfa2f7c73139b208863985781c8b09b85de3659b1f51210cbe805d1cf9c0390892a04b62e1d848e5796e9bf1f6502ed7
-EBUILD ibus-table-1.2.0.20100111.ebuild 1049 SHA256 ab212725ae6393e2c473cfac24f4688d77d81aeec60165a6e1ad34176af0fc30 SHA512 9e0d7896d2b28e67944610ba62b3e352cc076d7ea4392914ec67d1df3245faf09fdacda165b623ae51a02a2861a9fccbcb663bbd71f467de61823036ad253f1c WHIRLPOOL 4c9330846e38e9b40df2f88202f4d5924269c08f55dda389885b948fb436289da392dfbe5b8c6bc65720f4ca889878af18a923ad50bbbb5e9c20d26935775078
-EBUILD ibus-table-1.3.0.20100621.ebuild 1271 SHA256 6d64497fef19471ff9a3232326f9b21dd0cb7c70b76dd1b07e809c2f5fd81d90 SHA512 8ae72f2ec34ea503decbf9effd0a903774139130f10ac5a01b046f5837e09f4a31bc6606c3921288a7d1b42da4f9a18d654aa56be13cc2b5dfcbb17a284c18ed WHIRLPOOL 83e8a6ab72934b4141c7bf449496d087c9b92f5ba37f1794070a30b6ece2dd519630085c330a0d1686fc41ac222e94a73fcfb119d51baaec2835fdf2ded56e9e
-EBUILD ibus-table-1.3.9.20110827-r1.ebuild 1309 SHA256 f61222faf4515ac88169c3ac37923ee0c134281a129e0948debc47f95ddfaa05 SHA512 2ebd83253bb2ac26156eabe29d7064bdb34dca309dc8b8b2e51c8cf51b707c43a1a26c206853e59c133da8e7137ecf0e7441c95058d288468d0e9818e5793030 WHIRLPOOL 12139ae563604c33d7e5e57a92096b02716f825c01f0eb044eb39f862580aee8809f956c9a6c04b93fb165046f5759efed741301b2b1104cd5d7a5cc812f5bd4
-MISC ChangeLog 5049 SHA256 96778947980cab14566266caafe90303b1b56fc17448a5f3f5aaabec76a6c02b SHA512 c9284d0af29ad582d4d7c8da7f2f3ff0c6be4d3e3141a12ee13f3aab472b92009b7f894a15df641d09756fb992869dd8b85648745eeee00d61ea760e1f1e2c5a WHIRLPOOL a01ed7afc94caabfa5d85d9213bfccd05680e3ef469b8b6c3f3c41419c71d1f93f74cb9e189714486fc126704e9c6e11fc881d3929fc37935d61f6e2ba91ebf3
-MISC metadata.xml 338 SHA256 605e8d771da4f356568218fc1c8cd3d0d08a038b1be72d6ab6baad5a4bfe84cc SHA512 3f7a8732027948edaa7f7ea5741816cca5ef01a154af971e8afb4fa50e9e79a31ec9538bf079073c1919e7a59c9cd0faafdc6ac9440e945082acf9315439c70e WHIRLPOOL 536ab0c1982bdfeab7ef900f3c968cf1823aa1d4ef057610626271283335f9c096b179fb2716f8f85c963c1f3b390b96928e861ccc3c4290d438965e42bf6ecd
+DIST ibus-table-1.5.0.tar.gz 432844 SHA256 6ba89c70c50773d43927769a2c608f71b282afbf3538188f65b9c89ebdc1a184 SHA512 2c52da1b4d6ae8aec29e97a8a413b388912cfcfd15860ba0e65c97b139b14f8a7d4087eb196d516abe731df03a2e4904666194414242da8cf1f3f0b54696248e WHIRLPOOL cec2ad28dd8fa936738e7e2ae1ffa3c0e96a6d5c6cf88c74a98ed0900c31464ba405c6e4449977936733dc28f3c7768f22bb216fca2a583f1679a7bcb596c39d
View
54 app-i18n/ibus-table/ibus-table-1.5.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-table/ibus-table-1.3.9.20110827-r1.ebuild,v 1.1 2012/06/14 12:37:38 naota Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+PYTHON_USE_WITH="sqlite"
+inherit python
+
+DESCRIPTION="The Table Engine for IBus Framework"
+HOMEPAGE="http://code.google.com/p/ibus/"
+SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=app-i18n/ibus-1.4.99
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( >=sys-devel/gettext-0.16.1 )
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+# mv py-compile py-compile.orig || die
+# ln -s "$(type -P true)" py-compile || die
+ python_convert_shebangs 2 engine/tabcreatedb.py || die
+ sed -i -e "s/python/python2/" \
+ engine/ibus-table-createdb.in engine/ibus-engine-table.in || die
+}
+
+src_configure() {
+ econf $(use_enable nls) --disable-additional PYTHON="${EPREFIX}"/usr/bin/python2
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/share/${PN}/engine
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}/engine
+}

0 comments on commit 73570ab

Please sign in to comment.
Something went wrong with that request. Please try again.