summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2015-06-10 23:00:19 +0000
committerDevan Franchini <twitch153@gentoo.org>2015-06-10 23:00:19 +0000
commitb894aaf09f3147eb3ef8bc423db14700fb464c20 (patch)
tree7671fcc398c5d57e0d35cdeb7dee3ff5feb81801 /games-emulation/dolphin
parentAdd Safe to Perl 5.22 mask (diff)
downloadgentoo-2-b894aaf09f3147eb3ef8bc423db14700fb464c20.tar.gz
gentoo-2-b894aaf09f3147eb3ef8bc423db14700fb464c20.tar.bz2
gentoo-2-b894aaf09f3147eb3ef8bc423db14700fb464c20.zip
Adds lto USE flag for optional link-time optimizations
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A8C8FBCF)
Diffstat (limited to 'games-emulation/dolphin')
-rw-r--r--games-emulation/dolphin/ChangeLog6
-rw-r--r--games-emulation/dolphin/dolphin-9999.ebuild5
-rw-r--r--games-emulation/dolphin/metadata.xml3
3 files changed, 11 insertions, 3 deletions
diff --git a/games-emulation/dolphin/ChangeLog b/games-emulation/dolphin/ChangeLog
index eabfa73ce8b5..cbfabd809c3e 100644
--- a/games-emulation/dolphin/ChangeLog
+++ b/games-emulation/dolphin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/dolphin
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.40 2015/06/10 22:55:51 twitch153 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.41 2015/06/10 23:00:19 twitch153 Exp $
+
+ 10 Jun 2015; Devan Franchini <twitch153@gentoo.org> dolphin-9999.ebuild,
+ metadata.xml:
+ Adds lto USE flag for optional link-time optimizations
10 Jun 2015; Devan Franchini <twitch153@gentoo.org> dolphin-9999.ebuild:
Enables looking for shared enet
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild
index 70e9b99b2387..18b79227333a 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.28 2015/06/10 22:55:51 twitch153 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.29 2015/06/10 23:00:19 twitch153 Exp $
EAPI=5
@@ -23,7 +23,7 @@ HOMEPAGE="https://www.dolphin-emu.org/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio"
+IUSE="alsa ao bluetooth doc ffmpeg lto +lzo openal opengl openmp portaudio pulseaudio"
RDEPEND=">=media-libs/glew-1.10
>=media-libs/libsfml-2.1
@@ -119,6 +119,7 @@ src_configure() {
"-Dplugindir=$(games_get_libdir)/${PN}"
"-DUSE_SHARED_ENET=ON"
$( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS )
+ $( cmake-utils_use_enable lto LTO )
$( cmake-utils_use openmp OPENMP )
)
diff --git a/games-emulation/dolphin/metadata.xml b/games-emulation/dolphin/metadata.xml
index f71fb1631033..41ce06585e8a 100644
--- a/games-emulation/dolphin/metadata.xml
+++ b/games-emulation/dolphin/metadata.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<use>
+ <flag name="lto">Add support for link-time optimizations.</flag>
+</use>
<longdescription lang="en">
Dolphin is a Gamecube and Wii emulator. Most games run perfectly or with minor
bugs. Games are playable at HD quality, with 1080p and more.