ebuild for PHP-FFMpeg

This commit is contained in:
Sandino Araico Sanchez 2017-01-08 21:57:40 -06:00
parent 2256d08bc2
commit 5f526bbbc7
3 changed files with 49 additions and 0 deletions

View file

@ -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

View file

@ -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
}

View file

@ -0,0 +1,8 @@
<?php
/* Autoloader for composer/ca-bundle and its dependencies */
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
}
\Fedora\Autoloader\Autoload::addPsr0('FFMpeg\\', __DIR__);