All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/RFC 01/27] package/libsquish: New package
Date: Sun, 5 Apr 2015 23:31:09 +0200	[thread overview]
Message-ID: <20150405213109.GJ4134@free.fr> (raw)
In-Reply-To: <1427913380-14808-2-git-send-email-bernd.kuhls@t-online.de>

Bernd, All,

On 2015-04-01 20:35 +0200, Bernd Kuhls spake thusly:
> Needed for Kodi 15.0
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[--SNIP--]
> diff --git a/package/libsquish/Config.in b/package/libsquish/Config.in
> new file mode 100644
> index 0000000..10af979
> --- /dev/null
> +++ b/package/libsquish/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_LIBSQUISH
> +	bool "libsquish"
> +	depends on BR2_INSTALL_LIBSTDCPP
> +	help
> +	  The squish library (abbreviated to libsquish) is an open source DXT
> +	  compression library written in C++
> +
> +	  https://code.google.com/p/libsquish

Don;t we have a better homepage for libsquish? Google code is slated for
retirement later this year (or early next year). It would be a pity to
have a dangling URL especially as we already know about that.

> +comment "libsquish needs a toolchain w/ C++"
> +	depends on !BR2_INSTALL_LIBSTDCPP
> diff --git a/package/libsquish/libsquish.mk b/package/libsquish/libsquish.mk
> new file mode 100644
> index 0000000..d381370
> --- /dev/null
> +++ b/package/libsquish/libsquish.mk
> @@ -0,0 +1,24 @@
> +################################################################################
> +#
> +# libsquish
> +#
> +################################################################################
> +
> +LIBSQUISH_VERSION = 1.10-openelec
> +LIBSQUISH_SOURCE = libsquish-$(LIBSQUISH_VERSION).tar.gz
> +LIBSQUISH_SITE = http://sources.openelec.tv/devel

I'm a bit uneasy at pointing to Google code as the homepage, and at the
same time using a third-party to get the archive from, especially since
it looks like this version has been modified by OpenELEC.

> +LIBSQUISH_INSTALL_STAGING = YES
> +LIBSQUISH_LICENSE = MIT
> +LIBSQUISH_LICENSE_FILES = README

You do not provide build commands. Is that on purpose, or did you
forget? ;-)

> +define LIBSQUISH_INSTALL_STAGING_CMDS
> +	CXX=$(TARGET_CXX) CXXFLAGS="$(TARGET_CXXFLAGS)" \

Please use $(TARGET_CONFIGURE_OPTS) as it already contains all those
defines, plus many others.

> +	$(MAKE) -C $(@D) install PREFIX=/usr INSTALL_DIR=$(STAGING_DIR)/usr
> +endef
> +
> +define LIBSQUISH_INSTALL_TARGET_CMDS
> +	CXX=$(TARGET_CXX) CXXFLAGS="$(TARGET_CXXFLAGS)" \

Ditto $(TARGET_CONFIGURE_OPTS).

> +	$(MAKE) -C $(@D) install PREFIX=/usr INSTALL_DIR=$(TARGET_DIR)/usr
> +endef
> +
> +$(eval $(generic-package))

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-04-05 21:31 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 18:35 [Buildroot] [PATCH/RFC 00/27] package/kodi: bump version to 15.0 Alpha2-Isengard Bernd Kuhls
2015-04-01 18:35 ` [Buildroot] [PATCH/RFC 01/27] package/libsquish: New package Bernd Kuhls
2015-04-05 21:31   ` Yann E. MORIN [this message]
2015-06-14 14:19     ` Bernd Kuhls
2015-04-05 21:36   ` Yann E. MORIN
2015-04-01 18:35 ` [Buildroot] [PATCH/RFC 02/27] package/tinyxml2: new package Bernd Kuhls
2015-04-21 21:48   ` Thomas Petazzoni
2015-04-01 18:35 ` [Buildroot] [PATCH/RFC 03/27] package/kodi: bump version to 15.0 Alpha2-Isengard Bernd Kuhls
2015-04-04 16:44   ` Thomas Petazzoni
2015-04-05 21:20     ` Yann E. MORIN
2015-04-08 20:29     ` Bernd Kuhls
2015-04-21 21:49       ` Thomas Petazzoni
2015-04-01 18:35 ` [Buildroot] [PATCH/RFC 04/27] package/kodi-pvr-addons: Split into addon-specific packages Bernd Kuhls
2015-04-01 18:35 ` [Buildroot] [PATCH/RFC 05/27] package/kodi-platform: new package Bernd Kuhls
2015-04-01 18:35 ` [Buildroot] [PATCH/RFC 06/27] package/kodi-pvr-argustv: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 07/27] package/kodi-pvr-dvblink: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 08/27] package/kodi-pvr-dvbviewer: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 09/27] package/kodi-pvr-filmon: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 10/27] package/kodi-pvr-hts: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 11/27] package/kodi-pvr-iptvsimple: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 12/27] package/kodi-pvr-mediaportal-tvserver: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 13/27] package/kodi-pvr-mythtv: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 14/27] package/kodi-pvr-nextpvr: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 15/27] package/kodi-pvr-njoy: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 16/27] package/kodi-pvr-pctv: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 17/27] package/kodi-pvr-vdr: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 18/27] package/kodi-pvr-vuplus: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 19/27] package/kodi-pvr-wmc: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 20/27] package/kodi-addon-xvdr: bump version Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 21/27] package/kodi-audiodecoder-vgmstream: new package Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 22/27] package/kodi-audiodecoder-modplug: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 23/27] package/kodi-audiodecoder-snesapu: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 24/27] package/kodi-audiodecoder-nosefart: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 25/27] package/kodi-audiodecoder-stsound: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 26/27] package/kodi-audiodecoder-timidity: " Bernd Kuhls
2015-04-01 18:36 ` [Buildroot] [PATCH/RFC 27/27] package/kodi-audiodecoder-sidplay: " Bernd Kuhls

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=20150405213109.GJ4134@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.