diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2015-05-03 22:56:37 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2015-05-10 17:15:08 +0200 |
commit | f8d0e9a1be338db131f314fd685051bb1f035426 (patch) | |
tree | 2db9fcbf912c012289d7746c29a135340de1850e /dev-libs/vala-common | |
parent | dev-cpp/gtkmm: 3.14.0-r1 → 3.16.0 (diff) | |
download | gnome-f8d0e9a1be338db131f314fd685051bb1f035426.tar.gz gnome-f8d0e9a1be338db131f314fd685051bb1f035426.tar.bz2 gnome-f8d0e9a1be338db131f314fd685051bb1f035426.zip |
dev-libs/vala-common: 2.26.2 → 2.28.0
Diffstat (limited to 'dev-libs/vala-common')
-rw-r--r-- | dev-libs/vala-common/Manifest | 11 | ||||
-rw-r--r-- | dev-libs/vala-common/vala-common-0.28.0.ebuild | 77 |
2 files changed, 88 insertions, 0 deletions
diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest new file mode 100644 index 00000000..93bb807f --- /dev/null +++ b/dev-libs/vala-common/Manifest @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +DIST vala-0.28.0.tar.xz 2720652 SHA256 0d9e3bd3f82145664875f7c29b2f544ba92d2814f75412948f774c0727fc977f SHA512 4f9adc4a3e672c25b508f5193bb1984e848dcaca059c2eb733e93ca7f58b5d58028a56f4234a62baa30ff50b63d87af24510334eba41630692c5f16e580bad88 WHIRLPOOL cfdd97f90f033b030d768ed66e78b5f86b6e1e50bac34806cd70dda168a5ff3192249d08ee9e020e0ea33d753b20aa69c6e269c65fa193a19e6ae4353912c7d2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREKAAYFAlVGi4UACgkQ1fmVwcYIWAZILwCeN8Ev+m6xmhGGMdiT4ZUL4ANJ +/ZIAoOiRKD3a3KHBXayNkgoIP2JqFeeA +=CQ4I +-----END PGP SIGNATURE----- diff --git a/dev-libs/vala-common/vala-common-0.28.0.ebuild b/dev-libs/vala-common/vala-common-0.28.0.ebuild new file mode 100644 index 00000000..7c08a4d9 --- /dev/null +++ b/dev-libs/vala-common/vala-common-0.28.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +GNOME_ORG_MODULE="vala" + +inherit gnome.org + +DESCRIPTION="Build infrastructure for packages that use Vala" +HOMEPAGE="https://wiki.gnome.org/Vala" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="" + +# Previously ${PN} was part of dev-lang/vala +RDEPEND=" + !<dev-lang/vala-0.10.4-r2 + !<dev-lang/vala-0.12.1-r1:0.12 + !<dev-lang/vala-0.14.2-r2:0.14 + !<dev-lang/vala-0.16.1-r2:0.16 + !<dev-lang/vala-0.17.5:0.18 +" +DEPEND="" + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + insinto /usr/share/aclocal + doins vala.m4 vapigen/vapigen.m4 + insinto /usr/share/vala + doins vapigen/Makefile.vapigen +} + +pkg_postinst() { + # Hack to prevent alternatives_auto_makesym in previously installed + # dev-lang/vala's pkg_postrm from overwriting vala-common's files + if has_version '<dev-lang/vala-0.10.4-r2:0.10' && [[ -f "${EROOT}usr/share/aclocal/vala-0-10.m4" ]]; then + ebegin "Removing old vala-0.10 macros" + rm "${EROOT}usr/share/aclocal/vala-0-10.m4" &> /dev/null + eend $? + fi + if has_version '<dev-lang/vala-0.12.1-r1:0.12' && [[ -f "${EROOT}usr/share/aclocal/vala-0-12.m4" ]]; then + ebegin "Removing old vala-0.12 macros" + rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null + eend $? + fi + if has_version '<dev-lang/vala-0.14.2-r2:0.14' && [[ -f "${EROOT}usr/share/aclocal/vala-0-14.m4" ]]; then + ebegin "Removing old vala-0.14 macros" + rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null + eend $? + fi + if has_version '<dev-lang/vala-0.16.1-r2:0.16' && [[ -f "${EROOT}usr/share/aclocal/vala-0-16.m4" ]]; then + ebegin "Removing old vala-0.16 macros" + rm "${EROOT}usr/share/aclocal/vala-0-14.m4" &> /dev/null + eend $? + if [[ -f "${EROOT}usr/share/vala-0.16/Makefile.vapigen" ]]; then + ebegin "Removing old vala-0.16 makefile template" + rm "${EROOT}usr/share/vala-0.16/Makefile.vapigen" &> /dev/null + eend $? + fi + fi + if has_version '<dev-lang/vala-0.17.5:0.18' && [[ -f "${EROOT}usr/share/aclocal/vala-0-18.m4" ]]; then + ebegin "Removing old vala-0.18 macros" + rm "${EROOT}usr/share/aclocal/vala-0-12.m4" &> /dev/null + eend $? + if [[ -f "${EROOT}usr/share/vala-0.18/Makefile.vapigen" ]]; then + ebegin "Removing old vala-0.18 makefile template" + rm "${EROOT}usr/share/vala-0.18/Makefile.vapigen" &> /dev/null + eend $? + fi + fi +} |