Skip to content

Commit

Permalink
main/thrift: new package (0.21.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
a16bitsysop committed Oct 27, 2024
1 parent f89b47d commit a3f526f
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions main/thrift-devel
1 change: 1 addition & 0 deletions main/thrift-glib
1 change: 1 addition & 0 deletions main/thrift-libnb
1 change: 1 addition & 0 deletions main/thrift-libz
46 changes: 46 additions & 0 deletions main/thrift/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
pkgname = "thrift"
pkgver = "0.21.0"
pkgrel = 0
build_style = "cmake"
configure_args = [
"-DWITH_AS3=OFF",
"-DBUILD_SHARED_LIBS=ON",
"-DWITH_JAVA=OFF",
"-DWITH_JAVASCRIPT=OFF",
"-DWITH_NODEJS=OFF",
"-DWITH_PYTHON=OFF",
]
hostmakedepends = ["bison", "cmake", "flex", "ninja", "pkgconf"]
makedepends = [
"boost-devel",
"glib-devel",
"libevent-devel",
"openssl-devel",
"zlib-ng-compat-devel",
]
pkgdesc = "Scalable cross-language services framework for IPC/RPC"
maintainer = "Duncan Bellamy <dunk@denkimushi.com>"
license = "Apache-2.0"
url = "https://thrift.apache.org"
source = f"https://dlcdn.apache.org/thrift/{pkgver}/thrift-{pkgver}.tar.gz"
sha256 = "9a24f3eba9a4ca493602226c16d8c228037db3b9291c6fc4019bfe3bd39fc67c"


@subpackage("thrift-devel")
def _(self):
return self.default_devel()


@subpackage("thrift-glib")
def _(self):
return ["usr/lib/libthrift_*glib*.so.*"]


@subpackage("thrift-libnb")
def _(self):
return ["usr/lib/libthriftnb*.so.*"]


@subpackage("thrift-libz")
def _(self):
return ["usr/lib/libthriftz*.so.*"]

0 comments on commit a3f526f

Please sign in to comment.