diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2014-06-10 20:19:39 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2014-06-10 20:19:39 +0000 |
commit | 541a2cd5273715c65064c36adaaaa58b38a53ac3 (patch) | |
tree | 4ec0d5b29e6a60d43b2f627f855dbc3ca883575b /media-video/aegisub/aegisub-9999.ebuild | |
parent | Switch to system boost, gmock and several python libraries in live ebuild (diff) | |
download | gentoo-2-541a2cd5273715c65064c36adaaaa58b38a53ac3.tar.gz gentoo-2-541a2cd5273715c65064c36adaaaa58b38a53ac3.tar.bz2 gentoo-2-541a2cd5273715c65064c36adaaaa58b38a53ac3.zip |
Bump to 3.1.3, update live ebuild, clean old, enable fftw by default in 3.1.3, bug #511896. Thanks to Nikoli.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'media-video/aegisub/aegisub-9999.ebuild')
-rw-r--r-- | media-video/aegisub/aegisub-9999.ebuild | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/media-video/aegisub/aegisub-9999.ebuild b/media-video/aegisub/aegisub-9999.ebuild index 6639cbc3bf35..66241d23b206 100644 --- a/media-video/aegisub/aegisub-9999.ebuild +++ b/media-video/aegisub/aegisub-9999.ebuild @@ -1,13 +1,14 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-9999.ebuild,v 1.4 2014/02/04 16:52:19 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-9999.ebuild,v 1.5 2014/06/10 20:19:39 maksbotan Exp $ EAPI="5" AUTOTOOLS_AUTORECONF="1" AUTOTOOLS_IN_SOURCE_BUILD="1" WX_GTK_VER="3.0" -inherit autotools-utils wxwidgets git-2 +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@latin sr_RS vi zh_CN zh_TW" +inherit autotools-utils wxwidgets l10n fdo-mime gnome2-utils git-2 DESCRIPTION="Advanced SSA/ASS subtitle editor" HOMEPAGE="http://www.aegisub.org/" @@ -16,7 +17,7 @@ EGIT_REPO_URI="https://github.com/Aegisub/Aegisub.git" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="alsa debug +ffmpeg fftw openal oss portaudio pulseaudio spell" +IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell" REQUIRED_USE=" || ( alsa openal oss portaudio pulseaudio ) @@ -28,8 +29,7 @@ RDEPEND=" virtual/glu >=media-libs/libass-0.10.0[fontconfig] virtual/libiconv - >=dev-lang/lua-5.1.1 - >=dev-libs/boost-1.52.0:=[icu,nls] + >=dev-libs/boost-1.53.0:=[icu,nls,threads] >=dev-libs/icu-4.8.1.1:= >=media-libs/fontconfig-2.4.2 >=media-libs/freetype-2.3.5:2 @@ -50,10 +50,21 @@ DEPEND="${RDEPEND} virtual/pkgconfig " -EGIT_SOURCEDIR="${S}" -S=${S}/${PN} +src_prepare() { + my_rm_loc() { + sed -i -e "s:${1}\.po::" po/Makefile || die + rm "po/${1}.po" || die + } + + l10n_find_plocales_changes 'po' '' '.po' + l10n_for_each_disabled_locale_do my_rm_loc + + autotools-utils_src_prepare +} src_configure() { + # testing openal does not work in sandbox, bug #508184 + use openal && export agi_cv_with_openal="yes" local myeconfargs=( $(use_with alsa) $(use_with oss) @@ -67,3 +78,17 @@ src_configure() { ) autotools-utils_src_configure } + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |