diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2018-12-30 12:57:26 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2019-01-04 13:43:18 +0100 |
commit | d56611fefc7cfd9a1b4a333d24ebe8993fc50200 (patch) | |
tree | f513484e8b54fc78ee500cebc5357cdd90a757dd /dev-libs | |
parent | dev-db/postgis: Fix 2.5.1 POSTGRES_COMPAT (diff) | |
download | gentoo-d56611fefc7cfd9a1b4a333d24ebe8993fc50200.tar.gz gentoo-d56611fefc7cfd9a1b4a333d24ebe8993fc50200.tar.bz2 gentoo-d56611fefc7cfd9a1b4a333d24ebe8993fc50200.zip |
dev-libs/vala-common: 0.36.15 → 0.36.17
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/vala-common/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/vala-common/vala-common-0.36.17.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest index db70763c4506..46d9be21f8ee 100644 --- a/dev-libs/vala-common/Manifest +++ b/dev-libs/vala-common/Manifest @@ -1 +1,2 @@ DIST vala-0.36.15.tar.xz 2880300 BLAKE2B ea83bde6396f3be1c96038d63ae30b18fa070a6f7a06b75569bfed9d7792c898201a1f24d000f5b6415bb890cf975758341a97f22db74da02fcbeb3f283e546f SHA512 1c8f888832b2dd4248737a5a27f00f42d8bab2fe0a0790a7df5c426f4e3e1d0919ed0f6f6fd905be758ed477ba840e18f608e67811389c811ba65710094abe61 +DIST vala-0.36.17.tar.xz 2898524 BLAKE2B 4a5a373bacd4e4a392350c7819e0498054e38f50dce89658412d7aeb5642892ef9f32a7689ebd45f53c41f064e0b6d2f52fb441be67a1dd48e67311a1e764637 SHA512 93d4fa600cd0ef62b71ed056b837f2c0a42c3aba25b021b2bbd2045428550307727827b250dae546926ea3fe2e33a5ac80c9b24b5100f02550ec584dd5da5e92 diff --git a/dev-libs/vala-common/vala-common-0.36.17.ebuild b/dev-libs/vala-common/vala-common-0.36.17.ebuild new file mode 100644 index 000000000000..e3b21a2a5dc5 --- /dev/null +++ b/dev-libs/vala-common/vala-common-0.36.17.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME_ORG_MODULE="vala" + +inherit gnome.org + +DESCRIPTION="Build infrastructure for packages that use Vala" +HOMEPAGE="https://wiki.gnome.org/Projects/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 ~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 +} |