summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-05-04 03:22:48 +0000
committerTim Harder <radhermit@gentoo.org>2015-05-04 03:22:48 +0000
commitb71fa11ce06c149b5910157df0e4d25d721047f8 (patch)
tree8b94592d4e2cdbd947c2452a804c9cef7ca8f6b4
parentRemove myself as maintainer. (diff)
downloadhistorical-b71fa11ce06c149b5910157df0e4d25d721047f8.tar.gz
historical-b71fa11ce06c149b5910157df0e4d25d721047f8.tar.bz2
historical-b71fa11ce06c149b5910157df0e4d25d721047f8.zip
Remove old.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x4F064CA3
-rw-r--r--dev-libs/protobuf/ChangeLog7
-rw-r--r--dev-libs/protobuf/Manifest21
-rw-r--r--dev-libs/protobuf/protobuf-2.4.0a.ebuild126
-rw-r--r--dev-libs/protobuf/protobuf-2.5.0-r1.ebuild124
-rw-r--r--dev-libs/protobuf/protobuf-2.5.0.ebuild122
-rw-r--r--dev-libs/protobuf/protobuf-2.6.0.ebuild126
-rw-r--r--dev-libs/protobuf/protobuf-2.6.1-r1.ebuild133
-rw-r--r--dev-libs/protobuf/protobuf-2.6.1-r2.ebuild157
-rw-r--r--dev-libs/protobuf/protobuf-2.6.1.ebuild126
9 files changed, 14 insertions, 928 deletions
diff --git a/dev-libs/protobuf/ChangeLog b/dev-libs/protobuf/ChangeLog
index 6815aa84407f..697d8ed949ef 100644
--- a/dev-libs/protobuf/ChangeLog
+++ b/dev-libs/protobuf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/protobuf
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/ChangeLog,v 1.83 2015/04/25 11:53:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/ChangeLog,v 1.84 2015/05/04 03:22:45 radhermit Exp $
+
+ 04 May 2015; Tim Harder <radhermit@gentoo.org> -protobuf-2.4.0a.ebuild,
+ -protobuf-2.5.0.ebuild, -protobuf-2.5.0-r1.ebuild, -protobuf-2.6.0.ebuild,
+ -protobuf-2.6.1.ebuild, -protobuf-2.6.1-r1.ebuild, -protobuf-2.6.1-r2.ebuild:
+ Remove old.
25 Apr 2015; Jeroen Roovers <jer@gentoo.org> protobuf-2.6.1-r3.ebuild:
Marked ~ppc64 too.
diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 02a7ba92e795..7be29e0aaceb 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -7,28 +7,23 @@ AUX protobuf-2.3.0-asneeded-2.patch 705 SHA256 558ea98a54e544919837f88d133b8887a
AUX protobuf-2.5.0-emacs-24.4.patch 408 SHA256 1ca039e40ad6379302aeb1a2eb5391c66cef07a5e8e670fa4bac5bfa5fc4e3fb SHA512 243d468780ab65911d791f09f7584287cc4a4b368f7fb3ce517ef01345f1cf26ea5a4c2b264b857aaf5b0c110ff18a22b96020f0602019eae5bd9ddc8526e93b WHIRLPOOL 57a83062ffde2ebb2641899cc7dad57fda929a51d3c194db188dc3f53548c15ba4564eefcb13435d848a57d1ae5cfca6036e65a2987e3590c34f2e85536e2e77
AUX protobuf-2.5.0-x32.patch 677 SHA256 8a4378b5b84cf1b91e88344eead7c3e8f3ae848540e7a850bff48994704e8752 SHA512 fa28941ff21785505f616e4da4be964e18de5d52a25224059431054ad7853693ca4281819d690e76eb4064d9d7b729eb1ad10388d43d437b975e62b66f5de1bc WHIRLPOOL 2ae6b2dd9c6d9f63ae2d8caa630e4720d66a30ac3e21bf135f10d4b567a08fecd8757b575a749a95050c6b673b787c09b18f48452cc7d0eaa019b8aa5903d3d4
AUX protobuf-2.6.1-protoc-cmdline.patch 11184 SHA256 c931fcf5b0484d41465e9bc11598379fcdc85d58a882ea209795e5858b5fb4b4 SHA512 17855acd577412866e6e0a515e4dd754ae5aa9e75a9fdd44bb80f4061b28bda1bee5a45671819021ac1487852c20e2404f79ef13b711140cf204cbfb6142ad36 WHIRLPOOL 310f58414cc6ae642d19e29dedce7c6f2d6ae3e0962d526b7421ccf37078372ad046b29206336794898c9ee8f22cc08f0b441db44538174ef19ba50c45513af9
-DIST protobuf-2.4.0a.tar.bz2 1508837 SHA256 cef863023fb051b0f7e8f47b53fe57f7277a7743d644eae9563fb14db5bd7e4e SHA512 c099f75983a79a4fdc2c3bf44e748074000903fe89e65a74caebe191dbb46da01b3b023b5f4f1fec86f35f15c16d5863cad102ebc0c975f4c4662ab64694d9db WHIRLPOOL 5fe8b4aadefceadfcf42aee54d4133ada2c52a9f4e90e0cbe8ba1a92c887bc12c4e9eec6b2df68ab252dbe9358a85a789804c0d1f5612d62e6c03ebf380c5100
DIST protobuf-2.4.1.tar.bz2 1440188 SHA256 cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf SHA512 52b0208c685e44126cb3915a74bde692ef91430f0407144b6c30b72a9f143b1ee4f1eea47a550184c689a1758b92582e7f26f0683c2d387205b957a69830f2f3 WHIRLPOOL e5462ff35f63413aff58640c24b9b561ac55749c489803ae009de21bf5d954a77516714361353ef02cfeb3c2d762620c89dc08a5fdee571e3a33b6f5c20edf6e
DIST protobuf-2.5.0.tar.bz2 1866763 SHA256 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 SHA512 5994b3669808b82fef5c860ecad36358c0767f84acac877e7bfcf722e59d972835a955714149bdd4158fbd1328a51d01397a563991d26475351ee72be48142ee WHIRLPOOL 7e6786e1f20bf253d0e386a95c2bbfe1b443f484d492f97552cadcea62c24461436aa88130e3ff20b4dc9f352c101458cb8c03686f1cc4e6e2133b6e78f5b70d
-DIST protobuf-2.6.0.tar.bz2 2021255 SHA256 0a2f8533b2e0587a2b4efce0c4c8aea21bbfae1c41c466634d958dedf580f6aa SHA512 a59a6d28d1653335fee42eff074f54b317d79d50361ed27d16502012ebb68bf7932ff80be4ce1588829940d6fdf77d113536ee3b27b72959577527ca488eddab WHIRLPOOL 6897269aa6f0952ce19b42a0fa086de885ffae61d19c0edf5dbe69ac952426462cb826b451e607150ee066ec7866c870aff6cb3424837d1914ee0d762f304a37
DIST protobuf-2.6.1.tar.bz2 2021416 SHA256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 SHA512 8b092b87fcd79223db199cd3d330f3d43689b47f345aa4e34028dcf1680d609a5d5a89ab08588e817b566d3b265834c38f1db580bc1c144b512ce74d35f2a174 WHIRLPOOL b8d7f5e6b85670520435fd1107eb67035c822c2dad9689dadc29754de3bf8076ac256cf3fe3e719e99c0ccb03ed78edecb91afbe96b611073b60ae3fb3f29b1a
-EBUILD protobuf-2.4.0a.ebuild 2985 SHA256 d8a843e40cfa37f4f45b524d661e482b45bab9f59983b297e8960907981312b0 SHA512 65d6688963cc0e7ba6fafcd69be0917993d8213e23760ad2d4659dce555c2639bd7ffc4571c699eea4d4b192c24f0371cc37c94ac05f29f151b5dec82c491dc3 WHIRLPOOL 32335b6e04f6ac2fd6264d548106b1ccad2959911ac43391bcd1a6663aa595a9f46bdd2decf599bc4d085636c3ec8e30501f3908cdaae9b41dc59020014ad6c8
EBUILD protobuf-2.4.1.ebuild 3035 SHA256 5c8690b49a5b80b8a4adf028a0d45f0f4ddfdae05e9ba8245f48814d50fc1185 SHA512 1e71dc30d60cab213cfd06c03dc01206ff29740cb852ec8ef87eeffc550af2df2fd4bd396ed900fd0125ce08c469820ab45967cbf46a6514f7e447a1e1bdfa29 WHIRLPOOL a66587c3c187601ac9398a53be03055e0d013d3f16a6fdb4f62e007aa8c469bed9015c480f69734915751df2930a2d589f0bac599cbebed895d1bd1fceb616c0
-EBUILD protobuf-2.5.0-r1.ebuild 2953 SHA256 2c8c0cb183ead6f8824f18e0c7cad0f528f63f511477766a34fb70167cc99396 SHA512 3a9e7054f7b32625b97b8fae446f05f620c073525213f9fd238adb2156d62b8e1204de645c5e499354e0c88dc2f8f6eb8afa798ec4a43966707e83c75babd238 WHIRLPOOL 20a1b4fed2ebc799d728318492bf762d81b0f186d5383cf4489856629a0514b5cb4c34fa85f1f144602f3f113d2f69135b73a543244b02d62108a008686b9fe7
EBUILD protobuf-2.5.0-r2.ebuild 3261 SHA256 48f6ecbd88826d7e7e78eaf8886483a176c1577c58d4337e61fdc3fc9faf655c SHA512 4049835dbc902daf7fe4c29610fd70f7f398d54abef6a1a3708058e899ea135830cf2400a85dd56f3e64caaada3775a69412516c61873e70ad34f00a8aaef99f WHIRLPOOL 0e0cd34b1d2da8880289e55aa897a2dde32ca6c17e26014720225a2746d92c33edb6ff6b462cfc86b0600aa8fd340917ee6c7ab141c08fe475b8f9a628f2ed0e
EBUILD protobuf-2.5.0-r3.ebuild 3429 SHA256 4c4a22dec5d74250a474f17bae9d643de9e582f7d794083cd2907f2c387d6bcf SHA512 61d8c77b1b15a4ddff6b50d1f3787addf0eaa02cb20664edc5d4bb7d32c0abf0afd403459d76730e789fbe3d3f1f09f046ff250bd3e4ea38b51d9aaa11c2dae4 WHIRLPOOL cb09f70ba472a260f8e2b57730361fc3265735cbf93460c4236209bb7266758cf8de4a418e3b125fb24923cc8e4e139d7b52a98146dbc3a541d91bff543ae854
-EBUILD protobuf-2.5.0.ebuild 2892 SHA256 f421919e800f01ae0ceb0bbfe249ef3d1037bcae53e49bd8673fa8d13a55e887 SHA512 c9eaa44c78f92cfa72c8b4cff68475f97172919716c8a83830f83d9295da8e9dcbee6538f517377bf1c9e911715422ee1beeec278cb9e4e7743a9657f1db6865 WHIRLPOOL d2a09823b9a2bf26bf326130e6bdf76c595757e1e1e420bd686597567cfb35b604d729b1cb78fc2db70bd6bb89a65b0aa3e358eff1af37a9569002a66fbc4abe
-EBUILD protobuf-2.6.0.ebuild 2997 SHA256 8e7a679c4b2f353305c79cbe42eb59bb39138b2e6fdee6e03c8861cacbd9ea42 SHA512 00eaa39d421ce1c1a0f785d152f176714b585d24a7eea8f0248d37a58828b78927f3d6d34b6d15614b654afa8f74a30a07fb53bbdfdaaa4c3e9e8b4defadac1e WHIRLPOOL ef38db8a47623bf58cd353566307dcc602562caedb69f5c41680ba0070dc2b87d1534ae3ff6138d9206bd3f46f0e9f7e8d06f09e079d21953393eb16e420fde9
-EBUILD protobuf-2.6.1-r1.ebuild 3337 SHA256 cc3e48567a7e953bfd2cc825e7542e1c39581ed967a5c1831e4969fa57d527c8 SHA512 de3a31a1172280fa5a3fbb9b2ae930498549be290b004b17b5df736a5aaea9ca0c8dfb9d164980c6e8766179dba697c2969e2ddcc6281dcc4de9049a0544fcea WHIRLPOOL c09728fa06d082cae72dc8b349141a31c4e270e5cfc6c77252fd42a028d08a259794c0535f2fa22e51cf2ef5a15f7e0862d35e3e8a89a60bf127fa8a2dddc540
-EBUILD protobuf-2.6.1-r2.ebuild 4041 SHA256 d211e5077378c3021b69e61296e65fbbd527d3a0f377e55ef787b8a0905b91b2 SHA512 6f491877cd41ddcf5ea872f35243157ee7a73a370af14e55a5d9671ea058fdcae909ccecd5408a79811270a615bdbb3fdcdec98fbb1f10537c527c82892e75d6 WHIRLPOOL 1142de82a9e332cba3305d146f7faa3255affa0650eeecf9f600dafaae73dab91ec47cad22debd01f47b8136eb94d33d520fd24c27482cec838bdcd33c4713d4
EBUILD protobuf-2.6.1-r3.ebuild 4093 SHA256 d445ea8b61952014ad3813c772fb11ccc6f390168da77c157ca012f6bd4b9e14 SHA512 29a061684e62e8dee8b173027ceb939adc42b2f84126d95da88ed072106f62f80e41b3b00f211c5c6d9f3b236d5c1fc043cdbfa264660be34b307a4677661cf2 WHIRLPOOL 2e2165510be79ed7f9d923f847941e8c368b27ad97dbc93397e09bca238435653f587344c841d997d639599b0cc78f4eb553af37fdf317b773fe3c64fdc86b4d
-EBUILD protobuf-2.6.1.ebuild 3016 SHA256 4eeb189f80d262542237155d9bd6f82954159a4bb115e4afed0c7e580ccb80e8 SHA512 b98cf5ebd67b82e565cd81f41fbfbf2bce05375e00999f494b7d8f518001476ee42c7eccf21ce2d0bd5f01cb7db611779eb77207cee2e921c03250561a3ef3eb WHIRLPOOL 45a1a31272750d1071030d240a37150c3bad9a9c4bee0fca7719bd9e583b7a9df98356e53f0034232e454161fb925d8f7d119380fde133588a1016f43be0d8b5
-MISC ChangeLog 11791 SHA256 c5006f5fdf248108334db1c21bc29a3c6f1ba1c90f551d5360c70086f9b1aa0b SHA512 161b48b4445c1dd8e230e3d8327d34cfa57fcae81f21ded3daac6d1773767a6e4d19a43e3ede25591e3d14161c1033bd2189cb9426d43935409008e0f0773d28 WHIRLPOOL 462eef8f00141c66208cf2e95cd11739297892477baf5e3e486a072a129acc751cc3a381e1c8fe6a53989cea690e4a3279e2202cd6e74c5344245409b4ecc7d4
+MISC ChangeLog 12043 SHA256 10fed2c71e4e2a63e562d5a37e46d0fdf42b3f716bf0621732e07c5f6cf2b2c1 SHA512 44a6f816e6dc879a0047a05cf2be503175773788cfeecb1a034cfea8e078dc03c2c65c94c8496abb5ddb24e510cdb0716314a112dbead4f7eea11d46ef8717aa WHIRLPOOL 15ab44c1fcf5ba92fb961197db0ebe23a47ff3dcf46005afb305174e6f55284f2dc045ebf26036086bbde49ebbaaca3079622e060cd32a37c995200a9dbf75ac
MISC metadata.xml 310 SHA256 ded221b688b4ab4cd456b3036ee01a31add94142274b764939cc61e80ffebeb3 SHA512 eceedb3555bfc87b1b18c092aac4b79e53d5ea6eaa250e203e51e362bf63db29ed0c23725a276343cd78af56ae2ecbacab96c9ad1d0221b17d0560b85e5c1eda WHIRLPOOL a04e0304a373392f179b8a782719adf2d812cbd170c8eee33dc1ad178b8b09497b57a555fcb4288d104713e586346817166b6f8940661946cd71f928c52706ae
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlU7gCAACgkQVWmRsqeSphMGCACfXAOEZIB6sd+x2T9Uy0/Bk6It
-GTgAn0aCvf7LOmiEnBgvkcKTqkekA9Yu
-=emxW
+iQEcBAEBCAAGBQJVRuYDAAoJEEqz6FtPBkyjevkH/3ggWduI0ugdLX6KFtgP8wn/
+f45Z0vXKuvHZG4PBkm1gxiktTzX9Wi0VIxeH2YZK/qkxIVERpvfAhYq/LmCnbT6C
+5P3nVee61Ra4pW2IrySGy5eO7Txi/ru9KuoXOSljgQ/k/Sj8fEkCDLYK9B0YEMEi
+nLfTjlqQ5X807/aZLqtetjUnwBl+EPAXS5Uun4QUWQTz26jY7+l1Kju0M+cj7VNU
+DmaQP0Ds50KQdsSUbEyiT4IgdmMMQX6JCLxUT0HnMHuM7e6a/9Im8EoKtHFY7xkk
+3ZNKL+Z2v74OlLeiIGnpp/JwU2kTgRf+XsNlyicTetmbMOLs1FSwURn7cXsiG/E=
+=Dow/
-----END PGP SIGNATURE-----
diff --git a/dev-libs/protobuf/protobuf-2.4.0a.ebuild b/dev-libs/protobuf/protobuf-2.4.0a.ebuild
deleted file mode 100644
index 0c0aac126928..000000000000
--- a/dev-libs/protobuf/protobuf-2.4.0a.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.4.0a.ebuild,v 1.10 2014/08/14 00:03:40 jer Exp $
-
-EAPI="3"
-
-JAVA_PKG_IUSE="source"
-PYTHON_DEPEND="python? 2"
-DISTUTILS_SRC_TEST="setup.py"
-
-inherit autotools eutils distutils java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 -hppa ppc ppc64 x86 ~x64-macos"
-IUSE="emacs examples java python static-libs vim-syntax"
-
-DEPEND="${DEPEND} java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools )
- emacs? ( virtual/emacs )"
-RDEPEND="${RDEPEND} java? ( >=virtual/jre-1.5 )
- emacs? ( virtual/emacs )"
-
-DISTUTILS_SETUP_FILES=("python|setup.py")
-PYTHON_MODNAME="google/protobuf"
-
-pkg_setup() {
- if use python; then
- python_set_active_version 2
- python_pkg_setup
- fi
- use java && java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
- eautoreconf
-
- if use python; then
- python_convert_shebangs -r 2 .
- distutils_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use python; then
- einfo "Compiling Python library ..."
- distutils_src_compile
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd
- jar cf "${PN}.jar" -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}/editors/protobuf-mode.el" || die "elisp-compile failed!"
- fi
-}
-
-src_test() {
- emake check || die "emake check failed"
-
- if use python; then
- distutils_src_test
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
-
- use static-libs || rm -rf "${D}"/usr/lib*/*.la
-
- if use python; then
- distutils_src_install
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}/proto.vim"
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el* || die "elisp-install failed!"
- elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/* || die "doins examples failed"
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- use python && distutils_pkg_postinst
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use python && distutils_pkg_postrm
-}
diff --git a/dev-libs/protobuf/protobuf-2.5.0-r1.ebuild b/dev-libs/protobuf/protobuf-2.5.0-r1.ebuild
deleted file mode 100644
index 2045e7218f46..000000000000
--- a/dev-libs/protobuf/protobuf-2.5.0-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.5.0-r1.ebuild,v 1.4 2015/04/08 17:51:55 mgorny Exp $
-
-EAPI=5
-JAVA_PKG_IUSE="source"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools eutils flag-o-matic distutils-r1 java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0/8" # subslot = soname major version
-KEYWORDS="amd64 ~arm -hppa ~ia64 ~mips -ppc -ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="emacs examples java python static-libs vim-syntax"
-
-CDEPEND="emacs? ( virtual/emacs )
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${CDEPEND}
- java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools[${PYTHON_USEDEP}] )"
-RDEPEND="${CDEPEND}
- java? ( >=virtual/jre-1.5 )"
-
-src_prepare() {
- append-cxxflags -DGOOGLE_PROTOBUF_NO_RTTI
-
- epatch "${FILESDIR}"/${P}-x32.patch
- if [[ ${CHOST} != *-darwin* ]] ; then
- # breaks Darwin, bug #472514
- epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
- eautoreconf
- fi
-
- if use python; then
- cd python && distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- default
-
- if use python; then
- einfo "Compiling Python library ..."
- pushd python >/dev/null
- distutils-r1_src_compile
- popd >/dev/null
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java >/dev/null
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd >/dev/null
- jar cf ${PN}.jar -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}"/editors/protobuf-mode.el
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_test
- popd >/dev/null
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
- prune_libtool_files
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_install
- popd >/dev/null
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el*
- elisp-site-file-install "${FILESDIR}"/70${PN}-gentoo.el
- fi
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.5.0.ebuild b/dev-libs/protobuf/protobuf-2.5.0.ebuild
deleted file mode 100644
index 2460214a8bfa..000000000000
--- a/dev-libs/protobuf/protobuf-2.5.0.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.5.0.ebuild,v 1.14 2015/04/08 17:51:55 mgorny Exp $
-
-EAPI=5
-JAVA_PKG_IUSE="source"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools eutils distutils-r1 java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0/8" # subslot = soname major version
-KEYWORDS="amd64 arm -hppa ~ia64 ~mips -ppc -ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos x86-macos"
-IUSE="emacs examples java python static-libs vim-syntax"
-
-CDEPEND="emacs? ( virtual/emacs )
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${CDEPEND}
- java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools[${PYTHON_USEDEP}] )"
-RDEPEND="${CDEPEND}
- java? ( >=virtual/jre-1.5 )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-x32.patch
- if [[ ${CHOST} != *-darwin* ]] ; then
- # breaks Darwin, bug #472514
- epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
- eautoreconf
- fi
-
- if use python; then
- cd python && distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- default
-
- if use python; then
- einfo "Compiling Python library ..."
- pushd python >/dev/null
- distutils-r1_src_compile
- popd >/dev/null
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java >/dev/null
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd >/dev/null
- jar cf ${PN}.jar -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}"/editors/protobuf-mode.el
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_test
- popd >/dev/null
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
- prune_libtool_files
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_install
- popd >/dev/null
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el*
- elisp-site-file-install "${FILESDIR}"/70${PN}-gentoo.el
- fi
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.6.0.ebuild b/dev-libs/protobuf/protobuf-2.6.0.ebuild
deleted file mode 100644
index ab54cba250d3..000000000000
--- a/dev-libs/protobuf/protobuf-2.6.0.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.6.0.ebuild,v 1.5 2014/10/10 20:17:24 maekke Exp $
-
-EAPI=5
-JAVA_PKG_IUSE="source"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools eutils flag-o-matic distutils-r1 java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/ https://github.com/google/protobuf/"
-SRC_URI="https://protobuf.googlecode.com/svn/rc/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0/9" # subslot = soname major version
-KEYWORDS="~amd64 ~arm -hppa ~mips -ppc -ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="emacs examples java python static-libs vim-syntax"
-
-CDEPEND="emacs? ( virtual/emacs )
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${CDEPEND}
- java? ( >=virtual/jdk-1.5 )
- python? (
- dev-python/google-apputils[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- java? ( >=virtual/jre-1.5 )"
-
-src_prepare() {
- append-cxxflags -DGOOGLE_PROTOBUF_NO_RTTI
-
- if [[ ${CHOST} != *-darwin* ]] ; then
- # breaks Darwin, bug #472514
- epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
- eautoreconf
- fi
-
- if use python; then
- cd python && distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- default
-
- if use python; then
- einfo "Compiling Python library ..."
- pushd python >/dev/null
- distutils-r1_src_compile
- popd >/dev/null
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java >/dev/null
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd >/dev/null
- jar cf ${PN}.jar -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}"/editors/protobuf-mode.el
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_test
- popd >/dev/null
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
- prune_libtool_files
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_install
- popd >/dev/null
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el*
- elisp-site-file-install "${FILESDIR}"/70${PN}-gentoo.el
- fi
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.6.1-r1.ebuild b/dev-libs/protobuf/protobuf-2.6.1-r1.ebuild
deleted file mode 100644
index 05c33fc80c8e..000000000000
--- a/dev-libs/protobuf/protobuf-2.6.1-r1.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.6.1-r1.ebuild,v 1.4 2014/11/28 16:53:11 radhermit Exp $
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-JAVA_PKG_IUSE="source"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools-multilib eutils flag-o-matic distutils-r1 java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/ https://github.com/google/protobuf/"
-SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0/9" # subslot = soname major version
-KEYWORDS="~amd64 ~arm -hppa ~mips -ppc -ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="emacs examples java python static-libs vim-syntax"
-
-CDEPEND="emacs? ( virtual/emacs )
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${CDEPEND}
- java? ( >=virtual/jdk-1.5 )
- python? (
- dev-python/google-apputils[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- java? ( >=virtual/jre-1.5 )"
-
-src_prepare() {
- append-cxxflags -DGOOGLE_PROTOBUF_NO_RTTI
-
- # breaks Darwin, bug #472514
- [[ ${CHOST} != *-darwin* ]] && epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
-
- # fix build with emacs-24.4 (bug #524100)
- epatch "${FILESDIR}"/${PN}-2.5.0-emacs-24.4.patch
-
- autotools-multilib_src_prepare
-
- if use python; then
- cd python && distutils-r1_src_prepare
- fi
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi; then
- if use python; then
- einfo "Compiling Python library ..."
- pushd "${S}"/python >/dev/null
- PROTOC="${BUILD_DIR}"/src/protoc distutils-r1_src_compile
- popd >/dev/null
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- pushd "${S}" >/dev/null
- "${BUILD_DIR}"/src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java >/dev/null
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd >/dev/null
- jar cf ${PN}.jar -C java/build . || die "jar failed"
- popd >/dev/null
- fi
- fi
-}
-
-src_compile() {
- autotools-multilib_src_compile
-
- if use emacs; then
- elisp-compile "${S}"/editors/protobuf-mode.el
- fi
-}
-
-src_test() {
- autotools-multilib_src_test check
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_test
- popd >/dev/null
- fi
-}
-
-src_install() {
- autotools-multilib_src_install
-
- dodoc CHANGES.txt CONTRIBUTORS.txt README.md
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_install
- popd >/dev/null
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el*
- elisp-site-file-install "${FILESDIR}"/70${PN}-gentoo.el
- fi
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.6.1-r2.ebuild b/dev-libs/protobuf/protobuf-2.6.1-r2.ebuild
deleted file mode 100644
index 466373ed83f5..000000000000
--- a/dev-libs/protobuf/protobuf-2.6.1-r2.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.6.1-r2.ebuild,v 1.3 2015/03/10 17:58:44 vapier Exp $
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-JAVA_PKG_IUSE="source"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools-multilib eutils flag-o-matic toolchain-funcs distutils-r1 java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/ https://github.com/google/protobuf/"
-SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0/9" # subslot = soname major version
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~mips -ppc -ppc64 ~sh ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="emacs examples java python static-libs vim-syntax zlib"
-
-CDEPEND="emacs? ( virtual/emacs )
- python? ( ${PYTHON_DEPS} )
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-DEPEND="${CDEPEND}
- java? ( >=virtual/jdk-1.5 )
- python? (
- dev-python/google-apputils[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- java? ( >=virtual/jre-1.5 )"
-
-src_prepare() {
- append-cxxflags -DGOOGLE_PROTOBUF_NO_RTTI
-
- # breaks Darwin, bug #472514
- [[ ${CHOST} != *-darwin* ]] && epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
-
- # fix build with emacs-24.4 (bug #524100)
- epatch "${FILESDIR}"/${PN}-2.5.0-emacs-24.4.patch
-
- autotools-multilib_src_prepare
-
- if use python; then
- cd python && distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with zlib)
- )
-
- if tc-is-cross-compiler; then
- # The build system wants `protoc` when building, so we need a copy that
- # runs on the host. This is more hermetic than relying on the version
- # installed in the host being the exact same version.
- mkdir -p "${WORKDIR}"/build || die
- pushd "${WORKDIR}"/build >/dev/null
- ECONF_SOURCE=${S} econf_build "${myeconfargs[@]}"
- myeconfargs+=( --with-protoc="${PWD}"/src/protoc )
- popd >/dev/null
- fi
-
- autotools-multilib_src_configure
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi; then
- if use python; then
- einfo "Compiling Python library ..."
- pushd "${S}"/python >/dev/null
- PROTOC="${BUILD_DIR}"/src/protoc distutils-r1_src_compile
- popd >/dev/null
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- pushd "${S}" >/dev/null
- "${BUILD_DIR}"/src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java >/dev/null
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd >/dev/null
- jar cf ${PN}.jar -C java/build . || die "jar failed"
- popd >/dev/null
- fi
- fi
-}
-
-src_compile() {
- if tc-is-cross-compiler; then
- emake -C "${WORKDIR}"/build/src protoc
- fi
-
- autotools-multilib_src_compile
-
- if use emacs; then
- elisp-compile "${S}"/editors/protobuf-mode.el
- fi
-}
-
-src_test() {
- autotools-multilib_src_test check
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_test
- popd >/dev/null
- fi
-}
-
-src_install() {
- autotools-multilib_src_install
-
- dodoc CHANGES.txt CONTRIBUTORS.txt README.md
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_install
- popd >/dev/null
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el*
- elisp-site-file-install "${FILESDIR}"/70${PN}-gentoo.el
- fi
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.6.1.ebuild b/dev-libs/protobuf/protobuf-2.6.1.ebuild
deleted file mode 100644
index 1912d5d390f5..000000000000
--- a/dev-libs/protobuf/protobuf-2.6.1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.6.1.ebuild,v 1.1 2014/10/31 00:43:41 radhermit Exp $
-
-EAPI=5
-JAVA_PKG_IUSE="source"
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools eutils flag-o-matic distutils-r1 java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/ https://github.com/google/protobuf/"
-SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0/9" # subslot = soname major version
-KEYWORDS="~amd64 ~arm -hppa ~mips -ppc -ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="emacs examples java python static-libs vim-syntax"
-
-CDEPEND="emacs? ( virtual/emacs )
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${CDEPEND}
- java? ( >=virtual/jdk-1.5 )
- python? (
- dev-python/google-apputils[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- java? ( >=virtual/jre-1.5 )"
-
-src_prepare() {
- append-cxxflags -DGOOGLE_PROTOBUF_NO_RTTI
-
- if [[ ${CHOST} != *-darwin* ]] ; then
- # breaks Darwin, bug #472514
- epatch "${FILESDIR}"/${PN}-2.3.0-asneeded-2.patch
- eautoreconf
- fi
-
- if use python; then
- cd python && distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- default
-
- if use python; then
- einfo "Compiling Python library ..."
- pushd python >/dev/null
- distutils-r1_src_compile
- popd >/dev/null
- fi
-
- if use java; then
- einfo "Compiling Java library ..."
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java >/dev/null
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd >/dev/null
- jar cf ${PN}.jar -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}"/editors/protobuf-mode.el
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_test
- popd >/dev/null
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.md
- prune_libtool_files
-
- if use python; then
- pushd python >/dev/null
- distutils-r1_src_install
- popd >/dev/null
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el*
- elisp-site-file-install "${FILESDIR}"/70${PN}-gentoo.el
- fi
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}