diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/gtk-vnc |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/gtk-vnc')
-rw-r--r-- | net-libs/gtk-vnc/Manifest | 7 | ||||
-rw-r--r-- | net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild | 172 | ||||
-rw-r--r-- | net-libs/gtk-vnc/gtk-vnc-0.7.1.ebuild | 172 | ||||
-rw-r--r-- | net-libs/gtk-vnc/metadata.xml | 15 |
4 files changed, 366 insertions, 0 deletions
diff --git a/net-libs/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest new file mode 100644 index 000000000000..a3704b5cf8bd --- /dev/null +++ b/net-libs/gtk-vnc/Manifest @@ -0,0 +1,7 @@ +DIST gtk-vnc-0.6.0.tar.xz 439104 SHA256 9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433 SHA512 38d37753bd8c88d112c046eb8430383b073b6516c72660b3e53612986a6772b72e3e6037f61e7a3700980ab1509c1f44fbfe0b80594c8a5e5520df166212f158 WHIRLPOOL e156f368a9d70e90077253b031db49f5f58e2f248b3e15bc11340f01f6bcbd342cf08dd9810c8ee447ab372159d09c3353aa5ce6195f67c677e7c43a563a75c0 +DIST gtk-vnc-0.7.1.tar.xz 444380 SHA256 f34baa696615ef67666e8465b4d0ac563355e999a77d2cc42ad4625a24f7aab1 SHA512 5d62f60e1c9fe70f93a9d21c529145459f0d59d588631597d533ecba94864271d1095599db9447ac4843814be61af7a7c947f69e5a9cd26db7e811f2c4e95f0c WHIRLPOOL b4736926bbd8ad49c6b2dd2a1b921a35a9ca5b8987c04b03ea588efe09b3db20eade41204d0a0542ee683efd6d2ec23636c13bc2e214ed452d885aef1302902a +EBUILD gtk-vnc-0.6.0.ebuild 4272 SHA256 cd9d2c1d0ac45f531199575435c401bda98a722bb7e13e4d662080973094070d SHA512 b2a232de413a5be9ef4f0ff8764ffc533f6c6498b3348da255674942e8d474f93327b584db6697afc926cf827808ad0f3334b44d2baca94a1b49fceb4d18ed41 WHIRLPOOL 5ad6090b08b6e471e605dd42a5cf47d148fcb2789b8ab3b781345f314a256934a35e38396270d1e1d6611651a0310b6fcc127b6876da399eef81d378d0900a8b +EBUILD gtk-vnc-0.7.1.ebuild 4273 SHA256 558f01a088c039aa038150325d454d3b8abd50e6b83afaa01c2ca951fe9fd8ff SHA512 3f9a38184a33a20c19e94861a22c8ec6ea03cfe3c9c7c76bd831fe3343cf781908a19ab7f24f4e35ad3918b9764bc2ffe872f0c5abe2fec3918396402c9f03ef WHIRLPOOL 4a1a6fa51a2129a4919d6322ebd95c03b49c7ffd391249e0bbaf84194f3bfafd8207dfc7ffb58fa64966fdd2c853b1c08dc0605f67b28373d735990c33006573 +MISC ChangeLog 3566 SHA256 b3fe6a69fac240ab4d92d7f391665ca02dd0d3d0b5219dfdcd54bbbf0b1d9254 SHA512 6120268845595f9fa76af003600818ce924d6426b611ca086a64449a9cc7fafd09906a0c2ed02e3e380cd1a9a05ae8d2d78efeccd08befff5f944de832874ed0 WHIRLPOOL fdafc9210492328154646791c614402d2969949ca23c5c6d0594e643bf54b9533db20533ab73f3ad9d2dcd7a402233143f8ab02b9a15cf74911eb3ec085b71b5 +MISC ChangeLog-2015 18144 SHA256 2e2e10e3799768848762378e009823ba9a184d506ddd268bbe1207082343a913 SHA512 32da60bfd0f5b28e97eace4df4ca280041760ad64a179394549681fc5de85e1cf6f77b53ad4f07b705773e7ccf0882d2ca0d7410d9457f5fec497527f1360c4e WHIRLPOOL f4ea0319830cbddec3c8a0a2a30e3614ad78ae0b45e7f1f4f231690680397a7b97a63f92a5479d15f3d2ff36a1239b8ad8f439511d734dc238246196122efa68 +MISC metadata.xml 496 SHA256 53d3267fa5e4b2fa703d429175dc45ff76cc7424290cc81172acb937eb1ccbf8 SHA512 202c723c8a0b40f56f57c6949f3826d53cddd2a90133546863c7f2a166cffd212fe2e25275315b68fa0946e539472336ce462ea17ce5d6c032503d8726b83ad0 WHIRLPOOL 9589da2666927d8e080224292e5593dc04448e117b326818f5b53a59dfc615d19209050fc4bfafcea450c664b397289f95e5f3f626696e796616b44a3ac1df7d diff --git a/net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild new file mode 100644 index 000000000000..e8d0f456c9b3 --- /dev/null +++ b/net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) +VALA_MIN_API_VERSION="0.16" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 multibuild python-r1 vala + +DESCRIPTION="VNC viewer widget for GTK" +HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" +IUSE="examples +gtk3 +introspection pulseaudio python sasl vala" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + vala? ( gtk3 introspection ) +" + +# libview is used in examples/gvncviewer -- no need +# glib-2.30.1 needed to avoid linking failure due to .la files (bug #399129) +COMMON_DEPEND=" + >=dev-libs/glib-2.30.1:2 + >=dev-libs/libgcrypt-1.4.2:0= + dev-libs/libgpg-error + >=net-libs/gnutls-3.0:0= + >=x11-libs/cairo-1.2 + >=x11-libs/gtk+-2.18:2 + x11-libs/libX11 + gtk3? ( >=x11-libs/gtk+-2.91.3:3[introspection?] ) + introspection? ( >=dev-libs/gobject-introspection-0.9.4:= ) + pulseaudio? ( media-sound/pulseaudio ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] ) + sasl? ( dev-libs/cyrus-sasl ) +" +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + >=dev-lang/perl-5 + >=dev-util/intltool-0.40 + sys-devel/gettext + virtual/pkgconfig + vala? ( + $(vala_depend) + >=dev-libs/gobject-introspection-0.9.4 ) +" +# eautoreconf requires gnome-common + +compute_variants() { + MULTIBUILD_VARIANTS=( 2.0 ) + use gtk3 && MULTIBUILD_VARIANTS+=( 3.0 ) +} + +src_prepare() { + prepare() { + mkdir -p "${BUILD_DIR}" || die + + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + python_foreach_impl prepare + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant prepare + + # Fix incorrect codegendir check: h2def.py is in pygobject, not pygtk, upstream bug#744393 + sed -e 's/codegendir pygtk-2.0/codegendir pygobject-2.0/g' \ + -i src/Makefile.* || die + + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + local myconf=( + $(use_with examples) + $(use_enable introspection) + $(use_with pulseaudio) + $(use_with sasl) + --with-coroutine=gthread + --without-libview + --disable-static + --disable-vala + ) + + configure_python() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + ${myconf[@]} \ + --with-gtk=2.0 \ + --with-python + } + + configure_normal() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + ${myconf[@]} \ + --with-gtk=${MULTIBUILD_VARIANT} \ + --without-python + + # for gtk3, python support is via gobject-introspection + # Ex: from gi.repository import GtkVnc + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + python_foreach_impl run_in_build_dir configure_python + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant run_in_build_dir configure_normal +} + +src_compile() { + compile_python() { + cd "${BUILD_DIR}"/src || die + # CPPFLAGS set to help find includes for gvnc.override + emake gtkvnc.la \ + VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \ + CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src" \ + gtkvnc_la_LIBADD="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" \ + gtkvnc_la_DEPENDENCIES="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" + } + + compile_normal() { + gnome2_src_compile + + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + local GTK2_BUILDDIR="${BUILD_DIR}" + python_foreach_impl run_in_build_dir compile_python + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant run_in_build_dir compile_normal +} + +src_test() { + local MULTIBUILD_VARIANTS + compute_variants + + multibuild_foreach_variant run_in_build_dir default +} + +src_install() { + install_python() { + cd "${BUILD_DIR}"/src || die + emake install-pyexecLTLIBRARIES DESTDIR="${D}" \ + VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \ + CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src" \ + gtkvnc_la_LIBADD="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" \ + gtkvnc_la_DEPENDENCIES="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" + } + + install_normal() { + gnome2_src_install + + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + local GTK2_BUILDDIR="${BUILD_DIR}" + python_foreach_impl run_in_build_dir install_python + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant run_in_build_dir install_normal +} diff --git a/net-libs/gtk-vnc/gtk-vnc-0.7.1.ebuild b/net-libs/gtk-vnc/gtk-vnc-0.7.1.ebuild new file mode 100644 index 000000000000..bb4c26646411 --- /dev/null +++ b/net-libs/gtk-vnc/gtk-vnc-0.7.1.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) +VALA_MIN_API_VERSION="0.16" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 multibuild python-r1 vala + +DESCRIPTION="VNC viewer widget for GTK" +HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" +IUSE="examples +gtk3 +introspection pulseaudio python sasl vala" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + vala? ( gtk3 introspection ) +" + +# libview is used in examples/gvncviewer -- no need +# glib-2.30.1 needed to avoid linking failure due to .la files (bug #399129) +COMMON_DEPEND=" + >=dev-libs/glib-2.30.1:2 + >=dev-libs/libgcrypt-1.4.2:0= + dev-libs/libgpg-error + >=net-libs/gnutls-3.0:0= + >=x11-libs/cairo-1.2 + >=x11-libs/gtk+-2.18:2 + x11-libs/libX11 + gtk3? ( >=x11-libs/gtk+-2.91.3:3[introspection?] ) + introspection? ( >=dev-libs/gobject-introspection-0.9.4:= ) + pulseaudio? ( media-sound/pulseaudio ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] ) + sasl? ( dev-libs/cyrus-sasl ) +" +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + >=dev-lang/perl-5 + >=dev-util/intltool-0.40 + sys-devel/gettext + virtual/pkgconfig + vala? ( + $(vala_depend) + >=dev-libs/gobject-introspection-0.9.4 ) +" +# eautoreconf requires gnome-common + +compute_variants() { + MULTIBUILD_VARIANTS=( 2.0 ) + use gtk3 && MULTIBUILD_VARIANTS+=( 3.0 ) +} + +src_prepare() { + prepare() { + mkdir -p "${BUILD_DIR}" || die + + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + python_foreach_impl prepare + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant prepare + + # Fix incorrect codegendir check: h2def.py is in pygobject, not pygtk, upstream bug#744393 + sed -e 's/codegendir pygtk-2.0/codegendir pygobject-2.0/g' \ + -i src/Makefile.* || die + + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + local myconf=( + $(use_with examples) + $(use_enable introspection) + $(use_with pulseaudio) + $(use_with sasl) + --with-coroutine=gthread + --without-libview + --disable-static + --disable-vala + ) + + configure_python() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + ${myconf[@]} \ + --with-gtk=2.0 \ + --with-python + } + + configure_normal() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + ${myconf[@]} \ + --with-gtk=${MULTIBUILD_VARIANT} \ + --without-python + + # for gtk3, python support is via gobject-introspection + # Ex: from gi.repository import GtkVnc + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + python_foreach_impl run_in_build_dir configure_python + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant run_in_build_dir configure_normal +} + +src_compile() { + compile_python() { + cd "${BUILD_DIR}"/src || die + # CPPFLAGS set to help find includes for gvnc.override + emake gtkvnc.la \ + VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \ + CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src" \ + gtkvnc_la_LIBADD="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" \ + gtkvnc_la_DEPENDENCIES="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" + } + + compile_normal() { + gnome2_src_compile + + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + local GTK2_BUILDDIR="${BUILD_DIR}" + python_foreach_impl run_in_build_dir compile_python + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant run_in_build_dir compile_normal +} + +src_test() { + local MULTIBUILD_VARIANTS + compute_variants + + multibuild_foreach_variant run_in_build_dir default +} + +src_install() { + install_python() { + cd "${BUILD_DIR}"/src || die + emake install-pyexecLTLIBRARIES DESTDIR="${D}" \ + VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \ + CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src" \ + gtkvnc_la_LIBADD="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" \ + gtkvnc_la_DEPENDENCIES="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" + } + + install_normal() { + gnome2_src_install + + if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then + local GTK2_BUILDDIR="${BUILD_DIR}" + python_foreach_impl run_in_build_dir install_python + fi + } + + local MULTIBUILD_VARIANTS + compute_variants + multibuild_foreach_variant run_in_build_dir install_normal +} diff --git a/net-libs/gtk-vnc/metadata.xml b/net-libs/gtk-vnc/metadata.xml new file mode 100644 index 000000000000..c977e3a032f8 --- /dev/null +++ b/net-libs/gtk-vnc/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <maintainer type="project"> + <email>virtualization@gentoo.org</email> + <name>Gentoo Virtualization Project</name> + </maintainer> + <use> + <flag name="gtk3">Build the gtk3 gtk-vnc library and other gtk3 assets</flag> + </use> +</pkgmetadata> |