[aegisub] fix version.sh not finding git directory

This commit is contained in:
odrling 2019-11-27 23:34:30 +01:00
parent b0de81752d
commit 38d9c0f5b6
1 changed files with 4 additions and 6 deletions

View File

@ -60,7 +60,7 @@ PATCHES=(
src_prepare() {
default_src_prepare
sed -i 's/(unnamed branch)/master/g' build/version.sh
sed -i 's/(unnamed branch)/master/g' tools/version.sh
# Remove tests that require unavailable uuid Lua module.
rm automation/tests/modules/lfs.moon || die
@ -71,15 +71,13 @@ src_prepare() {
l10n_find_plocales_changes 'po' '' '.po'
l10n_for_each_disabled_locale_do remove_locale
# See http://devel.aegisub.org/ticket/1914
config_rpath_update "${S}"/config.rpath
eautoreconf
}
src_configure() {
setup-wxwidgets
export GIT_DIR=${EGIT_DIR}
local emesonargs=(
-Dalsa=$(usex alsa enabled disabled)
-Dopenal=$(usex openal enabled disabled)