Compare commits
No commits in common. "8c53a0e1a6ce73448870c00e9f6f080beb0437ba" and "86783ac5d1dacdeb61e9e102e7d60cddc06ffcab" have entirely different histories.
8c53a0e1a6
...
86783ac5d1
6 changed files with 57 additions and 15 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -139,15 +139,9 @@
|
|||
[submodule "lemmy-ui"]
|
||||
path = lemmy-ui
|
||||
url = ssh://aur@aur.archlinux.org/lemmy-ui.git
|
||||
[submodule "libabigail"]
|
||||
path = libabigail
|
||||
url = ssh://aur@aur.archlinux.org/libabigail.git
|
||||
[submodule "libemf2svg"]
|
||||
path = libemf2svg
|
||||
url = ssh://aur@aur.archlinux.org/libemf2svg.git
|
||||
[submodule "libgraphqlparser"]
|
||||
path = libgraphqlparser
|
||||
url = ssh://aur@aur.archlinux.org/libgraphqlparser.git
|
||||
[submodule "libiconv"]
|
||||
path = libiconv
|
||||
url = ssh://aur@aur.archlinux.org/libiconv.git
|
||||
|
|
|
@ -1228,13 +1228,6 @@ source = "git"
|
|||
git = "https://salsa.debian.org/python-debian-team/python-debian.git"
|
||||
use_max_tag = true
|
||||
|
||||
[libabigail]
|
||||
source = "git"
|
||||
git = "https://sourceware.org/git/libabigail.git"
|
||||
use_max_tag = true
|
||||
prefix = "libabigail-"
|
||||
ignored = "1.0.rc0"
|
||||
|
||||
# gems
|
||||
|
||||
[ruby-ffi]
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d2a3fe7c203772775b79d563fc2d6bcf582e86b2
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 96c5b2028cb9b1db81442591a6ad4b78f01fde3c
|
43
libgraphqlparser/PKGBUILD
Normal file
43
libgraphqlparser/PKGBUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
|
||||
|
||||
pkgname=libgraphqlparser
|
||||
pkgver=0.7.0
|
||||
pkgrel=3
|
||||
pkgdesc="A GraphQL query parser in C++ with C and C++ APIs"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/graphql/libgraphqlparser"
|
||||
license=('BSD')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('git' 'cmake' 'python')
|
||||
source=(
|
||||
"$pkgname-$pkgver.tar.gz::https://github.com/graphql/$pkgname/archive/v$pkgver.tar.gz"
|
||||
'use_python3.patch'
|
||||
)
|
||||
sha512sums=('973292b164d0d2cfe453a2f01559dbdb1b9d22b6304f6a3aabf71e2c0a3e24ab69dfd72a086764ad5befecf0005620f8e86f552dacc324f9615a05f31de7cede'
|
||||
'bf20aad5ce3708aed8508c999b03f24ea1f63c281d95a4e1d5683f85309eadca3c2caa9f2ef43cedf0d849c571b853adf05de2ded30a8fa306fd544dde6a4c40')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
# Python 2 is super *super* _super_ EOL.
|
||||
patch -p1 -i ../use_python3.patch
|
||||
2to3 \
|
||||
--write \
|
||||
--nobackups \
|
||||
ast
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
cmake -DCTYPESGEN_FOUND=Off -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
}
|
14
libgraphqlparser/use_python3.patch
Normal file
14
libgraphqlparser/use_python3.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -7,10 +7,7 @@ INCLUDE(version)
|
||||
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
|
||||
|
||||
-FIND_PACKAGE(PythonInterp 2 REQUIRED)
|
||||
-IF (NOT PYTHON_VERSION_MAJOR EQUAL 2)
|
||||
- MESSAGE(FATAL_ERROR "Python 2 is required.")
|
||||
-ENDIF()
|
||||
+FIND_PACKAGE(PythonInterp 3 REQUIRED)
|
||||
|
||||
FIND_PROGRAM(CTYPESGEN_FOUND ctypesgen.py)
|
||||
|
Loading…
Reference in a new issue