[arch-commits] Commit in aegisub/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 25 11:00:58 UTC 2019


    Date: Monday, March 25, 2019 @ 11:00:57
  Author: alucryd
Revision: 443444

wxgtk 3.1.2 rebuild: aegisub 3.2.2-33

Modified:
  aegisub/trunk/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 45 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-25 10:50:41 UTC (rev 443443)
+++ PKGBUILD	2019-03-25 11:00:57 UTC (rev 443444)
@@ -4,42 +4,65 @@
 
 pkgname=aegisub
 pkgver=3.2.2
-pkgrel=32
+pkgrel=33
 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"
-        'boost-1.68.patch'
-        'icu59.patch')
-sha256sums=('c55e33945b82d8513c02ea6e782f0d72c726adcd3707e95b8c0022f6151e6885'
-            'aa1689a2204f6a617000f3380b8dea9c3dca4f500d0643e05172750c49cc5a21'
-            '29d8cc91e73602d5e3c8517c977dcc77cb84af7d42787f510d487d0a6abf7fa6')
+arch=(x86_64)
+url=http://www.aegisub.org
+license=(
+  GPL
+  BSD
+)
+depends=(
+  alsa-lib
+  boost-libs
+  fftw
+  fontconfig
+  hunspell
+  icu
+  libass.so
+  libffms2.so
+  libgl
+  libpulse
+  wxgtk3
+  zlib
+)
+makedepends=(
+  boost
+  git
+  intltool
+  mesa
+)
+source=(
+  git+https://github.com/Aegisub/Aegisub.git#tag=v${pkgver}
+  boost-1.68.patch
+  icu59.patch
+)
+sha256sums=(
+  SKIP
+  aa1689a2204f6a617000f3380b8dea9c3dca4f500d0643e05172750c49cc5a21
+  29d8cc91e73602d5e3c8517c977dcc77cb84af7d42787f510d487d0a6abf7fa6
+)
 
 prepare() {
-  cd aegisub-${pkgver}
+  cd Aegisub
 
   patch -Np1 -i ../boost-1.68.patch
+  sed 's|gil/gil_all.hpp|gil.hpp|g' -i src/*.cpp # boost 1.69
+  sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i tools/Makefile # missing link flag
   patch -Np1 -i ../icu59.patch
-  # 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
+  ./autogen.sh
 }
 
 build() {
-  cd aegisub-${pkgver}
+  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' \
+    --prefix=/usr \
+    --with-wx-config=/usr/bin/wx-config-gtk3 \
     --without-{portaudio,openal,oss} \
     --disable-update-checker
   make
@@ -46,7 +69,7 @@
 }
 
 package() {
-  cd aegisub-${pkgver}
+  cd Aegisub
 
   make DESTDIR="${pkgdir}" install
 


More information about the arch-commits mailing list