[arch-commits] Commit in texworks/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at archlinux.org
Thu Mar 11 12:34:03 UTC 2021


    Date: Thursday, March 11, 2021 @ 12:34:03
  Author: diabonas
Revision: 887440

archrelease: copy trunk to community-x86_64

Added:
  texworks/repos/community-x86_64/PKGBUILD
    (from rev 887439, texworks/trunk/PKGBUILD)
Deleted:
  texworks/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 41 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-11 12:33:54 UTC (rev 887439)
+++ PKGBUILD	2021-03-11 12:34:03 UTC (rev 887440)
@@ -1,46 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=texworks
-pkgver=0.6.5
-pkgrel=4
-pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
-arch=('x86_64')
-url='https://www.tug.org/texworks/'
-license=('GPL')
-depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-base' 'qt5-script' 'libpoppler-qt5.so')
-makedepends=('cmake' 'lua' 'python' 'qt5-tools')
-checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb')
-optdepends=('gsfonts: correctly display PDF files without embedded fonts'
-            'lua: Lua scripts support'
-            'poppler-data: correctly display certain CJK documents'
-            'python: Python scripts support'
-            'texlive-core: typeset TeX documents')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz"
-        "texworks-0.6.5_fix-compilation-with-qt-5.15.patch::https://github.com/TeXworks/texworks/commit/a5352a3a94e3685125650b65e6197de060326cc2.patch")
-sha512sums=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e'
-            '8cdc834a2d0d8d843e326a825a13418c765079ec41c15f1fe5b7a3eb2c158928db594ba7d7e946dd72a936af4bf86a302dd5b042fad64d20fe033f2b64dea3e8')
-
-prepare() {
-	cd "texworks-release-$pkgver"
-	patch --strip=1 --input="$srcdir/texworks-0.6.5_fix-compilation-with-qt-5.15.patch"
-}
-
-build() {
-	cmake -DCMAKE_INSTALL_PREFIX=/usr \
-	      -DCMAKE_BUILD_TYPE=None \
-	      -DCMAKE_CXX_FLAGS="$CXXFLAGS $CPPFLAGS" \
-	      -DTW_BUILD_ID='Arch Linux' \
-	      -DWITH_PYTHON=ON \
-	      -B build \
-	      -S "texworks-release-$pkgver"
-	make -C build
-}
-
-check() {
-	cd build
-	xvfb-run ctest --output-on-failure
-}
-
-package() {
-	cd build
-	make DESTDIR="$pkgdir" install
-}

Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 887439, texworks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-11 12:34:03 UTC (rev 887440)
@@ -0,0 +1,41 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=texworks
+pkgver=0.6.6
+pkgrel=1
+pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
+arch=('x86_64')
+url='https://www.tug.org/texworks/'
+license=('GPL')
+depends=('hunspell' 'libsynctex' 'poppler-qt6' 'qt6-5compat' 'qt6-base'
+         'qt6-declarative' 'qt6-tools' 'libpoppler-qt6.so')
+makedepends=('cmake' 'lua' 'python')
+checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb')
+optdepends=('gsfonts: correctly display PDF files without embedded fonts'
+            'lua: Lua scripts support'
+            'poppler-data: correctly display certain CJK documents'
+            'python: Python scripts support'
+            'texlive-core: typeset TeX documents')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz")
+sha512sums=('65300dfbe4e0e2f3b387c868e343f6caeff4602b47afee5a02cce82e0e23b74fe559b4b54fb65d778748de56f38581305a9b3a53d743c957b7dc14ecce4546d1')
+
+build() {
+	cmake -DCMAKE_INSTALL_PREFIX=/usr \
+	      -DCMAKE_BUILD_TYPE=None \
+	      -DCMAKE_CXX_FLAGS="$CXXFLAGS $CPPFLAGS" \
+	      -DQT_DEFAULT_MAJOR_VERSION=6 \
+	      -DTW_BUILD_ID='Arch Linux' \
+	      -DWITH_PYTHON=ON \
+	      -B build \
+	      -S "texworks-release-$pkgver"
+	make -C build
+}
+
+check() {
+	cd build
+	xvfb-run ctest --output-on-failure
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list