[arch-commits] Commit in thrift/repos (2 files)

2019-01-02 Thread Anatol Pomozov via arch-commits
Date: Wednesday, January 2, 2019 @ 17:08:54
  Author: anatolik
Revision: 420280

archrelease: copy trunk to community-testing-x86_64

Added:
  thrift/repos/community-testing-x86_64/
  thrift/repos/community-testing-x86_64/PKGBUILD
(from rev 420278, thrift/trunk/PKGBUILD)

--+
 PKGBUILD |   68 +
 1 file changed, 68 insertions(+)

Copied: thrift/repos/community-testing-x86_64/PKGBUILD (from rev 420278, 
thrift/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-01-02 17:08:54 UTC (rev 420280)
@@ -0,0 +1,68 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Byron Clark 
+
+# This package contains only thrift compiler and C/C++ libraries
+# for all the language binding one should use corresponding language-specific 
package manager:
+# CPAN for perl, gem for ruby, pip for python etc... Or better to create arch 
packages that install
+# the binding from the language specific managers python2-thrift, perl-thrift, 
ruby-thrift, ...
+
+pkgname=thrift
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='Scalable cross-language services framework for IPC/RPC'
+arch=(x86_64)
+url='http://thrift.apache.org'
+license=(APACHE)
+depends=(gcc-libs openssl)
+makedepends=(qt4 qt5-base boost libevent emacs-nox)
+optdepends=(
+  'qt4: TQTcpServer (Qt4) support'
+  'qt5-base: TQTcpServer (Qt5) support'
+)
+source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip)
+sha1sums=('36048534ba673d2a6531f3517eff402772d08dcc')
+
+build() {
+  cd thrift-$pkgver
+
+  ./bootstrap.sh
+  ./configure --prefix=/usr \
+ --enable-plugin \
+  --with-cpp \
+  --with-c_glib \
+ --with-qt4 \
+  --with-qt5 \
+  --with-libevent \
+  --with-csharp \
+  --without-haskell \
+  --without-php \
+  --without-ruby \
+  --without-python \
+  --without-erlang \
+  --without-perl \
+  --without-java \
+  --without-c_sharp \
+  --without-d \
+  --without-php \
+  --without-go \
+  --without-lua \
+  --without-nodejs
+  
+  make
+
+  emacs -Q --batch -f batch-byte-compile contrib/thrift.el
+}
+
+check() {
+  cd thrift-$pkgver
+#  make check
+}
+
+package() {
+  cd thrift-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -m0644 -D contrib/thrift.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/thrift.vim
+  install -m0644 -D contrib/thrift.el 
"$pkgdir"/usr/share/emacs/site-lisp/thrift.el
+  install -m0644 -D contrib/thrift.elc 
"$pkgdir"/usr/share/emacs/site-lisp/thrift.elc
+}


[arch-commits] Commit in thrift/repos (2 files)

2017-12-14 Thread Anatol Pomozov via arch-commits
Date: Thursday, December 14, 2017 @ 18:02:13
  Author: anatolik
Revision: 274423

archrelease: copy trunk to community-testing-x86_64

Added:
  thrift/repos/community-testing-x86_64/
  thrift/repos/community-testing-x86_64/PKGBUILD
(from rev 274422, thrift/trunk/PKGBUILD)

--+
 PKGBUILD |   69 +
 1 file changed, 69 insertions(+)

Copied: thrift/repos/community-testing-x86_64/PKGBUILD (from rev 274422, 
thrift/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-12-14 18:02:13 UTC (rev 274423)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Byron Clark 
+
+# This package contains only thrift compiler and C/C++ libraries
+# for all the language binding one should use corresponding language-specific 
package manager:
+# CPAN for perl, gem for ruby, pip for python etc... Or better to create arch 
packages that install
+# the binding from the language specific managers python2-thrift, perl-thrift, 
ruby-thrift, ...
+
+pkgname=thrift
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='Scalable cross-language services framework for IPC/RPC'
+arch=(x86_64)
+url='http://thrift.apache.org/'
+license=(APACHE)
+depends=(gcc-libs openssl)
+makedepends=(qt4 qt5-base boost libevent emacs-nox)
+optdepends=(
+  'qt4: TQTcpServer (Qt4) support'
+  'qt5-base: TQTcpServer (Qt5) support'
+)
+source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip)
+sha1sums=('7acde72e72c810214d6a5c53ca8e9e0b3179470a')
+
+build() {
+  cd thrift-$pkgver
+
+  ./bootstrap.sh
+  ./configure --prefix=/usr \
+ --enable-plugin \
+  --with-cpp \
+  --with-c_glib \
+ --with-qt4 \
+  --with-qt5 \
+  --with-libevent \
+  --with-csharp \
+  --without-haskell \
+  --without-php \
+  --without-ruby \
+  --without-python \
+  --without-erlang \
+  --without-perl \
+  --without-java \
+  --without-c_sharp \
+  --without-d \
+  --without-php \
+  --without-go \
+  --without-lua \
+  --without-nodejs
+  
+  make
+
+  emacs -Q --batch -f batch-byte-compile contrib/thrift.el
+}
+
+check() {
+  cd thrift-$pkgver
+#  make check
+}
+
+package() {
+  cd thrift-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -m0644 -D contrib/thrift.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/thrift.vim
+  install -m0644 -D contrib/thrift.el 
"$pkgdir"/usr/share/emacs/site-lisp/thrift.el
+  install -m0644 -D contrib/thrift.elc 
"$pkgdir"/usr/share/emacs/site-lisp/thrift.elc
+}