Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (66bfb67c48d50aaf5e123d3223b9d3fa92c75e06)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Bor Kraljič <pyrobor AT ver.si>
  • To: sm-commit AT lists.ibiblio.org, Ladislav Hagara <hgr AT vabo.cz>
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (66bfb67c48d50aaf5e123d3223b9d3fa92c75e06)
  • Date: Thu, 24 Feb 2011 17:13:30 +0100

On Thursday 24 of February 2011 10:58:07 Ladislav Hagara wrote:
> GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:
>
> video/mlt/DEPENDS | 7 ++++++-
> video/mlt/HISTORY | 3 +++
> video/mlt/INSTALL | 9 +++++++++
> 3 files changed, 18 insertions(+), 1 deletion(-)
>
> New commits:
> commit 66bfb67c48d50aaf5e123d3223b9d3fa92c75e06
> Author: Ladislav Hagara <hgr AT vabo.cz>
> Commit: Ladislav Hagara <hgr AT vabo.cz>
>
> mlt: python bindings installed optionally
>
> diff --git a/video/mlt/DEPENDS b/video/mlt/DEPENDS
> index 2bc1cf9..0cc333f 100755
> --- a/video/mlt/DEPENDS
> +++ b/video/mlt/DEPENDS
> @@ -60,4 +60,9 @@ optional_depends frei0r-plugins \
> optional_depends qt-x11 \
> "--enable-qimage --qimage-includedir=/usr/include/qt" \
> "--disable-qimage" \
> - "Enable qimage module"
> + "Enable qimage module" &&
> +
> +optional_depends python \
> + "--swig-languages=python" \
> + "" \
> + "Python language bindings"
> diff --git a/video/mlt/HISTORY b/video/mlt/HISTORY
> index f44783d..e405178 100644
> --- a/video/mlt/HISTORY
> +++ b/video/mlt/HISTORY
> @@ -1,3 +1,6 @@
> +2011-02-24 Ladislav Hagara <hgr AT vabo.cz>
> + * DEPENDS, INSTALL: python bindings installed optionally
> +
> 2011-02-23 Ladislav Hagara <hgr AT vabo.cz>
> * DETAILS: 0.6.2
> * CONFLICTS: removed
> diff --git a/video/mlt/INSTALL b/video/mlt/INSTALL
> new file mode 100755
> index 0000000..bdc4f31
> --- /dev/null
> +++ b/video/mlt/INSTALL
> @@ -0,0 +1,9 @@
> +default_install &&
> +
> +if is_depends_enabled $SPELL python; then
> + message "${MESSAGE_COLOR}Installing python bindings...${DEFAULT_COLOR}"
> &&
> + cd src/swig/python &&
> + install -vm 755 mlt.py $INSTALL_ROOT/usr/lib/python2.7/ &&
> + install -vm 755 _mlt.so $INSTALL_ROO/usr/lib/python2.7/ &&
> + install -vm 755 mlt_wrap.o $INSTALL_ROOT/usr/lib/python2.7/
> +fi
We should avoid such INSTALL that breaks when some other spell is updated to
new version.
I suggest something like this:
https://github.com/PyroBor/pyrogrimoire/blob/master/video/mlt/INSTALL

regards, Bor




Archive powered by MHonArc 2.6.24.

Top of Page