Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gtox dependencies #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dev-libs/flatbuffers/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
DIST v1.1.0.tar.gz 289967 SHA256 6ac776d86e1c9ac84497c51aeac5ddc79c9596166abd937dea073e1cc574a673 SHA512 baf9744e6e2501e84d7b51dc6448bb8bf4f5e211313dbf73dbffa1e34648215c956b166630a1d3260cd434d73cafb6fd4396f7bf14f73d9adecf1964cbed2fec WHIRLPOOL a1047176f9a8e1bc66500492aece28db3aec1698dac30d19c670237b185dbac040847cc02bb91c32aedfa16fe9629ea77af8dd13dc96db829368813229757105
DIST v1.2.0.tar.gz 391737 SHA256 a6cacab3cbcc99e2308d8aa328bff060ba19061ce6eb23be85eccb63fb3446b5 SHA512 10eb7cc35dcebe4e09e3b0c2ea691271d733c17141ec163d9423a06fd89f09e7edda39ceaee04f847e496c2514edba33d397248286f86c87923fce6cdf0c2a12 WHIRLPOOL 168eea896ad0844d2327410fb3dc3f40300b37ccf4326d36360724f503a80f9b08f70e3a4bdd62e5d4355acbd4a9abce26d9b42245b4147987db97b29cf7910e
DIST v1.3.0.tar.gz 349859 SHA256 b81e11aa101927d464a231d6d3b18ab0e8ea4e959b72f415bb385bae0d74df53 SHA512 249341ce96d76dcd46e1907e8579d436c953e7782555b9cd9d12712db167e63669d97f084dcce15940e06378a6e91f6d4cbe5bb8bb1383a73e2f9190a700daaa WHIRLPOOL 678894cebb0f73fdebda0fd3e71614f8cd915f53838a3e93e442e893ab9e30cc2173858e1eec489c5bd859473c3dacfb431e65fcd9bafe8839a3e8160cb359b3
61 changes: 61 additions & 0 deletions dev-libs/flatbuffers/flatbuffers-1.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit cmake-utils eutils java-pkg-opt-2

DESCRIPTION="Memory Efficient Serialization Library"
HOMEPAGE="http://google.github.io/flatbuffers/"
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="-doc -examples -java"

RDEPEND="
java? ( virtual/jdk:* )
"
DEPEND="
dev-util/cmake
${RDEPEND}
"
src_prepare() {
cmake-utils_src_prepare
}

src_configure() {
cmake-utils_src_configure
}

src_compile() {
cmake-utils_src_compile

if use java ; then
(cd java && \
javac com/google/flatbuffers/*.java && \
jar cf flatbuffers.jar com/google/flatbuffers/*.class)
fi
}

src_install() {
cmake-utils_src_install

insinto /usr/include
doins -r include/flatbuffers

if use doc ; then
dohtml -r docs
fi

if use examples ; then
dodoc -r samples
fi

if use java ; then
insinto /usr/share/${PN}
doins java/flatbuffers.jar
fi
}
61 changes: 61 additions & 0 deletions dev-libs/flatbuffers/flatbuffers-1.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit cmake-utils eutils java-pkg-opt-2

DESCRIPTION="Memory Efficient Serialization Library"
HOMEPAGE="http://google.github.io/flatbuffers/"
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="-doc -examples -java"

RDEPEND="
java? ( virtual/jdk:* )
"
DEPEND="
dev-util/cmake
${RDEPEND}
"
src_prepare() {
cmake-utils_src_prepare
}

src_configure() {
cmake-utils_src_configure
}

src_compile() {
cmake-utils_src_compile

if use java ; then
(cd java && \
javac com/google/flatbuffers/*.java && \
jar cf flatbuffers.jar com/google/flatbuffers/*.class)
fi
}

src_install() {
cmake-utils_src_install

insinto /usr/include
doins -r include/flatbuffers

if use doc ; then
dohtml -r docs
fi

if use examples ; then
dodoc -r samples
fi

if use java ; then
insinto /usr/share/${PN}
doins java/flatbuffers.jar
fi
}
2 changes: 1 addition & 1 deletion net-im/gtox/gtox-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RDEPEND="
dev-libs/atk
dev-libs/glib:2
dev-cpp/glibmm
dev-libs/flatbuffers
>=dev-libs/flatbuffers-1.2.0
x11-libs/gtk+:3
x11-libs/cairo[X]
x11-libs/pango[X]
Expand Down