Diff deadbeef-0.7.2-r3 with a deadbeef-1.8.0

/var/lib/layman/calculate/media-sound/deadbeef/deadbeef-1.8.0.ebuild 2019-05-14 00:57:04.000000000 +0300
51 51
	mpg123? ( LGPL-2.1 ZLIB )
52 52
	musepack? ( BSD ZLIB )
53 53
	nullout? ( ZLIB )
54
	opus? ( ZLIB )
54 55
	oss? ( GPL-2 )
55 56
	playlist-browser? ( ZLIB )
56 57
	psf? ( BSD GPL-1 MAME ZLIB )
......
71 72
IUSE="+alsa +flac +gtk2 +hotkeys +m3u +mad +mp3 +sndfile +vorbis
72 73
	aac adplug alac cdda cdparanoia converter cover cover-imlib2 cover-network curl dts dumb equalizer
73 74
	ffmpeg gme gtk3 lastfm libav libnotify libsamplerate mac midi mms mono2stereo mpg123 musepack nls
74
	nullout oss playlist-browser psf pulseaudio sc68 shell-exec shn sid tta unity vtx wavpack wma zip"
75
	nullout opus oss playlist-browser psf pulseaudio replaygain-scanner sc68 shell-exec shn sid tta unity vtx wavpack wma zip"
75 76

  
76 77
REQUIRED_USE="cdparanoia? ( cdda )
77 78
	converter? ( || ( gtk2 gtk3 ) )
......
118 119
	mad? ( media-libs/libmad:0 )
119 120
	midi? ( media-sound/timidity-freepats:0 )
120 121
	mpg123? ( media-sound/mpg123:0 )
122
	opus? ( media-libs/opusfile:0 )
121 123
	psf? ( sys-libs/zlib:0 )
122 124
	pulseaudio? ( media-sound/pulseaudio:0 )
123 125
	sndfile? ( media-libs/libsndfile:0 )
......
136 138
S="${WORKDIR}/${P}"
137 139

  
138 140
src_prepare() {
139
	if ! use_if_iuse linguas_pt_BR && use_if_iuse linguas_ru ; then
140
		eapply "${FILESDIR}/${PN}-0.7.2-remove-pt_br-help-translation.patch"
141
		rm -v "${S}/translation/help.pt_BR.txt" || die
142
	fi
143

  
144
	if ! use_if_iuse linguas_ru && use_if_iuse linguas_pt_BR ; then
145
		eapply "${FILESDIR}/${PN}-0.7.2-remove-ru-help-translation.patch"
141
	if ! use_if_iuse linguas_ru ; then
142
		eapply "${FILESDIR}/${P}-remove-ru-help-translation.patch"
146 143
		rm -v "${S}/translation/help.ru.txt" || die
147 144
	fi
148 145

  
149
	if ! use_if_iuse linguas_pt_BR && ! use_if_iuse linguas_ru ; then
150
		eapply "${FILESDIR}/${PN}-0.7.2-remove-pt_br-and-ru-help-translation.patch"
151
		rm -v "${S}/translation/help.pt_BR.txt" "${S}/translation/help.ru.txt" || die
152
	fi
153

  
154 146
	if use midi ; then
155 147
		# set default gentoo path
156 148
		sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \
......
159 151

  
160 152
	if ! use unity ; then
161 153
		# remove unity trash
162
		eapply "${FILESDIR}/${PN}-0.7.2-remove-unity-trash.patch"
163
	fi
164

  
165
	if use arm ; then
166
		eapply "${FILESDIR}/gcc-8/394536bd135dd5f9fac211c391ce2e1a04bda6da.patch"
167
		eapply "${FILESDIR}/gcc-8/7163099d55c64bf11c3dac4dadfd83a0495ea207.patch"
168
		eapply "${FILESDIR}/gcc-8/8fdeb8102d7a8be6773dc4accc5fe87901488724.patch"
154
		eapply "${FILESDIR}/${P}-remove-unity-trash.patch"
169 155
	fi
170 156

  
171 157
	eapply_user
......
217 203
		$(use_enable musepack) \
218 204
		$(use_enable nls) \
219 205
		$(use_enable nullout) \
206
		$(use_enable opus) \
220 207
		$(use_enable oss) \
221 208
		$(use_enable playlist-browser pltbrowser) \
222 209
		$(use_enable psf) \
223 210
		$(use_enable pulseaudio pulse) \
211
		$(use_enable replaygain-scanner rgscanner) \
224 212
		$(use_enable sc68) \
225 213
		$(use_enable shell-exec shellexecui) \
226 214
		$(use_enable shn) \
Thank you!