diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/libvirt-php | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/libvirt-php')
-rw-r--r-- | dev-php/libvirt-php/Manifest | 7 | ||||
-rw-r--r-- | dev-php/libvirt-php/files/remove-imagick-check.patch | 12 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-0.5.3.ebuild | 65 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-0.5.4.ebuild | 66 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-9999.ebuild | 65 | ||||
-rw-r--r-- | dev-php/libvirt-php/metadata.xml | 16 |
6 files changed, 231 insertions, 0 deletions
diff --git a/dev-php/libvirt-php/Manifest b/dev-php/libvirt-php/Manifest new file mode 100644 index 000000000000..f967e1fe8e12 --- /dev/null +++ b/dev-php/libvirt-php/Manifest @@ -0,0 +1,7 @@ +AUX remove-imagick-check.patch 331 BLAKE2B 2d9c164055c3f54baf259326abe22d5aa478141df7f6ea05ba33f040701947038490c1898e89a7019cc1e41008fde5cb43c338730ef7ec3020f5005edd612d9c SHA512 1e949f8c704a2e6b541a276b8cb53e9cf09f009dadc01f4f50ad02e92258cfe30130b2d22b811e0b5b07e1bad4023fad05040c6031bd0063999212c2d6483bcf +DIST libvirt-php-0.5.3.tar.gz 778604 BLAKE2B 40fe4bb2f1e3fd81f1aaf09b8b92c509e79186a1a6c0dc97aa55c7164ed36cc0088141ed46c3d82cf277e25eaf3b017edac9466684e1060b5a22c18aaa7a576f SHA512 b4cbfd8840d8f114fde762b5d6ada155ebdb231b554e28e8526a7af45a802a18f28e90fa52f3d7ca9f616996fe0a8289b70c2d14dca51a52a7bf8a501c3ff44f +DIST libvirt-php-0.5.4.tar.gz 780793 BLAKE2B 8bb4577c26cc0ef8f2a0ae813ade7f5fdea9a2a7d70c97cab1033fde21d9a1c27b8c2ad7a8284096e143e955202bb564767b4d7e1a4bb9e15993895adc119288 SHA512 b5b204549e6810668203d1df8404a5cb71f646ae7e01ea223c6e9b9eec9b1f6500cc5bb4559859959d821a213ff992f22a97e4b683da2c683be3732710943487 +EBUILD libvirt-php-0.5.3.ebuild 1395 BLAKE2B 647e79ece9175fd70fc2dbecc0de440ac4db17e5ff4a19621d78d1c1e508047233fd2311df550d2da492676b97d328cef3e92aaa66cbfc924a0c97ce01afb8a2 SHA512 aa855f216e4a71fc69be4214a70cbe2dabcc5871100c0e90a3911de1a88958ed40a53a19584d406ce7777911889166535d838ffe9d25dd8596f170e8e6bd1f0e +EBUILD libvirt-php-0.5.4.ebuild 1424 BLAKE2B d83e13647fb36600aeb664a73ace71cc9a752c2b69e7b4b0853b97d6ad5c78f2e8e076f6ec810677af0851e15efedc11f6e121232a33c7b3d8ffb50cb8a8ab14 SHA512 68e05b6f4a2ba831eb325361f67fb115e93b6997447f861e33a1227d07bf79c696637d36957490a4ae703677d4acce3c3152fde5392cae0dcc0dc0a39d2976c1 +EBUILD libvirt-php-9999.ebuild 1402 BLAKE2B ae61aae3c201ed542e8548500f087d57b0f001abaf2ddd38608f01a97864ba0ffd838d7a159656151edfb32a28956b331c99a1c990fbc7e44dd688c578068d06 SHA512 623610c0736c1b306cc7fcd93030b9a29e6f08f3200cce93f8a7bdc614b669440fc1e5fd8a86fd2d19e1b4f370b0f9e9dd7f06ebe912f688117e13a3eb47bfa1 +MISC metadata.xml 482 BLAKE2B cc2209c8b662f3b122bcc87896f43a37767539e7cb4c2d4f5aa6dfceee8104f63b4af24a17cc05e0775e3dd2bddac36a341a7b0f8044821cc888dee594bf75bb SHA512 a1a8469c2e56cb1d32673057a3919a8f4799a921b67568a6109c60f5bacf61b879e7c07055d6b8d1b0c67faa5f7c1b468080875b7b2ce857b8e1af199d193547 diff --git a/dev-php/libvirt-php/files/remove-imagick-check.patch b/dev-php/libvirt-php/files/remove-imagick-check.patch new file mode 100644 index 000000000000..92c0e39cd260 --- /dev/null +++ b/dev-php/libvirt-php/files/remove-imagick-check.patch @@ -0,0 +1,12 @@ +diff -aurN a/configure.ac b/configure.ac +--- a/configure.ac 2017-05-11 05:28:41.000000000 -0400 ++++ b/configure.ac 2017-07-01 21:46:17.636849810 -0400 +@@ -172,8 +172,6 @@ + LIBVIRT_CHECK_PHP_EXTENSIONDIR + LIBVIRT_CHECK_PHP_CONFDIR + +-LIBVIRT_CHECK_PHP_EXTENSION([imagick]) +- + OS=`uname` + if test "$OS" = "Darwin"; then + WL=-Wl, diff --git a/dev-php/libvirt-php/libvirt-php-0.5.3.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.3.ebuild new file mode 100644 index 000000000000..4c6eda7c043c --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6 php7-0 php7-1" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +RESTRICT="test" +DOCS=( AUTHORS ChangeLog NEWS README ) +# Remove the insane check for pecl-imagick which is only used in examples +# and is not called upon in any build +PATCHES=( "${FILESDIR}/remove-imagick-check.patch" ) + +src_unpack() { + default + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" +} + +src_prepare() { + php-ext-source-r3_src_prepare + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + einstalldocs + if use doc ; then + docinto /usr/share/doc/${PF}/html + dodoc -r docs/* + fi +} diff --git a/dev-php/libvirt-php/libvirt-php-0.5.4.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.4.ebuild new file mode 100644 index 000000000000..12877cef46ef --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6 php7-0 php7-1 php7-2" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +RESTRICT="test" +# ChangeLog and NEWS are empty files +DOCS=( AUTHORS README ) +# Remove the insane check for pecl-imagick which is only used in examples +# and is not called upon in any build +PATCHES=( "${FILESDIR}/remove-imagick-check.patch" ) + +src_unpack() { + default + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" +} + +src_prepare() { + php-ext-source-r3_src_prepare + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + einstalldocs + if use doc ; then + docinto /usr/share/doc/${PF}/html + dodoc -r docs/* + fi +} diff --git a/dev-php/libvirt-php/libvirt-php-9999.ebuild b/dev-php/libvirt-php/libvirt-php-9999.ebuild new file mode 100644 index 000000000000..862fc523ecbb --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-9999.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6 php7-0 php7-1 php7-2" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 git-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +EGIT_REPO_URI="git://libvirt.org/libvirt-php.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +RESTRICT="test" +DOCS=( ChangeLog NEWS README ) +# Remove the insane check for pecl-imagick which is only used in examples +# and is not called upon in any build +PATCHES=( "${FILESDIR}/remove-imagick-check.patch" ) + +src_unpack() { + git-r3_src_unpack + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" +} + +src_prepare() { + php-ext-source-r3_src_prepare + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + einstalldocs + if use doc ; then + docinto /usr/share/doc/${PF}/html + dodoc -r docs/* + fi +} diff --git a/dev-php/libvirt-php/metadata.xml b/dev-php/libvirt-php/metadata.xml new file mode 100644 index 000000000000..7ac4536773b4 --- /dev/null +++ b/dev-php/libvirt-php/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> + <maintainer type="project"> + <email>virtualization@gentoo.org</email> + <name>Gentoo Virtualization Project</name> + </maintainer> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> +</pkgmetadata> |