summaryrefslogtreecommitdiff
path: root/net-libs/quasselc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/quasselc
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/quasselc')
-rw-r--r--net-libs/quasselc/Manifest3
-rw-r--r--net-libs/quasselc/metadata.xml13
-rw-r--r--net-libs/quasselc/quasselc-0_p20170111.ebuild41
3 files changed, 57 insertions, 0 deletions
diff --git a/net-libs/quasselc/Manifest b/net-libs/quasselc/Manifest
new file mode 100644
index 000000000000..df69440fe39a
--- /dev/null
+++ b/net-libs/quasselc/Manifest
@@ -0,0 +1,3 @@
+DIST quasselc-0_p20170111.zip 39051 SHA256 35360cf14e34e5bcde4d4e26cd36ddc1c3e57a786cebe7e8ff096dc20e90e2d9 SHA512 bf2aa58953778c340408de45ddacdd47e862a431a4ee7384d595b6635954b3f705c4b51b56811f2f4c6b5b603d237512638613c912d48daed9a3cb55952d314b WHIRLPOOL c1b2753683c59a50906aba30ee995c274601cdc1062afdef884f77d2880e0a6b6db8de2f71f7d4ce63b5ee554cdda0d40f55f4fcfb7f9b8f0f23d7acd0257e0e
+EBUILD quasselc-0_p20170111.ebuild 942 SHA256 c0c982fbee659072d3822fc3a11febbe1212f8c4563c691e7eb3a92cc3192133 SHA512 e49c00a358603f8a0e774ae414e7a1c5390bf81b401eb74aeb6f1f531304f6d95b448cc53057960a6b3517a79ab7a4b33dc8256df92f89895f2f7cb14b0771e7 WHIRLPOOL e48c89bd06440cb59630fd73ff8ec9cb702cefce57cdebb39dabc90a9ab65d918e3a2f165d7e42a8c54f7c4210734677577b25f17e8ae07fd93c5a667526d8a8
+MISC metadata.xml 475 SHA256 1dc5cb33de8aa6371825e4f268ce430e7459c47865c8be998552ba5681e25606 SHA512 845ba9861385b9e2735c52f1f96507049405d733d1d5d262d5f7d9458a19fd82060a671afee60a293175e2e947d402b492720e0bb5048a8f80784e069c8ac733 WHIRLPOOL e6385a7c2279a28db35e0c18a25d1c96962f6df182ed69d4e899cdc68fc4902f5306adc267e54398846027280ed6c114d1da2ed84c472353bde1f69917a7ac32
diff --git a/net-libs/quasselc/metadata.xml b/net-libs/quasselc/metadata.xml
new file mode 100644
index 000000000000..09dbfc6cdcd8
--- /dev/null
+++ b/net-libs/quasselc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wraeth@gentoo.org</email>
+ <name>Sam Jorna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">phhusson/QuasselC</remote-id>
+ <bugs-to>https://github.com/phhusson/QuasselC/issues</bugs-to>
+ </upstream>
+ <longdescription lang="en">API to access a Quassel Core in pure C.</longdescription>
+</pkgmetadata>
diff --git a/net-libs/quasselc/quasselc-0_p20170111.ebuild b/net-libs/quasselc/quasselc-0_p20170111.ebuild
new file mode 100644
index 000000000000..96e2e94dad8a
--- /dev/null
+++ b/net-libs/quasselc/quasselc-0_p20170111.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+# Commit Date: Wed Jan 11 18:27:31 2017 +0100
+COMMIT="a0a1e6bd87d3eac68b5369972d1c2035cfe47e94"
+
+DESCRIPTION="API for accessing Quassel using C"
+HOMEPAGE="https://github.com/phhusson/QuasselC"
+SRC_URI="https://github.com/phhusson/QuasselC/archive/${COMMIT}.zip -> ${PF}.zip"
+
+LICENSE="GPL-3 LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/QuasselC-${COMMIT}"
+
+src_prepare() {
+ default
+
+ # Makefile hardcodes much
+ sed -e '/^CFLAGS/d' -i Makefile || die
+ local includes=$($(tc-getPKG_CONFIG) glib-2.0 --cflags)
+ append-cflags "${includes} -fPIC -std=gnu11"
+}
+
+src_compile() {
+ tc-export CC
+ export prefix="${ROOT}usr" libdir="${ROOT}usr/$(get_libdir)"
+ default
+}
+
+src_install() {
+ default
+ dosym "libquasselc.so.0" "/usr/$(get_libdir)/libquasselc.so"
+}