diff options
author | Anaël Megna | 2019-08-20 12:00:00 +0200 |
---|---|---|
committer | Anaël Megna | 2019-08-20 12:00:20 +0200 |
commit | 80e38ad6c38989a3370f1902e94a3d19e35cadd5 (patch) | |
tree | 02ab17034aa4ed33703b3e1ee24d11e8c7948fd4 | |
download | aur-80e38ad6c38989a3370f1902e94a3d19e35cadd5.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 89 |
2 files changed, 125 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b02f62381643 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,36 @@ +pkgbase = aegisub-japan7 + pkgdesc = A fork of aegisub project with custom predefined configuration + pkgver = 3.2.2.r396.deaf588af + pkgrel = 1 + url = https://github.com/odrling/Aegisub + arch = x86_64 + license = GPL + license = BSD + makedepends = autoconf-archive + makedepends = boost + makedepends = git + makedepends = intltool + makedepends = lua + makedepends = mesa + depends = alsa-lib + depends = boost-libs + depends = fftw + depends = fontconfig + depends = hunspell + depends = icu + depends = libass.so + depends = libffms2.so + depends = libgl + depends = libpulse + depends = uchardet + depends = wxgtk3 + depends = zlib + provides = aegisub + conflicts = aegisub + source = aegisub::git+https://github.com/odrling/Aegisub.git + source = git+https://github.com/Aegisub/assdraw.git + sha256sums = SKIP + sha256sums = SKIP + +pkgname = aegisub-japan7 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ff395a9f7d1d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,89 @@ +# Maintainer: mistiru (Anaël Megna) <anael.megna@gmail.com> + +pkgname=aegisub-japan7 +pkgver=3.2.2.r396.deaf588af +pkgrel=1 +pkgdesc='A fork of aegisub project with custom predefined configuration' +arch=(x86_64) +url=https://github.com/odrling/Aegisub +license=( + GPL + BSD +) +depends=( + alsa-lib + boost-libs + fftw + fontconfig + hunspell + icu + libass.so + libffms2.so + libgl + libpulse + uchardet + wxgtk3 + zlib +) +makedepends=( + autoconf-archive + boost + git + intltool + lua + mesa +) +provides=(aegisub) +conflicts=(aegisub) +source=( + aegisub::git+https://github.com/odrling/Aegisub.git + git+https://github.com/Aegisub/assdraw.git +) +sha256sums=( + SKIP + SKIP +) + +pkgver() { + cd aegisub + + tag='v3.2.2' + + echo "${tag#v}.r$(git rev-list --count ${tag}..HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd aegisub + + # boost 1.69 + sed 's|gil/gil_all.hpp|gil.hpp|g' -i src/*.cpp + + sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile + + cp -f /usr/share/aclocal/ax_boost_{chrono,filesystem,locale,regex,system,thread}.m4 m4macros/ + + ./autogen.sh +} + +build() { + cd aegisub + + # http://site.icu-project.org/download/61#TOC-Migration-Issues + CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' + + ./configure \ + --prefix=/usr \ + --with-wx-config=/usr/bin/wx-config-gtk3 \ + --without-{portaudio,openal,oss} \ + --disable-update-checker + make +} + +package() { + cd aegisub + + make DESTDIR="${pkgdir}" install + install -Dm 644 LICENCE -t "${pkgdir}"/usr/share/licenses/aegisub-git/ +} + +# vim: ts=2 sw=2 et: |