From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1293138335 for ; Fri, 6 Jul 2018 06:24:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FF5FE0AD5; Fri, 6 Jul 2018 06:24:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52965E0AD5 for ; Fri, 6 Jul 2018 06:24:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECF0E335C8D for ; Fri, 6 Jul 2018 06:24:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A89CC358 for ; Fri, 6 Jul 2018 06:24:14 +0000 (UTC) From: "Mikhail Pukhlikov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikhail Pukhlikov" Message-ID: <1525708449.3be113abaed36ab4ccfe0f9b1fc3aa960f33022f.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/gnome-sharp/ X-VCS-Repository: proj/dotnet X-VCS-Files: dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild X-VCS-Directories: dev-dotnet/gnome-sharp/ X-VCS-Committer: cynede X-VCS-Committer-Name: Mikhail Pukhlikov X-VCS-Revision: 3be113abaed36ab4ccfe0f9b1fc3aa960f33022f X-VCS-Branch: master Date: Fri, 6 Jul 2018 06:24:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7e347cae-2e03-4df1-9e6b-74cee672a5e8 X-Archives-Hash: eb5c90d989a2c4d4bc35cfde46b836a9 commit: 3be113abaed36ab4ccfe0f9b1fc3aa960f33022f Author: Ilya Trukhanov gmail com> AuthorDate: Mon May 7 15:54:09 2018 +0000 Commit: Mikhail Pukhlikov gentoo org> CommitDate: Mon May 7 15:54:09 2018 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=3be113ab Add ebuilds for 2.24.4 and git dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild | 82 ++++++++++++++++++++++++ dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild | 82 ++++++++++++++++++++++++ 2 files changed, 164 insertions(+) diff --git a/dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild new file mode 100644 index 0000000..e397cae --- /dev/null +++ b/dev-dotnet/gnome-sharp/gnome-sharp-2.24.4.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit dotnet autotools + +SLOT="2" +DESCRIPTION="gnome bindings for mono" +HOMEPAGE="http://www.mono-project.com/GtkSharp" +LICENSE="GPL-2" + +# Taken from the bootstrap configure script to allow using portage +# functions for building. Should be updated accordingly. +GNOME_SHARP_VERSION=2.24.4 # Not using ${PV} because 9999 depends on this value. Must be bumped with every release. +ASSEMBLY_VERSION=2.24.0.0 +POLICY_VERSIONS="2.4 2.6 2.8 2.16 2.20" +GTK_REQUIRED_VERSION=2.13.0 +GTK_SHARP_REQUIRED_VERSION=2.12.2 +GNOME_REQUIRED_VERSION=2.23.0 +GNOMECANVAS_REQUIRED_VERSION=2.20.0 +VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 -define:GNOME_SHARP_2_20 -define:GNOME_SHARP_2_24" +VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGNOME_SHARP_2_16 -DGNOME_SHARP_2_20 -DGNOME_SHARP_2_24" +GNOME_API_TAG=2.20 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mono/gnome-sharp.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86 ~ppc" + SRC_URI="https://github.com/mono/${PN}/archive/${PV}.tar.gz" +fi + +IUSE="debug" + +RESTRICT="test" + +RDEPEND=" + >=dev-dotnet/gtk-sharp-2.12.21:2 + gnome-base/gconf + gnome-base/libgnomecanvas + gnome-base/libgnomeui + media-libs/libart_lgpl + !dev-dotnet/gnomevfs-sharp + !dev-dotnet/gconf-sharp + !dev-dotnet/art-sharp + " +DEPEND="${RDEPEND} + sys-devel/automake:1.11" + +pkg_pretend() { + if [[ ${PV} != "9999" ]] ; then + if [[ ${PV} > ${GNOME_SHARP_VERSION} ]] ; then + die "Revision bumps must also update the GNOME_SHARP_VERSION variable." + fi + fi +} + +src_prepare() { + sed -e "s/@GNOME_SHARP_VERSION@/$GNOME_SHARP_VERSION/" \ + -e "s/@GTK_REQUIRED_VERSION@/$GTK_REQUIRED_VERSION/" \ + -e "s/@GTK_SHARP_REQUIRED_VERSION@/$GTK_SHARP_REQUIRED_VERSION/" \ + -e "s/@GNOME_REQUIRED_VERSION@/$GNOME_REQUIRED_VERSION/" \ + -e "s/@GNOMECANVAS_REQUIRED_VERSION@/$GNOMECANVAS_REQUIRED_VERSION/" \ + -e "s/@VERSIONCSDEFINES@/$VERSIONCSDEFINES/" \ + -e "s/@VERSIONCFLAGS@/$VERSIONCFLAGS/" \ + -e "s/@POLICY_VERSIONS@/$POLICY_VERSIONS/" \ + -e "s/@ASSEMBLY_VERSION@/$ASSEMBLY_VERSION/" "$S/configure.in.in" > "$S/configure.in" + + default + eautoreconf + elibtoolize +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + default + dotnet_multilib_comply +} diff --git a/dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild b/dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild new file mode 100644 index 0000000..e397cae --- /dev/null +++ b/dev-dotnet/gnome-sharp/gnome-sharp-9999.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit dotnet autotools + +SLOT="2" +DESCRIPTION="gnome bindings for mono" +HOMEPAGE="http://www.mono-project.com/GtkSharp" +LICENSE="GPL-2" + +# Taken from the bootstrap configure script to allow using portage +# functions for building. Should be updated accordingly. +GNOME_SHARP_VERSION=2.24.4 # Not using ${PV} because 9999 depends on this value. Must be bumped with every release. +ASSEMBLY_VERSION=2.24.0.0 +POLICY_VERSIONS="2.4 2.6 2.8 2.16 2.20" +GTK_REQUIRED_VERSION=2.13.0 +GTK_SHARP_REQUIRED_VERSION=2.12.2 +GNOME_REQUIRED_VERSION=2.23.0 +GNOMECANVAS_REQUIRED_VERSION=2.20.0 +VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 -define:GNOME_SHARP_2_20 -define:GNOME_SHARP_2_24" +VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGNOME_SHARP_2_16 -DGNOME_SHARP_2_20 -DGNOME_SHARP_2_24" +GNOME_API_TAG=2.20 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mono/gnome-sharp.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86 ~ppc" + SRC_URI="https://github.com/mono/${PN}/archive/${PV}.tar.gz" +fi + +IUSE="debug" + +RESTRICT="test" + +RDEPEND=" + >=dev-dotnet/gtk-sharp-2.12.21:2 + gnome-base/gconf + gnome-base/libgnomecanvas + gnome-base/libgnomeui + media-libs/libart_lgpl + !dev-dotnet/gnomevfs-sharp + !dev-dotnet/gconf-sharp + !dev-dotnet/art-sharp + " +DEPEND="${RDEPEND} + sys-devel/automake:1.11" + +pkg_pretend() { + if [[ ${PV} != "9999" ]] ; then + if [[ ${PV} > ${GNOME_SHARP_VERSION} ]] ; then + die "Revision bumps must also update the GNOME_SHARP_VERSION variable." + fi + fi +} + +src_prepare() { + sed -e "s/@GNOME_SHARP_VERSION@/$GNOME_SHARP_VERSION/" \ + -e "s/@GTK_REQUIRED_VERSION@/$GTK_REQUIRED_VERSION/" \ + -e "s/@GTK_SHARP_REQUIRED_VERSION@/$GTK_SHARP_REQUIRED_VERSION/" \ + -e "s/@GNOME_REQUIRED_VERSION@/$GNOME_REQUIRED_VERSION/" \ + -e "s/@GNOMECANVAS_REQUIRED_VERSION@/$GNOMECANVAS_REQUIRED_VERSION/" \ + -e "s/@VERSIONCSDEFINES@/$VERSIONCSDEFINES/" \ + -e "s/@VERSIONCFLAGS@/$VERSIONCFLAGS/" \ + -e "s/@POLICY_VERSIONS@/$POLICY_VERSIONS/" \ + -e "s/@ASSEMBLY_VERSION@/$ASSEMBLY_VERSION/" "$S/configure.in.in" > "$S/configure.in" + + default + eautoreconf + elibtoolize +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + default + dotnet_multilib_comply +}