maksbotan 14/06/09 19:21:47 Modified: aegisub-3.1.2.ebuild ChangeLog Log: Update icon cache and desktop database, bug #508116. Respect LINGUAS, bug #508118. Fix sandbox access violation with openal, bug #508184. Thanks to Nikoli. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Revision Changes Path 1.3 media-video/aegisub/aegisub-3.1.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aegisub/aegisub-3.1.2.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aegisub/aegisub-3.1.2.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aegisub/aegisub-3.1.2.ebuild?r1=1.2&r2=1.3 Index: aegisub-3.1.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-3.1.2.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- aegisub-3.1.2.ebuild 4 Feb 2014 16:52:19 -0000 1.2 +++ aegisub-3.1.2.ebuild 9 Jun 2014 19:21:47 -0000 1.3 @@ -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-3.1.2.ebuild,v 1.2 2014/02/04 16:52:19 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-3.1.2.ebuild,v 1.3 2014/06/09 19:21:47 maksbotan Exp $ EAPI="5" AUTOTOOLS_AUTORECONF="1" AUTOTOOLS_IN_SOURCE_BUILD="1" WX_GTK_VER="3.0" -inherit autotools-utils wxwidgets +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 DESCRIPTION="Advanced SSA/ASS subtitle editor" HOMEPAGE="http://www.aegisub.org/" @@ -52,7 +53,21 @@ S=${WORKDIR}/${P}/${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) @@ -66,3 +81,17 @@ ) 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 +} 1.15 media-video/aegisub/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aegisub/ChangeLog?rev=1.15&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aegisub/ChangeLog?rev=1.15&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/aegisub/ChangeLog?r1=1.14&r2=1.15 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/aegisub/ChangeLog,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ChangeLog 4 Feb 2014 16:52:19 -0000 1.14 +++ ChangeLog 9 Jun 2014 19:21:47 -0000 1.15 @@ -1,6 +1,11 @@ # ChangeLog for media-video/aegisub # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/ChangeLog,v 1.14 2014/02/04 16:52:19 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/ChangeLog,v 1.15 2014/06/09 19:21:47 maksbotan Exp $ + + 09 Jun 2014; Maxim Koltsov <maksbo...@gentoo.org> aegisub-3.1.2.ebuild: + Update icon cache and desktop database, bug #508116. Respect LINGUAS, bug + #508118. Fix sandbox access violation with openal, bug #508184. Thanks to + Nikoli. 04 Feb 2014; Samuli Suominen <ssuomi...@gentoo.org> aegisub-3.1.2.ebuild, aegisub-9999.ebuild: