games-emulation/pcsx2: update live ebuild.
authorYuri Konotopov <ykonotopov@gnome.org>
Thu, 25 Oct 2018 18:53:03 +0000 (22:53 +0400)
committerMichał Górny <mgorny@gentoo.org>
Sat, 27 Oct 2018 08:03:47 +0000 (10:03 +0200)
1. EAPI version bump.
2. Added virtual/libudev dependency.
3. Dropped l10n.eclass

Closes: https://bugs.gentoo.org/669398
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/10229
Signed-off-by: Michał Górny <mgorny@gentoo.org>
games-emulation/pcsx2/pcsx2-9999.ebuild

index 1ab14376a933f0cbd457a984c605b670ebbd0d23..8a2a3fc4c02492fd57837c4ec99ef9ca0fb2baa6 100644 (file)
@@ -1,10 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-PLOCALES="ar_SA ca_ES cs_CZ de_DE es_ES fi_FI fr_FR hr_HR hu_HU id_ID it_IT ja_JP ko_KR ms_MY nb_NO pl_PL pt_BR ru_RU sv_SE th_TH tr_TR zh_CN zh_TW"
+EAPI=6
 
-inherit cmake-utils git-r3 l10n multilib toolchain-funcs wxwidgets
+inherit cmake-utils git-r3 multilib toolchain-funcs wxwidgets
 
 DESCRIPTION="A PlayStation 2 emulator"
 HOMEPAGE="https://www.pcsx2.net"
@@ -26,6 +25,7 @@ RDEPEND="
        media-libs/portaudio[abi_x86_32(-)]
        >=sys-libs/zlib-1.2.4[abi_x86_32(-)]
        virtual/jpeg:62[abi_x86_32(-)]
+       virtual/libudev[abi_x86_32(-)]
        virtual/opengl[abi_x86_32(-)]
        x11-libs/gtk+:2[abi_x86_32(-)]
        x11-libs/libICE[abi_x86_32(-)]
@@ -40,10 +40,6 @@ DEPEND="${RDEPEND}
        >=dev-cpp/sparsehash-1.5
 "
 
-clean_locale() {
-       rm -R "${S}"/locales/"${1}" || die
-}
-
 pkg_setup() {
        if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
                if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 ]] ; then
@@ -52,11 +48,6 @@ pkg_setup() {
        fi
 }
 
-src_prepare() {
-       cmake-utils_src_prepare
-       l10n_for_each_disabled_locale_do clean_locale
-}
-
 src_configure() {
        multilib_toolchain_setup x86