summaryrefslogtreecommitdiff
path: root/dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-30 11:22:23 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-30 11:22:23 +0000
commitc4f9b0c551e11e111818c74932357effd4b33999 (patch)
tree330cc9d8ec7d3e987c862fe26d51a788a6980a06 /dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild
parent736acafc5b31bbd89536534eddb34862386c4883 (diff)
dev-libs/fribidi : import from gentoo, cherry pick a debian patch to remove HAVE_CONFIG_H from public API
Diffstat (limited to 'dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild')
-rw-r--r--dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild b/dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild
new file mode 100644
index 00000000..e74d2302
--- /dev/null
+++ b/dev-libs/fribidi/fribidi-1.0.5-r1337.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-minimal
+
+DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
+HOMEPAGE="https://fribidi.org/"
+SRC_URI="https://github.com/fribidi/fribidi/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ virtual/pkgconfig[${MULTILIB_USEDEP}]"
+
+DOCS=( AUTHORS NEWS README ChangeLog THANKS )
+
+PATCHES=( "${FILESDIR}"/no-config-h.diff )
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ $(use_enable static-libs static)
+ --disable-debug
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}