[arch-commits] Commit in aegisub/repos (3 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Dec 27 13:32:34 UTC 2017
Date: Wednesday, December 27, 2017 @ 13:32:33
Author: alucryd
Revision: 276236
archrelease: copy trunk to community-staging-x86_64
Added:
aegisub/repos/community-staging-x86_64/
aegisub/repos/community-staging-x86_64/PKGBUILD
(from rev 276235, aegisub/trunk/PKGBUILD)
aegisub/repos/community-staging-x86_64/icu59.patch
(from rev 276235, aegisub/trunk/icu59.patch)
-------------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
icu59.patch | 11 +++++++++++
2 files changed, 61 insertions(+)
Copied: aegisub/repos/community-staging-x86_64/PKGBUILD (from rev 276235, aegisub/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-12-27 13:32:33 UTC (rev 276236)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: kozec <kozec at kozec.com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgname=aegisub
+pkgver=3.2.2
+pkgrel=25
+pkgdesc='A general-purpose subtitle editor with ASS/SSA support'
+arch=('x86_64')
+url='http://www.aegisub.org'
+license=('GPL' 'BSD')
+depends=('alsa-lib' 'boost-libs' 'fftw' 'fontconfig' 'gcc-libs' 'glibc'
+ 'hunspell' 'icu' 'libgl' 'libpulse' 'wxgtk3' 'zlib'
+ 'libass.so' 'libffms2.so')
+makedepends=('boost' 'intltool' 'mesa')
+source=("http://ftp.aegisub.org/pub/archives/releases/source/aegisub-${pkgver}.tar.xz"
+ 'icu59.patch')
+sha256sums=('c55e33945b82d8513c02ea6e782f0d72c726adcd3707e95b8c0022f6151e6885'
+ '29d8cc91e73602d5e3c8517c977dcc77cb84af7d42787f510d487d0a6abf7fa6')
+
+prepare() {
+ cd aegisub-${pkgver}
+
+ patch -Np1 -i ../icu59.patch
+
+ sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile
+}
+
+build() {
+ cd aegisub-${pkgver}
+
+ ./configure \
+ --prefix='/usr' \
+ --with-wx-config='/usr/bin/wx-config-gtk3' \
+ --without-{portaudio,openal,oss} \
+ --disable-update-checker
+ make
+}
+
+package() {
+ cd aegisub-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub
+ install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub/LICENSE
+}
+
+# vim: ts=2 sw=2 et:
Copied: aegisub/repos/community-staging-x86_64/icu59.patch (from rev 276235, aegisub/trunk/icu59.patch)
===================================================================
--- community-staging-x86_64/icu59.patch (rev 0)
+++ community-staging-x86_64/icu59.patch 2017-12-27 13:32:33 UTC (rev 276236)
@@ -0,0 +1,11 @@
+diff -upr aegisub-3.2.2.orig/src/utils.cpp aegisub-3.2.2/src/utils.cpp
+--- aegisub-3.2.2.orig/src/utils.cpp 2014-12-08 02:07:09.000000000 +0200
++++ aegisub-3.2.2/src/utils.cpp 2017-04-26 11:11:15.438239182 +0300
+@@ -44,6 +44,7 @@
+ #include <boost/filesystem/path.hpp>
+ #include <map>
+ #include <unicode/locid.h>
++#include <unicode/unistr.h>
+ #include <wx/clipbrd.h>
+ #include <wx/filedlg.h>
+ #include <wx/stdpaths.h>
More information about the arch-commits
mailing list