From 79a207b9fa1c3d52077cec7ef0d5b57c42a03a60 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Sun, 30 Apr 2017 22:10:54 +0200 Subject: [PATCH] freeorion: Make tiff optional tiff isn't that common like jpeg or png and doesn't enjoy the best track record when it comes to security. Change-Id: I72f9ad45da2d796122756fd98ea3ce53334438e5 --- ...orion-0.4.7.1.exheres-0 => freeorion-0.4.7.1-r1.exheres-0} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename packages/games-strategy/freeorion/{freeorion-0.4.7.1.exheres-0 => freeorion-0.4.7.1-r1.exheres-0} (93%) diff --git a/packages/games-strategy/freeorion/freeorion-0.4.7.1.exheres-0 b/packages/games-strategy/freeorion/freeorion-0.4.7.1-r1.exheres-0 similarity index 93% rename from packages/games-strategy/freeorion/freeorion-0.4.7.1.exheres-0 rename to packages/games-strategy/freeorion/freeorion-0.4.7.1-r1.exheres-0 index 6da4bd5..9af8cc7 100644 --- a/packages/games-strategy/freeorion/freeorion-0.4.7.1.exheres-0 +++ b/packages/games-strategy/freeorion/freeorion-0.4.7.1-r1.exheres-0 @@ -20,6 +20,7 @@ LICENCES="GPL-2 LGPL-2.1 CCPL-Attribution-ShareAlike-3.0" SLOT="0" PLATFORMS="~amd64" MYOPTIONS=" + tiff [[ description = [ Enable TIFF texture support ] ]] ( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]] " @@ -36,11 +37,11 @@ DEPENDENCIES=" media-libs/libpng:= media-libs/libvorbis media-libs/openal - media-libs/tiff x11-dri/glu x11-dri/mesa providers:ijg-jpeg? ( media-libs/jpeg:= ) providers:jpeg-turbo? ( media-libs/libjpeg-turbo ) + tiff? ( media-libs/tiff ) " BUGS_TO="hasufell@posteo.de" @@ -49,6 +50,7 @@ CMAKE_SRC_CONFIGURE_PARAMS=( -DRELEASE_COMPILE_FLAGS="" -DCMAKE_SKIP_RPATH=ON ) +CMAKE_SRC_CONFIGURE_OPTION_ENABLES=( 'tiff TIFF_TEXTURES' ) src_prepare() { cmake_src_prepare