From 5f526bbbc7da6e9704f868eed2ade13de55e4e67 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Sun, 8 Jan 2017 21:57:40 -0600 Subject: [PATCH] ebuild for PHP-FFMpeg --- dev-php/PHP-FFMpeg/Manifest | 2 ++ dev-php/PHP-FFMpeg/PHP-FFMpeg-9999.ebuild | 39 +++++++++++++++++++++++ dev-php/PHP-FFMpeg/files/autoload.php | 8 +++++ 3 files changed, 49 insertions(+) create mode 100644 dev-php/PHP-FFMpeg/Manifest create mode 100644 dev-php/PHP-FFMpeg/PHP-FFMpeg-9999.ebuild create mode 100644 dev-php/PHP-FFMpeg/files/autoload.php diff --git a/dev-php/PHP-FFMpeg/Manifest b/dev-php/PHP-FFMpeg/Manifest new file mode 100644 index 0000000..2c15d42 --- /dev/null +++ b/dev-php/PHP-FFMpeg/Manifest @@ -0,0 +1,2 @@ +AUX autoload.php 256 SHA256 d82c1ede17b0cc7da5176f5537b1973297b07f52c461ac52a8990c15b2a58c88 SHA512 d32be46f795c4310e6da72b89eab4dc6e99095c1ac869ecc9154c1a8449c30811d0d9f5766dd8bf408307b8e842cfd393f81aa23ca337691724f82b54f8a1b26 WHIRLPOOL e8ce98c88ede57b6a157dbf919c56e654b4d2d1ea0f1e210f906e8f17fa916d46459410bdcb34c3be9de60239e2dd1376fe6ecbc993f96a5a6a7cffb12e18bf3 +EBUILD PHP-FFMpeg-9999.ebuild 801 SHA256 b51ee0f6295c739cea1464c9db512f00b41adcb87fcfb6fdaa13cf9268d8b38c SHA512 5606386f599714122d4cc15dd10b6a189968a65216da41b67b216bb4c6ac621e7186bda18612a2260d454f69d4c8e7da3807471cbe2f37b8e5b25a5cb2492896 WHIRLPOOL f8f66df4e215075d6a2cc6d970bed004c7c16e2d85bd43f7753d46cb7e805e69f9f8fb2612672634ad7afa069250f40fb753952f47c336221c958b4fb346ff0d diff --git a/dev-php/PHP-FFMpeg/PHP-FFMpeg-9999.ebuild b/dev-php/PHP-FFMpeg/PHP-FFMpeg-9999.ebuild new file mode 100644 index 0000000..f3290b6 --- /dev/null +++ b/dev-php/PHP-FFMpeg/PHP-FFMpeg-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="An Object Oriented library to convert video/audio files with FFmpeg / AVConv." +HOMEPAGE="https://github.com/PHP-FFMpeg/PHP-FFMpeg" +EGIT_REPO_URI="https://github.com/PHP-FFMpeg/PHP-FFMpeg.git" +#EGIT_BRANCH="master" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-lang/php:* + media-video/ffmpeg + dev-php/fedora-autoloader" +RDEPEND="${DEPEND}" + +#src_unpack() { +# git-r3_src_unpack +# php-ext-source-r3_src_unpack +#} +# +#src_prepare() { +# php-ext-source-r3_src_prepare +#} + +S="${WORKDIR}/${PF}/src" +src_install() { + insinto "/usr/share/php/FFMpeg" + doins -r FFMpeg/. "${FILESDIR}"/autoload.php + dodoc "${WORKDIR}/${PF}"/README.md +} + diff --git a/dev-php/PHP-FFMpeg/files/autoload.php b/dev-php/PHP-FFMpeg/files/autoload.php new file mode 100644 index 0000000..7cd4c6e --- /dev/null +++ b/dev-php/PHP-FFMpeg/files/autoload.php @@ -0,0 +1,8 @@ +