diff options
author | 2012-03-18 20:23:30 -0400 | |
---|---|---|
committer | 2012-03-18 20:23:30 -0400 | |
commit | c6a52db66774c61faba3181555b7e6d4fea021b4 (patch) | |
tree | 8a05f6294d81af6fd900eb977e4c0b82fdf669fa | |
parent | sci-electronics/gazebo: Environment variable should be GAZEBO_RESOURCE_PATH. (diff) | |
download | ezod-c6a52db66774c61faba3181555b7e6d4fea021b4.tar.gz ezod-c6a52db66774c61faba3181555b7e6d4fea021b4.tar.bz2 ezod-c6a52db66774c61faba3181555b7e6d4fea021b4.zip |
Initial import of media-libs/simplecv, app-text/tesseract, and app-text/python-tesseract ebuilds.
-rw-r--r-- | app-text/python-tesseract/Manifest | 3 | ||||
-rw-r--r-- | app-text/python-tesseract/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/python-tesseract/python-tesseract-0.7.ebuild | 21 | ||||
-rw-r--r-- | app-text/tesseract/Manifest | 45 | ||||
-rw-r--r-- | app-text/tesseract/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/tesseract/tesseract-3.01.ebuild | 100 | ||||
-rw-r--r-- | licenses/Ingenuitas | 12 | ||||
-rw-r--r-- | media-libs/simplecv/Manifest | 3 | ||||
-rw-r--r-- | media-libs/simplecv/metadata.xml | 11 | ||||
-rw-r--r-- | media-libs/simplecv/simplecv-1.2.ebuild | 80 |
10 files changed, 291 insertions, 0 deletions
diff --git a/app-text/python-tesseract/Manifest b/app-text/python-tesseract/Manifest new file mode 100644 index 0000000..1a50008 --- /dev/null +++ b/app-text/python-tesseract/Manifest @@ -0,0 +1,3 @@ +DIST python-tesseract_0.7.orig.tar.gz 513890 RMD160 cbacd740b0d0d40ffc00ea0d0ac1618731b67bad SHA1 852d719d44d856a0df4ba336ab1e30556e25366e SHA256 f4a85f7d7d78b7ac469a8fda95d2bf84bc4a8c2f90e70e9371499482cb00177d +EBUILD python-tesseract-0.7.ebuild 436 RMD160 4cd5aaa778fa751601ca9d3b685bb20851f971eb SHA1 6184492d00af60f7dda097b81abf38add5bc294b SHA256 fd75439df594342aa6c8ff3e88c3c5d7264750c60f82e95f12b26867d9b1b6ce +MISC metadata.xml 230 RMD160 65b1879f0881b046ac536157a1b73ae8e08a8a23 SHA1 14b143872462f3e5df4ac14bb0e872f1dc762ef0 SHA256 0ef810189a3667f1a7527037968f2b88fae043d5efcaaaa27e33287da96783b6 diff --git a/app-text/python-tesseract/metadata.xml b/app-text/python-tesseract/metadata.xml new file mode 100644 index 0000000..3510201 --- /dev/null +++ b/app-text/python-tesseract/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>mavrinac@gmail.com</email> + <name>Aaron Mavrinac</name> +</maintainer> +</pkgmetadata> diff --git a/app-text/python-tesseract/python-tesseract-0.7.ebuild b/app-text/python-tesseract/python-tesseract-0.7.ebuild new file mode 100644 index 0000000..109847b --- /dev/null +++ b/app-text/python-tesseract/python-tesseract-0.7.ebuild @@ -0,0 +1,21 @@ +# Copyright 2008-2012 Funtoo Technologies +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit distutils + +DESCRIPTION="Python wrapper class for Tesseract" +HOMEPAGE="http://code.google.com/p/python-tesseract" +SRC_URI="http://${PN}.googlecode.com/files/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + >=app-text/tesseract-3.00 +" diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest new file mode 100644 index 0000000..5dd2cdf --- /dev/null +++ b/app-text/tesseract/Manifest @@ -0,0 +1,45 @@ +DIST bul.traineddata.gz 848731 RMD160 cbcdb7532af8c03abb5f8bcdb5b34516b6a522e4 SHA1 a9efae5e347a36ea90bd2ad357e732ad4da47fd3 SHA256 fc3c650568d014f2337052658e9ddd8efaff6ac74c9a90952d740eafdf400e2d +DIST cat.traineddata.gz 995008 RMD160 3b1a5067e97e4c104ee766fc89cc47c261b55b38 SHA1 0301a9c81c1d646bd1b135ca89476fb63bd634f8 SHA256 dcc52db7522c67d2629117b7fde4c114ca51677f7f1efbedc12bf1e7319acde2 +DIST ces.traineddata.gz 1059966 RMD160 356bc1982be43cb89e1fa62b1af53a0f28d14444 SHA1 dbec19aa23f42a08e6b195a96e64b443f7519620 SHA256 9848a4c137be45659e29f4aa07ccb6357fd4401307478cce0ed5f8e6686480d2 +DIST chi_sim.traineddata.gz 19732398 RMD160 7a3e5f0f33f9869c10f793daee4883a5167eb178 SHA1 35f0254f159edeed509ec1e0779073bf998b6cdb SHA256 40c1cdf62106a0705807e8be5bee235a9e9efe716e22568e3885561a835d7d5b +DIST chi_tra.traineddata.gz 27512772 RMD160 590262a166a86f55177dde0dd0b10926a91c1ef4 SHA1 a9798de7e068d85613602aa33a153da721aadc82 SHA256 68ac2d83998b7f6e3fa26a58be8be5507e78185a16b3e106fe48a7b2667165fc +DIST dan-frak.traineddata.gz 683525 RMD160 3e2da733cb9aea235b5deb6ec2bd89a68ef9e6f9 SHA1 c0eba6d3ca688a04fd8e3ce45fdbbf20e8e67d45 SHA256 ddc9f75b6104618d0682c9c98f5fed1ec52b1b0d5a54d38a20b20f0ab5d9a32b +DIST dan.traineddata.gz 958449 RMD160 f354451e42486609ff631b5a3ba52134cc0a706f SHA1 bfac9c00d28fc4b19034c2098d41087a173084ae SHA256 2104d8b1cfde6fa960e31db826a101a356c77c3efeae6e78cab5a97e62f3410c +DIST deu-frak.traineddata.gz 827836 RMD160 899d849c87ca4adf3a7303b0208cd41e0754eb63 SHA1 5651562e0d944b5b89cc5977d71482089f12669f SHA256 59f005f735a33039d416f699bff0bae7d42e5ab000dca6e1aae99d99f3776dc5 +DIST deu.traineddata.gz 965684 RMD160 f5e26562dfb3259c0c6fca0c9d1a23589f6af981 SHA1 c4b3ecde18ce9f114faba88cdfd0308f90801266 SHA256 9e1845a69d5b6cf93d4fa05d5b8934e7cfaf8b088e6be9e8dac30c7859591ccc +DIST ell.traineddata.gz 944284 RMD160 791acfb5a60875d02e23ebc8c66243adedb5cf39 SHA1 b7a449fc320cc579a729c0352e5cc642f565e64e SHA256 f8cb765c40733a677fa470370b935c34cfc53ba8de372b33e83ab59c7407195d +DIST eng.traineddata.gz 742852 RMD160 d35ef8383c58faa6765e2eceb4da11fc688f488b SHA1 bf72c6c4542d67ce1d6def9d4e8432c7e98a654b SHA256 3ad150c58d59aa7f20e12bed0e15a33c988f5803d6cba8ef366aeec0c18d4e9d +DIST fin.traineddata.gz 959833 RMD160 a467774acf081aff2bd7fc5e1557eb1486336b6f SHA1 004d74d13f7b53cbefb86e2ba12bc67dce81d936 SHA256 30c05d403295fb659048b5d82db0d87c9cbee5077314e2b52f6fdca9c9ec8520 +DIST fra.traineddata.gz 933372 RMD160 97ab2fb064da5d7d15032fd1c5e87aa2f14dc1b3 SHA1 8d698bb3b659e862b3274970a57b3214de76f1ff SHA256 1d795f1da1ee20671ffbbf4b2997b424f459861b217c9ffa7abbeb72abd760d6 +DIST hun.traineddata.gz 1008061 RMD160 7acc341ed55ca61869c7876b8b37ac2a143abd5b SHA1 32ecad03877a841fbc0cb31c269214640008d604 SHA256 7b4d80703067fc5a8bf3da80f7da699f26a665a3e5ca93004fe353a1d6e74f60 +DIST ind.traineddata.gz 836752 RMD160 bc714068a10982dcf32816e823dbca6be63489ee SHA1 f4214ce40c5f6ef92085a8a45e9ff03f7cf7afca SHA256 9b2ee5ab2d33511f5fb8edbaee3d3a448cf8ab9efbf8e5c852d59481317e8218 +DIST ita.traineddata.gz 939956 RMD160 522f4110223c0da1894d39bc49fd1400b1527e2e SHA1 c166ba79256f6e7c1b993b2db7403d794131fe05 SHA256 a6cbaa39fddee521090e48d6a83b6f62e77b5fe7d90ab8ce9ee4d8ada10730f5 +DIST jpn.traineddata.gz 14604738 RMD160 47dba0ff10e9bd6979a31fa1ccc79b7d84775432 SHA1 6d605eee29e76fb841924916bd34095bbbbc45c0 SHA256 ebbde8c607a05cdd97d492734896a24b2aa17d5b4fb00e9597a96b39c1f22aa3 +DIST kor.traineddata.gz 6032090 RMD160 1aa22020b2bcdea7721d111065b2070191149e32 SHA1 37bcd8110a426714f54d99f58b30104b3014ce5a SHA256 8d4709341dbda7da9f42bb1d39c4d22d5ca767c2a30fbe36cb2ad152f092b01f +DIST lav.traineddata.gz 1018176 RMD160 eb1efa104597850e47cdae8fa70cc4f120959810 SHA1 b4efd308e725d743884f2984f804c82dd5382f63 SHA256 305173b54d836dae2f22e4f488734440a83e683636c033cafe066083738ceebc +DIST lit.traineddata.gz 1012936 RMD160 65aab59e4be61c3734645f96e688dbd81aa384b1 SHA1 7adbe396a281c0f87c0b95da7e84b5b6029e3dbd SHA256 1a04f9e952a76d430c2b9d16140f2d42f27c72a9bbd55b3e8f2b6e701ef0f399 +DIST nld.traineddata.gz 954151 RMD160 4026b44d7849a0c78d1831e00805f985ffad6421 SHA1 f7e3d46b1747a19158ac0797e859b65c56b5045f SHA256 2826628b0ff22fc3bb5d6e9d6901a39141b805b78084e0c9ab61f12c28747831 +DIST nor.traineddata.gz 951018 RMD160 36ee419e1ba3a49db749f15c5b204bfaee0bc848 SHA1 fb65dede5fbe120823ecdcb0c6cbd1222ae7e245 SHA256 c97cbfd93f676b331296b729d5526d1accc1325474a6b6d91260d03a1c862606 +DIST pol.traineddata.gz 1060352 RMD160 08197fede8151cfdef50a6d2e41c55f384d3f909 SHA1 a303fc31b4b60532b01b4ccdc838f02ff0113f27 SHA256 708e2c59cc4e6451e90fc1ef57b83b809bc354b9e0ef3935e9f181d2a718d5ce +DIST por.traineddata.gz 911645 RMD160 90a73ffdf23c3ca9cc1b30d5f30943c67f4f59a0 SHA1 883e5e1fa1d991ef6d202951ee9d26a71db181dc SHA256 25df33e4f6c55749d04a5307f1143e31a71a76b7417b91a531c686bf49308b85 +DIST ron.traineddata.gz 929925 RMD160 9755d5002e6dfd581003168bae24bc0697c89318 SHA1 c20c73a2e17f5fe692de0fe9ac681da3984229ae SHA256 367ccb440283e57e4e3f87cd0b97a59a07ceb920e09da8778feafe5e086a9892 +DIST rus.traineddata.gz 848490 RMD160 aeb8ab308499f2414c21f5299f2abf5082c6a282 SHA1 2740accefc45e4ae004269ccb195948b8037a583 SHA256 8ced9431d2b1d544fbdd362c36786e3804451da06093bc45acecad84829e5f7a +DIST slk.traineddata.gz 1091624 RMD160 4e661fce45076128455f2b2d0e60b93d67a8038d SHA1 16207e26d53504f98a7b1fadcb873dc4611149ec SHA256 037839ad756b9177f7d8f7bd3f01a3a1012094360c5c62a49abbde0a33389511 +DIST slv.traineddata.gz 930221 RMD160 854b6ec39d09ec210a7850d56573f5a77da37b6e SHA1 fbe464cd49d6a7495e6d95600d421aa2dd0b9d77 SHA256 bb7318f24972abc380688c67be86d07193e0294b252b60c648720978ad4a8b04 +DIST spa.traineddata.gz 910992 RMD160 92303810e9429ca5a9daa39e02a015a78ac09cd6 SHA1 7b30950749e84891fdef5f89409c3cf1b6418cd3 SHA256 5de0748b068f35c941e86bba622e23a376a6b084cb094007e7059714f1e030e0 +DIST srp.traineddata.gz 977674 RMD160 70ef247a50a72c5d551f2f7dc246275b9096a9b8 SHA1 47afc601b62998e4cc3f7403d846ba861f30b416 SHA256 542b83f62389ff8cc34746dd765345566ab368b63dcf275c223ecb52c2cb9291 +DIST swe-frak.traineddata.gz 1503568 RMD160 dd094a391eff0f62718655cf94eabdd5ff3d7a8f SHA1 22220ad4303ebe290e4e71170e96b488e81a7f1a SHA256 2cf1a0e1eb8a0e3f8477ebcde44d99a9229f2c20b2d96ecb1ca6c25db5c6fdec +DIST swe.traineddata.gz 959911 RMD160 7653dd8a57f75a9e240a8e256c7a4b20a2e91040 SHA1 55291e8ea664155ad51db867284c11ad1a1c5d00 SHA256 25331ca1f41378a86336604476049810a0c5350417205e300cb2d11048cec2c1 +DIST tesseract-3.01.tar.gz 3287629 RMD160 f254182870038068edb949714c3e989cd955e225 SHA1 c0b605d7192b3071842fe535c82b89c65f2d9c67 SHA256 c24b0bd278291bc93ab242f93841c1d8743689c943bd804afbc5b898dc0a1c9b +DIST tesseract-ocr-3.01.ara.tar.gz 6611108 RMD160 26ebacc37cff2a6386b7748f0fb62bd89fc55ebe SHA1 862b8dbfe655d31201229571b46512f18892760f SHA256 bc0781e71ae688eec172500e70b603cb5277785475c466a3704e5b9e5a805934 +DIST tesseract-ocr-3.01.eng.tar.gz 4306720 RMD160 71fedcc390097e6f25437342be57bc2c800eb5a0 SHA1 f2d57eea524ead247612bd027375037c21e22463 SHA256 89dceb9910dcfc21296645b289834269f9dd5ebeb819fe6b8d2f7fcbafd8c8b1 +DIST tesseract-ocr-3.01.heb-com.tar.gz 270977 RMD160 6433a5cbec6baf64b21a16bce60ca307f09f530b SHA1 d99e1192be540031f4bd30c7faaf759ddec1edee SHA256 20a9d53172a8dbf1a4bbd7f7e9e3a523a9435c47c751533642e8a9becc8584ff +DIST tesseract-ocr-3.01.heb.tar.gz 205379 RMD160 81326ae76cf8bb9ad222080787f976da32c9cb8f SHA1 648d9ea2bbf42f0410700a2afd02aaea64f89f28 SHA256 d5cf025c43453bc5327b2631133b6695d85ad0f700546220fddb72929fb86fc1 +DIST tesseract-ocr-3.01.hin.tar.gz 10104559 RMD160 7c732c22c0c9027e43fa267538f73449fb8211d6 SHA1 ad3137d84b917a4d5bd576bfd2c540d5c6645ae1 SHA256 e97e5d4fcbce0edbd5d3973d603efe7072db17d20e4e5243fe58803710f2a549 +DIST tesseract-ocr-3.01.tha.tar.gz 3794178 RMD160 aad3a39e2ec68e71870031a88e77b7ec426befc1 SHA1 fa1621c7d0dc871d140fdbd4eb326a09e37272d3 SHA256 5f8af525ebdfa789e0741351e808858e1a613b895becb138352d51b9fbd31322 +DIST tgl.traineddata.gz 978138 RMD160 669a4ea7bb6beac425070d8ba424f341eee447a9 SHA1 153ba1d0ddd209e1581d81d42fe5346f748e2f27 SHA256 d4d88e1fb31771d0b42e65291c03da3a167541df7c9682b81d833a4bd6c9e8cf +DIST tur.traineddata.gz 933401 RMD160 15cebea216b539681d7306cab3f31f2773cd93e2 SHA1 a01da62f3830833b258e2d46ce0f2852571470e6 SHA256 cb4e187f6c25c145252c88a576f3e3c9204c1d77e1c012172a85980c5c01088b +DIST ukr.traineddata.gz 927741 RMD160 0f040ec98453c38a0f19e90d7f34ab0dee8e9778 SHA1 06ceebfd91fa473d6d91f8a2856c66733bea0131 SHA256 a54f0ce0843c863f102bfe135939200fc18702ce61ae6ebc571ab49460849365 +DIST vie.traineddata.gz 1575539 RMD160 74826cef758cf5a8c561c2e6381e053e151a6a91 SHA1 9158748a63afe87e4e25b5f32c222555f2ad8417 SHA256 5f61c32daf9a7071ff0dc95415aed75276538813398e3debb3849bba70bda713 +EBUILD tesseract-3.01.ebuild 4878 RMD160 1b99abbf5ab918c4dea2ee6fb7235c368d12b348 SHA1 652a60343692f558a05cd2cb818620c124921f68 SHA256 ae4fcfb7150264fa716acf62e576678d3fcde90c4f1446d9669bc47e756f49ef +MISC metadata.xml 230 RMD160 65b1879f0881b046ac536157a1b73ae8e08a8a23 SHA1 14b143872462f3e5df4ac14bb0e872f1dc762ef0 SHA256 0ef810189a3667f1a7527037968f2b88fae043d5efcaaaa27e33287da96783b6 diff --git a/app-text/tesseract/metadata.xml b/app-text/tesseract/metadata.xml new file mode 100644 index 0000000..3510201 --- /dev/null +++ b/app-text/tesseract/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>mavrinac@gmail.com</email> + <name>Aaron Mavrinac</name> +</maintainer> +</pkgmetadata> diff --git a/app-text/tesseract/tesseract-3.01.ebuild b/app-text/tesseract/tesseract-3.01.ebuild new file mode 100644 index 0000000..aa5cd4a --- /dev/null +++ b/app-text/tesseract/tesseract-3.01.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.04-r1.ebuild,v 1.7 2010/11/20 11:37:09 armin76 Exp $ + +EAPI="2" + +inherit eutils autotools + +DESCRIPTION="An OCR Engine that was developed at HP and now at Google" +HOMEPAGE="http://code.google.com/p/tesseract-ocr/" +SRC_URI="http://tesseract-ocr.googlecode.com/files/${P}.tar.gz + linguas_ar? ( http://tesseract-ocr.googlecode.com/files/${PN}-ocr-${PV}.ara.tar.gz ) + linguas_bg? ( http://tesseract-ocr.googlecode.com/files/bul.traineddata.gz ) + linguas_ca? ( http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz ) + linguas_cs? ( http://tesseract-ocr.googlecode.com/files/ces.traineddata.gz ) + linguas_da? ( + http://tesseract-ocr.googlecode.com/files/dan.traineddata.gz + http://tesseract-ocr.googlecode.com/files/dan-frak.traineddata.gz + ) + linguas_de? ( + http://tesseract-ocr.googlecode.com/files/deu.traineddata.gz + http://tesseract-ocr.googlecode.com/files/deu-frak.traineddata.gz + ) + linguas_el? ( http://tesseract-ocr.googlecode.com/files/ell.traineddata.gz ) + linguas_en? ( + http://tesseract-ocr.googlecode.com/files/${PN}-ocr-${PV}.eng.tar.gz + http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz + ) + linguas_es? ( http://tesseract-ocr.googlecode.com/files/spa.traineddata.gz ) + linguas_fi? ( http://tesseract-ocr.googlecode.com/files/fin.traineddata.gz ) + linguas_fr? ( http://tesseract-ocr.googlecode.com/files/fra.traineddata.gz ) + linguas_he? ( + http://tesseract-ocr.googlecode.com/files/${PN}-ocr-${PV}.heb.tar.gz + http://tesseract-ocr.googlecode.com/files/${PN}-ocr-${PV}.heb-com.tar.gz + ) + linguas_hi? ( http://tesseract-ocr.googlecode.com/files/${PN}-ocr-${PV}.hin.tar.gz ) + linguas_hu? ( http://tesseract-ocr.googlecode.com/files/hun.traineddata.gz ) + linguas_id? ( http://tesseract-ocr.googlecode.com/files/ind.traineddata.gz ) + linguas_it? ( http://tesseract-ocr.googlecode.com/files/ita.traineddata.gz ) + linguas_ja? ( http://tesseract-ocr.googlecode.com/files/jpn.traineddata.gz ) + linguas_ko? ( http://tesseract-ocr.googlecode.com/files/kor.traineddata.gz ) + linguas_lt? ( http://tesseract-ocr.googlecode.com/files/lit.traineddata.gz ) + linguas_lv? ( http://tesseract-ocr.googlecode.com/files/lav.traineddata.gz ) + linguas_nl? ( http://tesseract-ocr.googlecode.com/files/nld.traineddata.gz ) + linguas_no? ( http://tesseract-ocr.googlecode.com/files/nor.traineddata.gz ) + linguas_pl? ( http://tesseract-ocr.googlecode.com/files/pol.traineddata.gz ) + linguas_pt? ( http://tesseract-ocr.googlecode.com/files/por.traineddata.gz ) + linguas_ro? ( http://tesseract-ocr.googlecode.com/files/ron.traineddata.gz ) + linguas_ru? ( http://tesseract-ocr.googlecode.com/files/rus.traineddata.gz ) + linguas_sk? ( http://tesseract-ocr.googlecode.com/files/slk.traineddata.gz ) + linguas_sl? ( http://tesseract-ocr.googlecode.com/files/slv.traineddata.gz ) + linguas_sr@latin? ( http://tesseract-ocr.googlecode.com/files/srp.traineddata.gz ) + linguas_sv? ( + http://tesseract-ocr.googlecode.com/files/swe.traineddata.gz + http://tesseract-ocr.googlecode.com/files/swe-frak.traineddata.gz + ) + linguas_th? ( http://tesseract-ocr.googlecode.com/files/${PN}-ocr-${PV}.tha.tar.gz ) + linguas_tl? ( http://tesseract-ocr.googlecode.com/files/tgl.traineddata.gz ) + linguas_tr? ( http://tesseract-ocr.googlecode.com/files/tur.traineddata.gz ) + linguas_uk? ( http://tesseract-ocr.googlecode.com/files/ukr.traineddata.gz ) + linguas_vi? ( http://tesseract-ocr.googlecode.com/files/vie.traineddata.gz ) + linguas_zh? ( + http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz + http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz + )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples tiff linguas_ar linguas_bg linguas_ca linguas_cs linguas_da linguas_de linguas_el linguas_en linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_ja linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr@latin linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh" + +DEPEND=" + media-libs/leptonica + tiff? ( media-libs/tiff ) +" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + mkdir -p config + mkdir -p m4 + AT_M4DIR="config" eautoreconf || die "eautoreconf failed" +} + +src_prepare() { + mv "${WORKDIR}"/tesseract-ocr/tessdata/* tessdata/ || die "move language files failed" + rm "${S}/java/makefile" || die "remove obsolete java makefile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS ChangeLog NEWS README ReleaseNotes || die "dodoc failed" + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins eurotext.tif phototest.tif || die "doins failed" + fi +} diff --git a/licenses/Ingenuitas b/licenses/Ingenuitas new file mode 100644 index 0000000..ea63904 --- /dev/null +++ b/licenses/Ingenuitas @@ -0,0 +1,12 @@ +Copyright (c) 2011, Ingenuitas Inc +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +Neither the name of Ingenuitas Inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/media-libs/simplecv/Manifest b/media-libs/simplecv/Manifest new file mode 100644 index 0000000..3023b89 --- /dev/null +++ b/media-libs/simplecv/Manifest @@ -0,0 +1,3 @@ +DIST SimpleCV-1.2.tar.gz 106841 RMD160 352b8d48335ad1ad35e11cf3152cd554a420383d SHA1 0a5c8b138a282d06be26e588449dfbc0853a35b1 SHA256 b280e8e63c563d383113b7c2222da978fc7746c6caae4599de3ff9e289b6fb78 +EBUILD simplecv-1.2.ebuild 1642 RMD160 147c01a8e7749cf2872093fdfdaf1607e5e848f7 SHA1 a4107b620df3882e678df95addcbdc35ec4121dc SHA256 a4e5fa752d9797da8d1cf05d2feaca1c5a7474693448af666f056bd85bd9e39b +MISC metadata.xml 311 RMD160 c08103361353ec43a9712d63bfb9eb8141126728 SHA1 7059e9a149775845d869f3aa1a61a9d379dad3dc SHA256 128c7e4c8d44860223a2f060bd602a165eed7824cfcf5ceab120963f971b97d5 diff --git a/media-libs/simplecv/metadata.xml b/media-libs/simplecv/metadata.xml new file mode 100644 index 0000000..1a92607 --- /dev/null +++ b/media-libs/simplecv/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>mavrinac@gmail.com</email> + <name>Aaron Mavrinac</name> +</maintainer> +<use> + <flag name="ocr">Enable OCR functionality through tesseract</flag> +</use> +</pkgmetadata> diff --git a/media-libs/simplecv/simplecv-1.2.ebuild b/media-libs/simplecv/simplecv-1.2.ebuild new file mode 100644 index 0000000..3dba01a --- /dev/null +++ b/media-libs/simplecv/simplecv-1.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 2008-2012 Funtoo Technologies +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +PYTHON_DEPEND="2:2.6" + +inherit distutils + +MY_P=SimpleCV-${PV} + +DESCRIPTION="Python interface to several powerful open source computer vision libraries." +HOMEPAGE="http://simplecv.org/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="Ingenuitas" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ocr test" + +DEPEND=" + test? ( net-misc/wget dev-python/nose ) +" +RDEPEND=" + >=media-libs/opencv-2.2 + dev-python/numpy + sci-libs/scipy + dev-python/imaging + dev-python/pygame + dev-python/ipython + ocr? ( app-text/tesseract app-text/python-tesseract ) +" + +S=${WORKDIR}/${MY_P} + +src_test() { + mkdir "${S}/SimpleCV/sampleimages" + cd "${S}/SimpleCV/sampleimages" + for im in \ + 9dots4lines.png \ + CalibImage0.png \ + CalibImage1.png \ + CalibImage2.png \ + CalibImage3.png \ + CalibImage4.png \ + CalibImage5.png \ + CalibImage6.png \ + CalibImage7.png \ + CalibImage8.png \ + CalibImage9.png \ + aerospace.jpg \ + barcode.png \ + black.png \ + blockhead.png \ + cam.jpg \ + chull.png \ + greenscreen.png \ + greyscale.jpg \ + hardblob.png \ + icecave.png \ + justapixel.png \ + logo-trans.png \ + logo.png \ + logo_inverted.png \ + mtest.png \ + ocr-test.png \ + orson_welles.jpg \ + pills.png \ + simplecv.png \ + statue_liberty.jpg \ + template.png \ + templatetest.png \ + test.png \ + troll_face.png \ + white.png; do + wget "https://github.com/ingenuitas/SimpleCV/raw/9e34e9552d287b3f308360cc152fea3398e93604/SimpleCV/sampleimages/$im" + done + cd "${S}/SimpleCV/tests" + nosetests tests.py || die "tests failed" +} |