diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-08-16 20:53:45 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-08-16 20:53:45 +0000 |
commit | 59c653cc9a7af238114bd8a1a7b83eda32c60f07 (patch) | |
tree | b0137e134a47e2943bd6d81b5bf078c70bd9e731 /dev-db/sqlite | |
parent | Add default/linux/uclibc profiles to profiles.desc (diff) | |
download | historical-59c653cc9a7af238114bd8a1a7b83eda32c60f07.tar.gz historical-59c653cc9a7af238114bd8a1a7b83eda32c60f07.tar.bz2 historical-59c653cc9a7af238114bd8a1a7b83eda32c60f07.zip |
Version bump. Ebuild by Arfrever.
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-db/sqlite')
-rw-r--r-- | dev-db/sqlite/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/sqlite/Manifest | 22 | ||||
-rw-r--r-- | dev-db/sqlite/sqlite-3.8.6.ebuild | 167 |
3 files changed, 181 insertions, 15 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog index 71e8b97de8e7..b480c4dd6066 100644 --- a/dev-db/sqlite/ChangeLog +++ b/dev-db/sqlite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/sqlite # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.527 2014/08/14 17:25:31 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.528 2014/08/16 20:53:38 floppym Exp $ + +*sqlite-3.8.6 (16 Aug 2014) + + 16 Aug 2014; Mike Gilbert <floppym@gentoo.org> +sqlite-3.8.6.ebuild: + Version bump. Ebuild by Arfrever. 14 Aug 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> sqlite-3.8.5.ebuild: x86 stable wrt bug #518610 diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest index 88759d887b1c..da39eb80aba4 100644 --- a/dev-db/sqlite/Manifest +++ b/dev-db/sqlite/Manifest @@ -16,6 +16,7 @@ DIST sqlite-autoconf-3080400.tar.gz 1937306 SHA256 e22c4f7daabf76fd060f536d60538 DIST sqlite-autoconf-3080401.tar.gz 1937368 SHA256 17227492466bb29fbef30d94a7cc27ec799e36c5d4d879dedd331079a6d1bc38 SHA512 222868477a73b2f15ee95dbe244a724fd42ad6d6f7401fda0161ac40d13babed36e42cbafd154102dcab202f10576c4460143c634e31701381d314b2390e186b WHIRLPOOL 757ab7e34ef59ec2148f00ac5a879ade78a9617070ad42750ba49a4da0a0f3ec4a004a51990c914ce86bb8aa0ea24ec5d3e330e4a28172d3cb7fac04eaca5761 DIST sqlite-autoconf-3080403.tar.gz 1937379 SHA256 e0e995e23a324a5d6ae95d8a836240382a4d7475d09707fc469c8cafcbd48d65 SHA512 bfd2f8cea02497f3d3e3b4925bcf8156bacadfe4b711ae55339357fc91649a2fa59787e3a907ee49dd4ac441c1e980f3b29a5ec28d4c5d6323b92f69fb19be73 WHIRLPOOL 100963ed7c3f9cbe548f49130741baca2bd88973e898b153b3ab966e8cab0f288206b4b54899bb9509fc610308f1b4d35bc87bd9cb9248f8fbe1caecb5afb7a1 DIST sqlite-autoconf-3080500.tar.gz 1957050 SHA256 98c33abe4106e508e73fda648b2657ac9e969fe24695f543dcde68cc71f3091b SHA512 e1bb9148070dab712f305f3c1fd18419499199a77bb7b769e4f60f86c0a90e0d554fa878c161d22c2df58e7fefac5ac29b82ee0da972177f9581d296d973d7c3 WHIRLPOOL 4f333c9e55961c645cd058d6dbd9126ddd3d1d2b3fee4ecef830213112678d99bce40004d2eb869aeb1cfebecc5dce6817a5aae66d66e9e24edb5916fa498f8b +DIST sqlite-autoconf-3080600.tar.gz 1968379 SHA256 53bab14255bc16c3d73fdbe54b364c1764709d68dda167587f8026c98b9f4e95 SHA512 71cb9427c7d05bcd33b7585824bbcfe6b15b379b6c914eba1ec33c7517be158ee43a7f890db55463b811ec90d8a6b15f12336acba70ba01b39b33ff11a411890 WHIRLPOOL 5287cc6a662ad0655c2c8837653402ca2fdf2835e947b65122861ac7282053627b2b3eee7967fa2bdc30ff32d3f3f9812c4957bfa999e9c39e267f3aca9eb65c DIST sqlite-doc-3080200.zip 4272848 SHA256 384aa6735bd10e561820c4c61e7fd25f6b2416663f201151f31162741b868603 SHA512 b96de0be9ac2f7bbbe198c6b5ccf6b283aebe6d38533efdc384f20051b5a6c98bed6dadd13d2cc83f114200c15ea432e20d3e0aadf7f7000f618622f389efb8a WHIRLPOOL 348b7046a8111269e32f9e8023710c7f74401f6fc997396cd4853e1e4c804f26029d688b15333970f56d1a7404ab2cfdbeabe23a504974ea79a347408b8cba6d DIST sqlite-doc-3080300.zip 4600279 SHA256 5bf632eba7f9ce324dd9b345448cc7875e6ee081c9df2f7d7dd2fb3c0fb02a23 SHA512 cf48c6c6cf0e2513cb8f43387d4ff5328f039f951ba10fdd3f41d2d179e879f79039edfb1e0d5655b7555eff0e4bbb74c1de196fa8a51634a0ca1ad2909b62ef WHIRLPOOL 04cf870fce40759c1c66fa2f323e7d54c8e80fdc5c0bf55f8e3f4f7f317bcf72316b322065287559718e1a3af56c8bda11a17e4783d3b920d12c0808b169d8f4 DIST sqlite-doc-3080301.zip 4603427 SHA256 7af07481a18e52fd1d8269c249f452650dfd380a75ac8589b52b71d6402064f5 SHA512 fe268da4ace408a1228ecfd2e93b31e60aa62f9df82d234be44c823799be19b483ebc236631e85a20ddadae502394272ff25ea9c32e15f26ca57ba92c6b42b2d WHIRLPOOL 9b66fe4c356cd6f470e9f4fd21da0d587db37d64ec9948108bd88ad3924fa08e7373193a8fd5d285e36ec11d96e7be46af1e90caddc71f754715706739cbabd1 @@ -23,6 +24,7 @@ DIST sqlite-doc-3080400.zip 4609851 SHA256 ef4a95391731ea4d1396fb4de87a8d45916c5 DIST sqlite-doc-3080401.zip 4611830 SHA256 0810abeba630428db8d430f492fa1efbba1fe4e066131fe3cc1f7497e20902ba SHA512 6791b28268ff0a753f41fd1955d28e9732caf3f040b31e9a2ae5cfc4fdbfe445327bd924a8d2dfdea4eacbab3950e2ef3395b5d73552ab2e8fdc08a9f511ed79 WHIRLPOOL 3ae7c3ed0dda5fa999cd39638babd39b1dd0e469a05f8df3506f7fe7f80f8c8c55520cfb998380b08539583d9d069330945192be2b64c8b697f4c89692853cd2 DIST sqlite-doc-3080403.zip 4628472 SHA256 aacbcbac847168f97053518595ec1a5e23ed3eb8975fd91d133265f061ef1d53 SHA512 9822ed4a252fbb95d136d0f794bd8bcddafa97c17d7b673ccdaac844ef1bd4616526eedc6c128368d384c6ca8005ec552b1dc39cbaf03d33bf0988737173c337 WHIRLPOOL 1deab0effaeeb1a7a72485cd77a1f4c401b0af1259b6acd7bcc7208de5837ba149b35f3bd2730ca5ccb4f6b4f02974282ccfc918957304091d5cb0d4a7b31feb DIST sqlite-doc-3080500.zip 4446454 SHA256 d694c49f35d93f54fc714e749ea773e0d8cf2a8eb733d19b6749c27f9604929a SHA512 19c1e8b177b4b7c708f145b289337e3cbe4bc417887fff9f9ff608b86fbf62f83bd1a5b99714c513fb36b36184c509c7383d037fcddf91719a217bcd61542f43 WHIRLPOOL 2c6c745aebc11a1d7d369aafc3c083d0ae7e5225a7af532150875c352c534d823fc54ccf223e4bfea1a4578e60df74a6aac68e3aaec187c981f796a4701bd0f2 +DIST sqlite-doc-3080600.zip 4736026 SHA256 c187ffe719e35ab03970db4d1fb4a4865ae4f8d943ceaaa79f635a51d982ca6e SHA512 58bd1a58156e0d5d19c939d7a82b756c68635fe6b7ff8ae2189dcababb2b8c80de8fdb2646da9d8ec5381a716ca73f32f12d63a2be9336091d3ebbb90cc46d54 WHIRLPOOL 6339a21065d2948e6350cae84071528cf492735b83960959cd0ace1007a0c8ab9099d4bd028bc9d02422c4a07b05f8b3246fe93b48b75ae5ddb0587db0d985c7 DIST sqlite-src-3080200.zip 5522243 SHA256 aede689b0ce255036fa3631f7794dbf639438617343503c73a9e9c518fe386cf SHA512 65969b214d88e66c9ad55d78b6a1f624eab427679f8b21dc694aa843346d7891bf267e65380222220304ecd2561138ceb236fbea619a25000f03ea89dd7b26e2 WHIRLPOOL 1fe1d1c482c025c7cc28a3822088d04d39824db0b61e56782df15dc62383ab30409302dc6fbbbd2f36c3333dc3fc7539214038cf58be8e73cc6e0b25bc11a586 DIST sqlite-src-3080300.zip 5552384 SHA256 801af0d50c8bf0b648383a0a2c8f2b41a6d51aae9fda1ae9e64205410117c642 SHA512 f0a1fbd54e8da9fc5374b7a0a286439346c4c1753c9382f934c197f7111c5a3c0504961123691c9bea15d0058f13c53f4171735bd218fdec5922ca87606edb37 WHIRLPOOL 4123be5a67b93abde5873a218efbe1e89893b27ab455a6047425a861f368f89ac65c9eb58c49f321b4078e910b3bb30c50501607eb0dc64262f82ec5df489efb DIST sqlite-src-3080301.zip 5552847 SHA256 6701bf76f41cd2637081c86481a988be4284c805a5b509ce0f1a71b92c18d8cb SHA512 689601b3dfcecff05b609e4e75314ca247f2a152246ce096b855d605ccc0ddbec009b3468e7ed14bb341e2eaf1dfe9edde495d0e955f832c6817997e6bc898e6 WHIRLPOOL 762bf47a6ee45b6cca8187394475b589056d2d08125b5026c17145b00e5cdf36493d894ef0373f3d321337d65d65893f83aa15b0e99c97466b8f4a45b0d8bdf3 @@ -30,6 +32,7 @@ DIST sqlite-src-3080400.zip 5574963 SHA256 014d12ab3e1f51dde14a96170b9933bef8dc4 DIST sqlite-src-3080401.zip 5576317 SHA256 0052825fc8556bba3d448c90a1dd4193d235a00cf2d85e40ed0a1592b8d57515 SHA512 dc9ee32860a81618fdb1eda3fac67b7040e604b6b3d9a1d9d4e4660c4b0cad2541c73df634873f641c3e5a02d3fa2bbd8b3e84bca621ea656cc2bd8358127292 WHIRLPOOL def420b8dee07e68c85b999aeda0a35a24bfdd6fa0557a3ca18c70e5ed29d852c26a2dd4a62ba8e901b1e6b2af951558f7766d9367f26c37521645b8f779e1db DIST sqlite-src-3080403.zip 5576481 SHA256 f71c8677c5492e24243d2a82fe9af1a736d19d7240325b0345ede2bf59b0d17f SHA512 7d2b1e9123b220627334c8301dcc17b94732cdd434a50c30a8362a69965f086a415db4bccc0aa57b456de8553fdcd21f14d396f33321561ee3dff574631245f1 WHIRLPOOL b88455021e0dd3e57309120ab7e3996d1a297d751e0d4d40fc55506c580d70cea826e864ceb339865532abbee04a19a6c1d74a406c19d54a36c7e5737b5c1eba DIST sqlite-src-3080500.zip 5629667 SHA256 c600d494109d977d4fa924eb8b17a8051e1e0e7ec8312337d647478cf7121938 SHA512 b72c52334604c593d5a27a9d13dec69d4695f39d9ae202489ffca7b47730bb8f14e923ce230584dbf4a5918094002e4e3ae4771464a37aecb0835c96e301003c WHIRLPOOL 3543f026c4b414d101367c3d7330ad49836c64bf7c22870459b098394f1be59b50895905511403a184924f2d116e386a653e14ffb662b7452a3d18e2206408e4 +DIST sqlite-src-3080600.zip 5683499 SHA256 ffe524334ec012a27ab2d2687f35d2ed34286e2ba8f8e13dd9f1ec73ce9dce31 SHA512 92b11db11ddcd8c2e336af29b3f7c1bf39e6e2575eeca7cee20323065958b21df48316f7135757b2a9a31fb52b824064df22ce1ed44ce17ed60444d61f6620ad WHIRLPOOL fdcfda872b72a67709a2725025e06749114c0a6d62cf991e59397d43520a1147ec5356f4cd52fb94263f6fce49364a299dd6d546f7b7970866ccdade3b76b9ff EBUILD sqlite-2.8.16-r5.ebuild 2910 SHA256 690cfc49ed3711765baeb548b0ff5c064d985c5fcb5c2cb7232da14586b51faf SHA512 881d2aee7554af2c9b6caa2279e448531c733e6db1e8f3cdc9dbfd79f634f3f30bb9c2991ff8adee6a663a26a6a64658bd7efa1fb8f1e6877f61ff40b1556769 WHIRLPOOL 5e7c2abe2274bd4956e13eb326e95cf00466036583944feb4bc06f3648178d6ccbcbbc7386da099ceb1a5af94ab931e8208cb7833e0333b444962da80401fd8d EBUILD sqlite-3.8.2.ebuild 4932 SHA256 90d4089475dca8da4801dd3827fc60e157dbad86071399cb9da16702912bb859 SHA512 6b8b96708ab7cda8412e42222010039d5e0c2faea50e8cc97a8e3706f602b98ad402af621e0513701da30ea8c6b4074e61dbc63308398cc4deb1c5707bf6a81c WHIRLPOOL 92241f441aa5cbfe8bf453611dc20911784b287bff6092e4d7744602972b0b951e303c75b71cac8e99a1ded320d2858b76fe3f7e4618ae131c98a8e028cfd362 EBUILD sqlite-3.8.3.1.ebuild 5204 SHA256 e4bd792aede8475d6c07a65f6cdd0cf76ff4ff75768b75d613ae5ec2bc29bb79 SHA512 72c230135a0fed43ebfb30a00737c6ec7e7e511237bcacdf54b68b6499722dd75abdd0ffab1896e64c68aa6c9a46661ae8f0c9c1809cb4f7f443025355063bfb WHIRLPOOL bf45fb1f4cec7d3d2095b1b881ddb047ee75c51a87c497965a07778f928db5219f3ba5784a98c16f1570cdc667138cb48da4fc556b09ed2ebb2a8bddb68fc963 @@ -38,22 +41,13 @@ EBUILD sqlite-3.8.4.1.ebuild 5204 SHA256 63e23a900f5b4675c8bd9c7c900e90aeb68805e EBUILD sqlite-3.8.4.3.ebuild 5196 SHA256 ff5802500a83216e237b671e366d023685c1b44952dd84520b34d8767f471443 SHA512 d73a1a3455b4a87c6b4c1d51aec64ad2f33c04a9c01efcbae6402ea44cae6c33ac4c02c6c51de6de95a379789e21283d856bc7b753b8753b446814b862216d37 WHIRLPOOL 01aa380cb17358df1f2310407a4ad14a91abab16a1d7ef1d999f13a3433f96c8bab21ceb56cdaed9436547a58aa072919c1b7a257daa61e237440f110857a102 EBUILD sqlite-3.8.4.ebuild 5202 SHA256 7b18bced8da815304185cf2767d8418031872b2064cf8091197269d90cd37a87 SHA512 2f3dd4eea2811c6950ea54277c13ea9d72a6d52e8287c8b044de1c0481b2ec18b5083b579682b3b9dee634695ea50e71a12cce4e3788570744478c8725e43a75 WHIRLPOOL 1f1de28933901bda513e6e67bfa1b92ef2d7b74b091f6163cb921b13599b859161088c13c45c16830e8a2561a393a1272debc9a65907f7551e895824eeec18d6 EBUILD sqlite-3.8.5.ebuild 5202 SHA256 daa1a46c02613def39694fe97323baebcc17b8b89c4c179949c66ab3f8f5d128 SHA512 907b0f4c21087ebe1e59b91d900b05450bc4a9b5fd4e2894cc1b3fa1762facffd94f8b32479657ec003ee3a4e6cce390b07fc9923fe6bccfcd7e4b9a7a88b2be WHIRLPOOL 88fa010bab358192c2b1653693e1c9fe62801ce97b8aa09a9dc6ef37d392f9c8ff0daa070a912c90e5ef3e1df4332fedcb380df39224a198b6c540664fa24e08 -MISC ChangeLog 70601 SHA256 bed8ff5539f85180679b8e228c3e5825bb707d14c899c4c7d6a2222b21b7096c SHA512 210726cadd5cba0daacf5ac44d062397c42fc4589f078a5c5f5ac438044a6657eeaab3f14c916ed88cc74a10748567d841ec23dd6e877dd7f9cca1e08b380642 WHIRLPOOL b2b229fe3c85a503b2a7da7edb7ca6e17f106859bf7a5af3e5e4529821d4b4cae84720292aabbfcf279c324ba580666f958a7ccf54bdf03cf4c5b6a3c86cea1d +EBUILD sqlite-3.8.6.ebuild 5136 SHA256 29491da1536ff6e1f4051ac21b310ed95e82bda4a9276d6436eac631853f91f2 SHA512 e0cc0c1e8d40aba1587a0b0e4a611e6b499a35b836a8b99ad4e65c084e2b67fa6edf7eb49f2f7827469d3c496fbaddaadf8a058ef5854c25facbc230fbc86990 WHIRLPOOL 511950dd50e3b263580d22b197c28a717fb9fa401a181d2f2d52792d82df3e829e37b2564ab16a7286e12aa8d3d448ba27b1ee014c82d6e05dfd3dec50cffe16 +MISC ChangeLog 70735 SHA256 a8939879d187064825b3fff0dd0c32b243c26040d0ec25dc6e67620b44035f61 SHA512 88b3a526ae2364f0b61e5274693fb4cfb79f898230b10adf6b0bf72f1a21ec4e8b5aecf81035f32a3d0ccfcee3f62a0363e91986c5c5a597b820126733b3c33b WHIRLPOOL ceda5687222a1984386d8c5915261e411c478154f3c50c1b20ce8d50a7cc66b680a883336750415c7a08004eb5f357b42ccd9f18e96648a77fea4a81fe577ba9 MISC metadata.xml 543 SHA256 571057e6088209739a504dfe989b27dc875b6b3f7129c31d9789a6bf765ea97b SHA512 7c1b05707f92a0540bed3cf04d3e468a330a626a7bbbbbece43ba231cc3f8f14af9d220b345c72db9acf33e8eb3d983980113a780ba5a778ebab774d19c659a1 WHIRLPOOL 6c22bbeb965522912ebb10d1f84cd0900ee934d9d41052ecc22902b5aada7d057defa0e4c89850e3f92a6c96d38d701e4dd76e52e27d3807d67d08aa0cd23aed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJT7PENAAoJEE8aJVXqcZkd+nQP/3pkSqzKQy7zcd4S7T7U+lYc -hhhQsHie7lqJflP0Xj0EZOi5EtaNrJ+WAe73s+CDjIDTetDP7K/D7QVLGT8iHRM+ -SRr3FnjSYGXpOwFDdRKnml4A+4tn0opg74zr15+IuFlYdnUgGh5RwXCBYUrQvZxT -4ByVPQkzYMvI8tNKE97abiqv/l2bLN/DGIojdBqy3whWOu20qX1eYAF7WFJ/dvx7 -CfKEaM2q7WZBmJcTUNDRBS5mq+ZzcNy8N6RtZagveGG7HeKDKaV+l68uIE4BAjdP -k2JaJ1UA70z8MGwr0lVDmJdR5bTp5UNdAohV4ADC9+29EnKUzab3e+XSV/VTXBKF -R2AdLxA/JdaZ0QyUFde+r13XLq4f5zaMmeDD+9O0FBiHNPm6CyOlSXzLvb+4gTqb -578LQ/n7dRftjmAeRjoME6iT0Mp1yQho6vVSyfECScnyicfMxYupdjrMbSQ+DMMB -AEeT58TOjBVXCAjLjhgxk7BFL+AkjKlJOxeU0cVa3Ior7dvt9IkhuV078GiJkrV9 -Le3UqwVSHrCDCFF6dICXSMB7nONVC0Y5SJ0T929NwVuq21AMQuAuoR9zidiwTbNJ -SN96+x+9E7PfZKeohWPqJGXoRw13eeukl0sPzl9hSu4Nli8QmSjojf/olia7hVv1 -M6J7FfrHLjyOvRnLG6oO -=mXgf +iF4EAREIAAYFAlPvxNgACgkQC77qH+pIQ6TdsAEAl9qdeIiZrSXC+zl1S5ia2Odi +wpWbWmGcdTKjCpnnhBUBAI0cc+3hxNjVCfnybIwzwkJZCxiI1pbt2rCZaiSQGe71 +=X6yP -----END PGP SIGNATURE----- diff --git a/dev-db/sqlite/sqlite-3.8.6.ebuild b/dev-db/sqlite/sqlite-3.8.6.ebuild new file mode 100644 index 000000000000..d016703e732f --- /dev/null +++ b/dev-db/sqlite/sqlite-3.8.6.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.8.6.ebuild,v 1.1 2014/08/16 20:53:38 floppym Exp $ + +EAPI="5" + +inherit autotools eutils flag-o-matic multilib multilib-minimal versionator + +SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" +DOC_PV="${SRC_PV}" +# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" + +DESCRIPTION="A SQL Database Engine in a C Library" +HOMEPAGE="http://sqlite.org/" +SRC_URI="doc? ( http://sqlite.org/2014/${PN}-doc-${DOC_PV}.zip ) + tcl? ( http://sqlite.org/2014/${PN}-src-${SRC_PV}.zip ) + !tcl? ( + test? ( http://sqlite.org/2014/${PN}-src-${SRC_PV}.zip ) + !test? ( http://sqlite.org/2014/${PN}-autoconf-${SRC_PV}.tar.gz ) + )" + +LICENSE="public-domain" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc icu +readline secure-delete static-libs tcl test" + +RDEPEND="icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline[${MULTILIB_USEDEP}] ) + tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" +DEPEND="${RDEPEND} + doc? ( app-arch/unzip ) + tcl? ( app-arch/unzip ) + test? ( + app-arch/unzip + dev-lang/tcl[${MULTILIB_USEDEP}] + )" + +amalgamation() { + use !tcl && use !test +} + +pkg_setup() { + if amalgamation; then + S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" + else + S="${WORKDIR}/${PN}-src-${SRC_PV}" + fi +} + +src_prepare() { + if amalgamation; then + epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" + else + epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" + epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch" + fi + + eautoreconf + + # At least ppc-aix, x86-interix and *-solaris need newer libtool. + # use prefix && eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + # `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag. + if amalgamation; then + if use debug; then + append-cppflags -DSQLITE_DEBUG + else + append-cppflags -DNDEBUG + fi + fi + + # Support column metadata functions. + # http://sqlite.org/c3ref/column_database_name.html + # http://sqlite.org/c3ref/table_column_metadata.html + append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA + + # Support Full-Text Search versions 3 and 4. + # http://sqlite.org/fts3.html + append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 + + # Support R*Trees. + # http://sqlite.org/rtree.html + append-cppflags -DSQLITE_ENABLE_RTREE + + # Support soundex() function. + # http://sqlite.org/lang_corefunc.html#soundex + append-cppflags -DSQLITE_SOUNDEX + + # Support unlock notification. + # http://sqlite.org/unlock_notify.html + append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY + + if use icu; then + append-cppflags -DSQLITE_ENABLE_ICU + if amalgamation; then + sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" + else + sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" + fi + fi + + # Enable secure_delete pragma. + # http://sqlite.org/pragma.html#pragma_secure_delete + if use secure-delete; then + append-cppflags -DSQLITE_SECURE_DELETE + fi + + # Starting from 3.6.23, SQLite has locking strategies that are specific to + # OSX. By default they are enabled, and use semantics that only make sense + # on OSX. However, they require gethostuuid() function for that, which is + # only available on OSX starting from 10.6 (Snow Leopard). For earlier + # versions of OSX we have to disable all this nifty locking options, as + # suggested by upstream. + if [[ "${CHOST}" == *-darwin[56789] ]]; then + append-cppflags -DSQLITE_ENABLE_LOCKING_STYLE="0" + fi + + if [[ "${CHOST}" == *-mint* ]]; then + append-cppflags -DSQLITE_OMIT_WAL + fi + + # `configure` from amalgamation tarball does not support + # --with-readline-inc and --(enable|disable)-tcl options. + econf \ + --enable-$(amalgamation && echo dynamic-extensions || echo load-extension) \ + --enable-threadsafe \ + $(use_enable readline) \ + $(use_enable static-libs static) \ + $(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \ + $(amalgamation || use_enable debug) \ + $(amalgamation || echo --enable-tcl) +} + +multilib_src_compile() { + emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" +} + +multilib_src_test() { + if [[ "${EUID}" -eq 0 ]]; then + ewarn "Skipping tests due to root permissions" + return + fi + + emake $(use debug && echo fulltest || echo test) +} + +multilib_src_install() { + emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install +} + +multilib_src_install_all() { + prune_libtool_files + + doman sqlite3.1 + + if use doc; then + dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" + fi +} |