Date: Wednesday, February 27, 2013 @ 19:33:34 Author: alucryd Revision: 85219
archrelease: copy trunk to community-i686, community-x86_64 Added: aegisub/repos/community-i686/ aegisub/repos/community-i686/PKGBUILD (from rev 85218, aegisub/trunk/PKGBUILD) aegisub/repos/community-i686/aegisub.install (from rev 85218, aegisub/trunk/aegisub.install) aegisub/repos/community-i686/crash-on-deatach.patch (from rev 85218, aegisub/trunk/crash-on-deatach.patch) aegisub/repos/community-i686/lua51.patch (from rev 85218, aegisub/trunk/lua51.patch) aegisub/repos/community-x86_64/ aegisub/repos/community-x86_64/PKGBUILD (from rev 85218, aegisub/trunk/PKGBUILD) aegisub/repos/community-x86_64/aegisub.install (from rev 85218, aegisub/trunk/aegisub.install) aegisub/repos/community-x86_64/crash-on-deatach.patch (from rev 85218, aegisub/trunk/crash-on-deatach.patch) aegisub/repos/community-x86_64/lua51.patch (from rev 85218, aegisub/trunk/lua51.patch) -----------------------------------------+ community-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++ community-i686/aegisub.install | 14 +++++++++ community-i686/crash-on-deatach.patch | 10 ++++++ community-i686/lua51.patch | 24 ++++++++++++++++ community-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++ community-x86_64/aegisub.install | 14 +++++++++ community-x86_64/crash-on-deatach.patch | 10 ++++++ community-x86_64/lua51.patch | 24 ++++++++++++++++ 8 files changed, 182 insertions(+) Copied: aegisub/repos/community-i686/PKGBUILD (from rev 85218, aegisub/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@gmail.com> +# Contributor: kozec <ko...@kozec.com> +# Contributor: Limao Luo <luolimao+...@gmail.com> + +pkgname=aegisub +pkgver=3.0.2 +pkgrel=5 +pkgdesc="A general-purpose subtitle editor with ASS/SSA support" +arch=('i686' 'x86_64') +url="http://www.aegisub.org" +license=('GPL' 'BSD') +depends=('desktop-file-utils' 'ffmpegsource' 'fftw' 'hicolor-icon-theme' 'hunspell' 'lua51' 'wxgtk2.9' 'hicolor-icon-theme') +makedepends=('mesa') +install=aegisub.install +source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz" 'crash-on-deatach.patch' 'lua51.patch') +sha256sums=('68ec20cf49f513608cec400bd462ebb762d6057109968fb01d842e10e6e7fb39' + '85e2c2a6bf091f5b4ca29a0149df8d8ca6219d98a4095f79809f2e698983bca4' + 'ce67b143cc2949fbbd7d72862c54005030339d1c364753335acec271ca9e179d') + +build() { + cd "${srcdir}"/${pkgname}/${pkgname} + +# Patch + patch -Np1 -i "${srcdir}"/crash-on-deatach.patch + patch -Np1 -i "${srcdir}"/lua51.patch + +# Build + autoreconf -ivf + ./configure --prefix=/usr --without-{portaudio,openal,oss} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9 + make +} + +package() { + cd "${srcdir}"/${pkgname}/${pkgname} + +# Install + make DESTDIR="$pkgdir" install + +# License + install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub + install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub/LICENSE +} Copied: aegisub/repos/community-i686/aegisub.install (from rev 85218, aegisub/trunk/aegisub.install) =================================================================== --- community-i686/aegisub.install (rev 0) +++ community-i686/aegisub.install 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,14 @@ +post_install() { + gtk-update-icon-cache -ftq /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim: ts=2 sw=2 et: Copied: aegisub/repos/community-i686/crash-on-deatach.patch (from rev 85218, aegisub/trunk/crash-on-deatach.patch) =================================================================== --- community-i686/crash-on-deatach.patch (rev 0) +++ community-i686/crash-on-deatach.patch 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,10 @@ +--- a/src/video_display.cpp ++++ b/src/video_display.cpp +@@ -309,6 +309,7 @@ + } + + void VideoDisplay::UpdateSize() { ++ if (zoomValue<=0) zoomValue = 1; + if (!con->videoController->IsLoaded() || !IsShownOnScreen()) return; + + videoSize.Set(con->videoController->GetWidth(), con->videoController->GetHeight()); Copied: aegisub/repos/community-i686/lua51.patch (from rev 85218, aegisub/trunk/lua51.patch) =================================================================== --- community-i686/lua51.patch (rev 0) +++ community-i686/lua51.patch 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,24 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -371,9 +371,9 @@ + + AS_IF([test x$with_lua = xno], [$with_auto4_lua="no"; lua_disabled="(disabled)"], [ + # First try pkg-config with several names +- PKG_CHECK_MODULES(LUA, lua >= 5.1, [with_auto4_lua="yes"], [ +- PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1, [with_auto4_lua="yes"], [ +- PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1, [with_auto4_lua="yes"], [ ++ PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1 lua5.1 < 5.2, [with_auto4_lua="yes"], [ ++ PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1 lua-5.1 < 5.2, [with_auto4_lua="yes"], [ ++ PKG_CHECK_MODULES(LUA, lua >= 5.1 lua < 5.2, [with_auto4_lua="yes"], [ + # Still not found so try to autodetect + AS_IF([test -z "$LUA_CFLAGS"], + [AGI_FIND_HEADER([LUA], [lua.hpp], +@@ -393,7 +393,7 @@ + return !res; + }]) + AS_IF([test x$agi_cv_with_lua = xno && test x$with_lua = xyes], +- [AC_MSG_FAILURE([--with-lua was specified, but lua could not be found. Try setting LUA_CLFAGS and LUA_LIBS manually])]) ++ [AC_MSG_FAILURE([--with-lua was specified, but lua 5.1 could not be found. Try setting LUA_CLFAGS and LUA_LIBS manually])]) + with_auto4_lua=$agi_cv_with_lua + ])])]) + ]) Copied: aegisub/repos/community-x86_64/PKGBUILD (from rev 85218, aegisub/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@gmail.com> +# Contributor: kozec <ko...@kozec.com> +# Contributor: Limao Luo <luolimao+...@gmail.com> + +pkgname=aegisub +pkgver=3.0.2 +pkgrel=5 +pkgdesc="A general-purpose subtitle editor with ASS/SSA support" +arch=('i686' 'x86_64') +url="http://www.aegisub.org" +license=('GPL' 'BSD') +depends=('desktop-file-utils' 'ffmpegsource' 'fftw' 'hicolor-icon-theme' 'hunspell' 'lua51' 'wxgtk2.9' 'hicolor-icon-theme') +makedepends=('mesa') +install=aegisub.install +source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz" 'crash-on-deatach.patch' 'lua51.patch') +sha256sums=('68ec20cf49f513608cec400bd462ebb762d6057109968fb01d842e10e6e7fb39' + '85e2c2a6bf091f5b4ca29a0149df8d8ca6219d98a4095f79809f2e698983bca4' + 'ce67b143cc2949fbbd7d72862c54005030339d1c364753335acec271ca9e179d') + +build() { + cd "${srcdir}"/${pkgname}/${pkgname} + +# Patch + patch -Np1 -i "${srcdir}"/crash-on-deatach.patch + patch -Np1 -i "${srcdir}"/lua51.patch + +# Build + autoreconf -ivf + ./configure --prefix=/usr --without-{portaudio,openal,oss} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9 + make +} + +package() { + cd "${srcdir}"/${pkgname}/${pkgname} + +# Install + make DESTDIR="$pkgdir" install + +# License + install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub + install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub/LICENSE +} Copied: aegisub/repos/community-x86_64/aegisub.install (from rev 85218, aegisub/trunk/aegisub.install) =================================================================== --- community-x86_64/aegisub.install (rev 0) +++ community-x86_64/aegisub.install 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,14 @@ +post_install() { + gtk-update-icon-cache -ftq /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim: ts=2 sw=2 et: Copied: aegisub/repos/community-x86_64/crash-on-deatach.patch (from rev 85218, aegisub/trunk/crash-on-deatach.patch) =================================================================== --- community-x86_64/crash-on-deatach.patch (rev 0) +++ community-x86_64/crash-on-deatach.patch 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,10 @@ +--- a/src/video_display.cpp ++++ b/src/video_display.cpp +@@ -309,6 +309,7 @@ + } + + void VideoDisplay::UpdateSize() { ++ if (zoomValue<=0) zoomValue = 1; + if (!con->videoController->IsLoaded() || !IsShownOnScreen()) return; + + videoSize.Set(con->videoController->GetWidth(), con->videoController->GetHeight()); Copied: aegisub/repos/community-x86_64/lua51.patch (from rev 85218, aegisub/trunk/lua51.patch) =================================================================== --- community-x86_64/lua51.patch (rev 0) +++ community-x86_64/lua51.patch 2013-02-27 18:33:34 UTC (rev 85219) @@ -0,0 +1,24 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -371,9 +371,9 @@ + + AS_IF([test x$with_lua = xno], [$with_auto4_lua="no"; lua_disabled="(disabled)"], [ + # First try pkg-config with several names +- PKG_CHECK_MODULES(LUA, lua >= 5.1, [with_auto4_lua="yes"], [ +- PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1, [with_auto4_lua="yes"], [ +- PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1, [with_auto4_lua="yes"], [ ++ PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1 lua5.1 < 5.2, [with_auto4_lua="yes"], [ ++ PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1 lua-5.1 < 5.2, [with_auto4_lua="yes"], [ ++ PKG_CHECK_MODULES(LUA, lua >= 5.1 lua < 5.2, [with_auto4_lua="yes"], [ + # Still not found so try to autodetect + AS_IF([test -z "$LUA_CFLAGS"], + [AGI_FIND_HEADER([LUA], [lua.hpp], +@@ -393,7 +393,7 @@ + return !res; + }]) + AS_IF([test x$agi_cv_with_lua = xno && test x$with_lua = xyes], +- [AC_MSG_FAILURE([--with-lua was specified, but lua could not be found. Try setting LUA_CLFAGS and LUA_LIBS manually])]) ++ [AC_MSG_FAILURE([--with-lua was specified, but lua 5.1 could not be found. Try setting LUA_CLFAGS and LUA_LIBS manually])]) + with_auto4_lua=$agi_cv_with_lua + ])])]) + ])