From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] x265: new package
Date: Sun, 25 Oct 2015 22:40:20 +0100 [thread overview]
Message-ID: <20151025214020.GL11692@free.fr> (raw)
In-Reply-To: <87d1w2fxgq.fsf@dell.be.48ers.dk>
\Peter, All,
On 2015-10-25 22:29 +0100, Peter Korsgaard spake thusly:
> >>>>> "Thijs" == Thijs Vermeir <thijsvermeir@gmail.com> writes:
> > x265 is a H.265 / HEVC video encoder application library, designed to encode
> > video or images into an H.265 / HEVC encoded bitstream.
>
> > http://x265.org
>
> > Signed-off-by: Thijs Vermeir <thijsvermeir@gmail.com>
>
> > +++ b/package/x265/x265.mk
> > @@ -0,0 +1,31 @@
> > +################################################################################
> > +#
> > +# x265
> > +#
> > +################################################################################
> > +
> > +X265_VERSION = 1.8
> > +X265_SOURCE = x265_$(X265_VERSION).tar.gz
> > +X265_SITE = https://bitbucket.org/multicoreware/x265/downloads
> > +X265_LICENSE = GPLv2+
> > +X265_LICENSE_FILES = COPYING
> > +X265_SUBDIR = source/
>
> NIT: we normally don't append the trailing '/'.
>
> > +X265_INSTALL_STAGING = YES
> > +
> > +ifeq ($(BR2_i386)$(BR2_x86_64),y)
> > +X265_DEPENDENCIES += host-yasm
> > +endif
> > +
> > +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
> > +X265_CONF_OPTS += -DENABLE_SHARED=true -DENABLE_PIC=true
> > +else
> > +X265_CONF_OPTS += -DENABLE_SHARED=false
> > +endif
>
> Any idea why the x265 developers don't use the "standard"
> BUILD_SHARED_LIBS=ON|OFF flag like other packages?
I gues it would work, since they do things like:
if(ENABLE_SHARED)
and
if(ENABLE_PIC)
Ditto for CLI.
Thijs, care to check if changing true/false to ON/OFF still works,
please? If so, can you send an patch? This way, all our Cmake-based
packages will look the same, which is good for consistency.
Regards,
Yann E. MORIN.
> > +ifeq ($(BR2_PACKAGE_X265_CLI),)
> > +X265_CONF_OPTS += -DENABLE_CLI=false
> > +else
> > +X265_CONF_OPTS += -DENABLE_CLI=true
> > +endif
>
> We prefer positive logic, so I've swapped these around.
>
> Committed, thanks.
>
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-10-25 21:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-24 19:50 [Buildroot] [PATCH 1/2] x265: new package Thijs Vermeir
2015-10-24 19:50 ` [Buildroot] [PATCH 2/2] gst1-plugins-bad: add x265 plugin Thijs Vermeir
2015-10-25 21:30 ` Peter Korsgaard
2015-10-25 21:29 ` [Buildroot] [PATCH 1/2] x265: new package Peter Korsgaard
2015-10-25 21:40 ` Yann E. MORIN [this message]
2015-10-26 12:53 ` Thijs Vermeir
2015-10-26 18:00 ` Yann E. MORIN
2015-10-26 20:18 ` Thijs Vermeir
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151025214020.GL11692@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.