diff options
Diffstat (limited to 'dev-php/libvirt-php')
-rw-r--r-- | dev-php/libvirt-php/Manifest | 9 | ||||
-rw-r--r-- | dev-php/libvirt-php/files/remove-imagick-check.patch | 12 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-0.5.2.ebuild | 51 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-0.5.3.ebuild | 68 | ||||
-rw-r--r-- | dev-php/libvirt-php/libvirt-php-9999.ebuild | 68 | ||||
-rw-r--r-- | dev-php/libvirt-php/metadata.xml | 16 |
6 files changed, 224 insertions, 0 deletions
diff --git a/dev-php/libvirt-php/Manifest b/dev-php/libvirt-php/Manifest new file mode 100644 index 000000000000..a6d49136cd9f --- /dev/null +++ b/dev-php/libvirt-php/Manifest @@ -0,0 +1,9 @@ +AUX remove-imagick-check.patch 331 SHA256 c08f4f4f0149771e7c4f17e58ba366d58cf3c2abf9ab0239f4083955b6f12e68 SHA512 1e949f8c704a2e6b541a276b8cb53e9cf09f009dadc01f4f50ad02e92258cfe30130b2d22b811e0b5b07e1bad4023fad05040c6031bd0063999212c2d6483bcf WHIRLPOOL 932b5ed39803b1073d8e2b5adae65ca16744d37e753311fc9f40828206ebb28c5b2d0f519fc663897176a0e99087e445069bf4dbf5d84b03d5c165e42e119923 +DIST libvirt-php-0.5.2.tar.gz 770816 SHA256 f338caab2bebcce60cd62e3982ec4c1a274ecaf49d03cf7080b45f2f16cd516d SHA512 11844fea8507090826acd81fc7c257ecc3ed9cca10fc785e4d54b98ebd1e213310e379e7ca684c6439d9e2c57800a140fdc9953c6bec72da1959f5ed99e9ef31 WHIRLPOOL 19bde6afd0ef824557048d9f00aa1dd34f7138408326653e49c04a25e514575d1c2d92c462a8a9f40048ae2af7b2e46a27b66561cddf21fb8f28c294085700f5 +DIST libvirt-php-0.5.3.tar.gz 778604 SHA256 6cf9a5aa855cf973e4280c890d9da88a2a26a1e5a3c8bb555f885391467f85cf SHA512 b4cbfd8840d8f114fde762b5d6ada155ebdb231b554e28e8526a7af45a802a18f28e90fa52f3d7ca9f616996fe0a8289b70c2d14dca51a52a7bf8a501c3ff44f WHIRLPOOL fc379e7a216e7846dd6711816f19fac8497f67bee69fe66b904b86d40cc7064d941338941d6bb48e13d4fb1e0a8bff6421831c538a66f5b36556fff838d7f598 +EBUILD libvirt-php-0.5.2.ebuild 1082 SHA256 76a658353105b586ee89b8c7b68a8b9f42b952fa668ee91f4f20ad62601fa2a9 SHA512 35b20ecbae30b079e50a3a01c9612ea87607c094a744ed9139ca0ad3645c6281e9fb47d5b863f47c4d6d00f309ef9e8e89b37900ef868a9953d5f27046a98692 WHIRLPOOL 56f7c77cb35a978a5eb6cfbd5dd0346ad1f942a40e704cf8d78235b09b3bed604bfacde2962380a28e223241b57d28a9dd0b8b0c46adf3e87cb3461e5a2e524c +EBUILD libvirt-php-0.5.3.ebuild 1432 SHA256 f1459d54c16803982240db85a615ae60d36c046f8761c3440ddf398d9c403537 SHA512 9b3615b60eaf3524ede5985e4ccafdaee674862a6869fb2acec6926fd859db39c186c3ae9085f642e82ee5a2ab57b9cb3c0d4ef50c07aeb3d16fcf3864b11c7f WHIRLPOOL 3d560dab1d5f895e69a4a411554faf88f99656c7dd4bd6d7bd701294d5fb59b9ea5ccc42534289568e4abea4d39dac9a4efad3741c667b30a62bc69e6bc88ba2 +EBUILD libvirt-php-9999.ebuild 1432 SHA256 21095d6d8419fdb500405fa6cb34f1a0259e38439c92a855beb18f5026b30f4c SHA512 804d7a2885b642ed15232e2910743ed630d1eef465e5edf792477e8bdc9e670f53975e3c3deeb538203782c740c7046fea00e73854db78a17493d6dc5a6ae82e WHIRLPOOL dd4cef09ae0d7249ab7abeb73dc271867bfe29ba0e988eb255ef9d617e730792f0e9f801b93db2b4618592a25e5ea3b1e463fcde5dbeb332bff15f2aaadc565e +MISC ChangeLog 3165 SHA256 45e82bb26c60b62ea961959fe8b7f9e2f1c5e3a55ea26752d32b6ffc217ad99e SHA512 9517b3c546065d55bc4e65c59d125df9be4d990860fd1da910d4ff77964b12aab903f7038e3a68146c5d37f5fb4b7c97a677552c205c745fc7aa436f585927a1 WHIRLPOOL 3dbffe7bba6034039c6a775dd4521991a40313e153afe860716538dac071b399f1a5bf1c49e9a2543ecc01e44b170fe7b60ba9acec2b57821177cf5898c3b84f +MISC ChangeLog-2015 2370 SHA256 021ce33142f16f2cbf7bdd7aa8280be09f6d15558f1d9676b3c5871fc45a0e27 SHA512 94ba463a4938754359bef5f20ea08cbd6975371275a4d81b8bc11ef4ebad8a85d8cbd2ea1f7976c3c15cbea063f97e862883249dad79a912f7b1b20f6d7aeb68 WHIRLPOOL c383c32eca826b77863970bf3eddb17448bdf001e4ab2e546d507e29996b28b28f16e242478fd438f826d2a488a323dc2e113952abf46062ab18b82386108fe6 +MISC metadata.xml 482 SHA256 01ec5ae275a9b548801cc29a438c79187fee127bb5321425f3bca76b19cd7d6e SHA512 a1a8469c2e56cb1d32673057a3919a8f4799a921b67568a6109c60f5bacf61b879e7c07055d6b8d1b0c67faa5f7c1b468080875b7b2ce857b8e1af199d193547 WHIRLPOOL 36aa3b1ed0f036adb6d6ed5a49a22549a62ae8f71cd1c2869927dcd4404935092d4381080c2ac080f9bb397ad7f6f64542435bea72d566af31264d93c3810697 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.2.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.2.ebuild new file mode 100644 index 000000000000..bc4fa0c889b2 --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6" + +inherit php-ext-source-r2 eutils + +DESCRIPTION="PHP 5 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 + doc? ( app-text/xhtml1 )" + +RESTRICT="test" + +src_unpack() { + default + + # create the default modules directory to be able + # to use the php-ext-source-r2 eclass to configure/build + ln -s src "${S}/modules" + + for slot in $(php_get_slots); do + cp -r "${S}" "${WORKDIR}/${slot}" + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + newins "src/.libs/${PHP_EXT_NAME}.so.0.0.0" "${PHP_EXT_NAME}.so" + done + php-ext-source-r2_createinifiles + dodoc AUTHORS ChangeLog NEWS README + use doc && dohtml docs/* docs/graphics/* +} 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..fa770b1f6aff --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 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" + +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 ) + +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" + + for slot in $(php_get_slots); do + cp -r "${S}" "${WORKDIR}/${slot}" + done +} + +src_prepare() { + # Remove the insane check for pecl-imagick which is only used in examples + # and is not called upon in any build + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eapply "${FILESDIR}/remove-imagick-check.patch" + eapply_user + 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..4e24b63e0ab6 --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-9999.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 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" + +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 ) + +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" + + for slot in $(php_get_slots); do + cp -r "${S}" "${WORKDIR}/${slot}" + done +} + +src_prepare() { + # Remove the insane check for pecl-imagick which is only used in examples + # and is not called upon in any build + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eapply "${FILESDIR}/remove-imagick-check.patch" + eapply_user + 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> |