Skip to content

Commit

Permalink
media-video/aegisub: drop obsolete compiler check in 9999
Browse files Browse the repository at this point in the history
Closes: gentoo#5170
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
Coacher authored and kensington committed Jul 23, 2017
1 parent d14b339 commit d54f9c2
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions media-video/aegisub/aegisub-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EAPI=6
WX_GTK_VER=3.0
PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS sr_RS@latin uk_UA vi zh_CN zh_TW"

inherit autotools flag-o-matic gnome2-utils l10n wxwidgets xdg-utils git-r3
inherit autotools gnome2-utils l10n wxwidgets xdg-utils git-r3

DESCRIPTION="Advanced subtitle editor"
HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub"
Expand Down Expand Up @@ -61,20 +61,6 @@ PATCHES=(
"${FILESDIR}/3.2.2_p20160518/${PN}-3.2.2_p20160518-support-system-gtest.patch"
)

aegisub_check_compiler() {
if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then
die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3."
fi
}

pkg_pretend() {
aegisub_check_compiler
}

pkg_setup() {
aegisub_check_compiler
}

src_prepare() {
default_src_prepare

Expand Down

0 comments on commit d54f9c2

Please sign in to comment.