From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 15 Jul 2016 16:22:40 +0200 Subject: [Buildroot] [PATCH 2/3] sdl2_image: new package In-Reply-To: <1468335185-19378-2-git-send-email-peter.macleod.thompson@gmail.com> References: <1468335185-19378-1-git-send-email-peter.macleod.thompson@gmail.com> <1468335185-19378-2-git-send-email-peter.macleod.thompson@gmail.com> Message-ID: <20160715162240.391878a0@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Tue, 12 Jul 2016 08:53:04 -0600, Peter Thompson wrote: > sdl2_image created from sdl2_image with minor changes for sdl2 > > Signed-off-by: Peter Thompson > --- > package/Config.in | 1 + > package/sdl2_image/Config.in | 61 ++++++++++++++++++++++++++++++++++++++ > package/sdl2_image/sdl2_image.hash | 2 ++ > package/sdl2_image/sdl2_image.mk | 51 +++++++++++++++++++++++++++++++ > 4 files changed, 115 insertions(+) > create mode 100644 package/sdl2_image/Config.in > create mode 100644 package/sdl2_image/sdl2_image.hash > create mode 100644 package/sdl2_image/sdl2_image.mk Applied, after doing the following changes: [Thomas: - remove all sub-options to select the various image formats. Between no formats enabled and all formats enabled, the size difference of the library is ~30 KB, so it really isn't worth having all those sub-options: -rwxr-xr-x 1 thomas thomas 22444 juil. 15 15:51 libSDL2_image-2.0.so.0.0.1 -rwxr-xr-x 1 thomas thomas 59216 juil. 15 15:52 libSDL2_image-2.0.so.0.0.1 consequently, we simply enable unconditionally all image formats that don't have any dependency, and use "automatic" dependencies for the 4 formats that require an external library - remove the host package variant, as it isn't used anywhere. - remove --with-sdl2-prefix and --with-sdl2-exec-prefix, and instead add a dependency on host-pkgconf so that pkg-config is used - remove --disable-static, this is handled by the autotools-package infrastructure already - point _LICENSE_FILES to an existing file.] Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com