diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /dev-libs | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libds/Manifest | 15 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.0.12.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.0.13.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.0.14-r1.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.0.14.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.1.0.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.1.1.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.1.2.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libds/libds-0.1.3.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/libroadnav/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libroadnav/libroadnav-0.19.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild | 41 | ||||
-rw-r--r-- | dev-libs/pocl/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/pocl/files/vendor_opencl_libs_location.epatch | 21 | ||||
-rw-r--r-- | dev-libs/pocl/pocl-1.1.ebuild | 25 | ||||
-rw-r--r-- | dev-libs/pocl/pocl-1.2.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/pocl/pocl-9999.ebuild | 40 |
17 files changed, 482 insertions, 0 deletions
diff --git a/dev-libs/libds/Manifest b/dev-libs/libds/Manifest new file mode 100644 index 0000000..bd6aa86 --- /dev/null +++ b/dev-libs/libds/Manifest @@ -0,0 +1,15 @@ +DIST opc-0.0.12.tar.bz2 2115216 RMD160 adb4ce5368b9638dc877cd8be728c668f73fd3c9 SHA1 973b76dd20a8860ec8de00a8908ceed07ba32ff6 SHA256 9e6ba38d084980e8b992749796db3f48cc99f6401ed62fbc8cfd57d343be299c +DIST opc-0.0.13.tar.bz2 2115452 RMD160 f1f105121c8c2fa8309e021e8eb80b85b16a820b SHA1 b3bfd2a647a88b41b4767dde4e20a2cc6410c9a7 SHA256 4b3ae9fcea091e5d06b2fca92b559f03cc89307f33b97af35e1f3d56b7d12046 +DIST opc-0.0.14.tar.bz2 2115191 RMD160 d848b14f231528029f3ffb7e7bb07a1a88d5954e SHA1 cc67e641d29df27c8895102591b92e23febad74a SHA256 fa931059de6883a4ad83ad9b2d4bb532735f17fd577aa3b7ef72353bec8fdfcc +DIST opc-0.1.0.tar.bz2 2168015 RMD160 f6371e106a4894d33847af9bf1ea4a7dfd5bb0e3 SHA1 25becaa6963ff32ae19ebf8c34960d7de41b100c SHA256 3cdc2034f17326ea892dc7a9c178fac784dbde7d963c35849b49686b831551c6 +DIST opc-0.1.1.tar.bz2 2145109 RMD160 aa4b998fe2d4897dbc1fcad7eae9d119758b0797 SHA1 f95994c76511008db8653e9a2b300285f2902957 SHA256 90f0470ee3051a9d256b5721c8220dcfcc265c9d2f47328d343fae8e94dbbb88 +DIST opc-0.1.2.tar.bz2 2145104 RMD160 58591d45d9f867f9a8bc1b6a65e6261e1da879cc SHA1 902bbc6d5663f79c6745948687871757720b524a SHA256 8ad6978a4a32cb6a63ef39672e9d9d9446657a1edcc9ce5dd8be810167f80a12 +DIST opc-0.1.3.tar.bz2 2145680 RMD160 b5e8b649cf68e961de0f8971e7f4e8edc614c1d7 SHA1 b8322d6f5ab2c7144579318408e5a4d4d1b83a8c SHA256 f43c5c7a697de9de63d674b981e9543ac16da2ca95661a978768d7bf41dab203 +EBUILD libds-0.0.12.ebuild 749 RMD160 afaac664683f44733d3a367a0bfe2502b6a1ff9a SHA1 9fb88be9177b09bab8d0f5bc7f2091b363d4ed95 SHA256 04440109e6bca8f91b65f412fc29ced05a8050e80db72c594557dad33fb9e571 +EBUILD libds-0.0.13.ebuild 749 RMD160 afaac664683f44733d3a367a0bfe2502b6a1ff9a SHA1 9fb88be9177b09bab8d0f5bc7f2091b363d4ed95 SHA256 04440109e6bca8f91b65f412fc29ced05a8050e80db72c594557dad33fb9e571 +EBUILD libds-0.0.14-r1.ebuild 758 RMD160 e9f96751835fda527f6c7ea490919ffce7eb5902 SHA1 2d84f503a41e047e85e2183930b46c294adb7871 SHA256 96ee246d7dfd5e3ee5a8a148688317814d5e426277b8427ec6938b5d9fc3083e +EBUILD libds-0.0.14.ebuild 749 RMD160 afaac664683f44733d3a367a0bfe2502b6a1ff9a SHA1 9fb88be9177b09bab8d0f5bc7f2091b363d4ed95 SHA256 04440109e6bca8f91b65f412fc29ced05a8050e80db72c594557dad33fb9e571 +EBUILD libds-0.1.0.ebuild 758 RMD160 e9f96751835fda527f6c7ea490919ffce7eb5902 SHA1 2d84f503a41e047e85e2183930b46c294adb7871 SHA256 96ee246d7dfd5e3ee5a8a148688317814d5e426277b8427ec6938b5d9fc3083e +EBUILD libds-0.1.1.ebuild 758 RMD160 e9f96751835fda527f6c7ea490919ffce7eb5902 SHA1 2d84f503a41e047e85e2183930b46c294adb7871 SHA256 96ee246d7dfd5e3ee5a8a148688317814d5e426277b8427ec6938b5d9fc3083e +EBUILD libds-0.1.2.ebuild 758 RMD160 e9f96751835fda527f6c7ea490919ffce7eb5902 SHA1 2d84f503a41e047e85e2183930b46c294adb7871 SHA256 96ee246d7dfd5e3ee5a8a148688317814d5e426277b8427ec6938b5d9fc3083e +EBUILD libds-0.1.3.ebuild 758 RMD160 e9f96751835fda527f6c7ea490919ffce7eb5902 SHA1 2d84f503a41e047e85e2183930b46c294adb7871 SHA256 96ee246d7dfd5e3ee5a8a148688317814d5e426277b8427ec6938b5d9fc3083e diff --git a/dev-libs/libds/libds-0.0.12.ebuild b/dev-libs/libds/libds-0.0.12.ebuild new file mode 100644 index 0000000..bd05436 --- /dev/null +++ b/dev-libs/libds/libds-0.0.12.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://localhost/releases/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.0.13.ebuild b/dev-libs/libds/libds-0.0.13.ebuild new file mode 100644 index 0000000..bd05436 --- /dev/null +++ b/dev-libs/libds/libds-0.0.13.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://localhost/releases/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.0.14-r1.ebuild b/dev-libs/libds/libds-0.0.14-r1.ebuild new file mode 100644 index 0000000..597982d --- /dev/null +++ b/dev-libs/libds/libds-0.0.14-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://dside.dyndns.org/files/adas/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.0.14.ebuild b/dev-libs/libds/libds-0.0.14.ebuild new file mode 100644 index 0000000..bd05436 --- /dev/null +++ b/dev-libs/libds/libds-0.0.14.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://localhost/releases/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.1.0.ebuild b/dev-libs/libds/libds-0.1.0.ebuild new file mode 100644 index 0000000..597982d --- /dev/null +++ b/dev-libs/libds/libds-0.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://dside.dyndns.org/files/adas/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.1.1.ebuild b/dev-libs/libds/libds-0.1.1.ebuild new file mode 100644 index 0000000..597982d --- /dev/null +++ b/dev-libs/libds/libds-0.1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://dside.dyndns.org/files/adas/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.1.2.ebuild b/dev-libs/libds/libds-0.1.2.ebuild new file mode 100644 index 0000000..597982d --- /dev/null +++ b/dev-libs/libds/libds-0.1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://dside.dyndns.org/files/adas/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libds/libds-0.1.3.ebuild b/dev-libs/libds/libds-0.1.3.ebuild new file mode 100644 index 0000000..597982d --- /dev/null +++ b/dev-libs/libds/libds-0.1.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="LibDS is OS abstraction library" +SRC_URI="http://dside.dyndns.org/files/adas/opc-${PV}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" +DEPEND="dev-libs/libxml2" + +S=${WORKDIR}/opc-${PV} + +src_unpack() { + unpack opc-${PV}.tar.bz2 || die +} + +src_compile() { + make create_includes || die + make -C libds || die +} + +src_install() { + into /usr + mkdir -p ${D}/usr/lib/ || die + mkdir -p ${D}/usr/include/libds/ || die + install -c libds/libds.so ${D}/usr/lib/libds.so.${PV} || die + ln -s libds.so.${PV} ${D}/usr/lib/libds.so || die + cp -L includes/libds/* ${D}/usr/include/libds || die +} diff --git a/dev-libs/libroadnav/Manifest b/dev-libs/libroadnav/Manifest new file mode 100644 index 0000000..510c44c --- /dev/null +++ b/dev-libs/libroadnav/Manifest @@ -0,0 +1,4 @@ +DIST libroadnav-0.19.tar.gz 835616 RMD160 17214adb4217badb4222e371db61e548af3b5681 SHA1 4e0c038a9e1eb8fdca2b2c53539dce460465ea31 SHA256 3aa4c1d951f8149ee0df3a67eb709fce5c379a9ffe8acc7141f87b4841baea0f +DIST libroadnav-0.20alpha.tar.gz 842338 RMD160 0f616485382b175431d79da7819656261e90bdfc SHA1 fd5ca012f588ab0603e700e9d1c4d1ce680c6e3d SHA256 08595e639f51ddfd42063d90906b533b9fcaba46b27f1a74d566ae18b26bff4b +EBUILD libroadnav-0.19.ebuild 981 RMD160 d6bbfa5b844291f1c50c78ff962eeee790b9bb7b SHA1 b194bee32cb216097f8ffe63444c47616efb9b65 SHA256 18e12eee30d769837df7dd221fab3ba22b229329d501ea69692f70b7e87b1e4c +EBUILD libroadnav-0.20_alpha.ebuild 1024 RMD160 ced736e95acce5b0b9f49ba8f25aa00f75ed3326 SHA1 8c685a669bfe48c40f9067a594ee09231729c407 SHA256 397d0976766e3eda227799a5d375779c6ff59be5fbff82911be21de35d57881b diff --git a/dev-libs/libroadnav/libroadnav-0.19.ebuild b/dev-libs/libroadnav/libroadnav-0.19.ebuild new file mode 100644 index 0000000..0328cc9 --- /dev/null +++ b/dev-libs/libroadnav/libroadnav-0.19.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libroadnav/libroadnav-0.18.ebuild,v 1.1 2007/10/08 06:14:08 dirtyepic Exp $ + +inherit wxwidgets + +DESCRIPTION="LibRoadnav is a library capable of plotting street maps and providing driving directions for US addresses" +HOMEPAGE="http://roadnav.sourceforge.net" +SRC_URI="mirror://sourceforge/roadnav/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="=x11-libs/wxGTK-2.6*" + +src_compile() { + WX_GTK_VER=2.6 + need-wxwidgets gtk2 + + econf \ + --with-wx-config=${WX_CONFIG} \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + # generic or empty + for f in NEWS COPYING INSTALL; do + rm -f "${D}"/usr/share/doc/${PN}/${f} + done + + # --docdir is broken and hardcoded to ${PN} + mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${P} +} diff --git a/dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild b/dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild new file mode 100644 index 0000000..9422ac0 --- /dev/null +++ b/dev-libs/libroadnav/libroadnav-0.20_alpha.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libroadnav/libroadnav-0.18.ebuild,v 1.1 2007/10/08 06:14:08 dirtyepic Exp $ + +inherit wxwidgets + +DESCRIPTION="LibRoadnav is a library capable of plotting street maps and providing driving directions for US addresses" +HOMEPAGE="http://roadnav.sourceforge.net" +SRC_URI="mirror://sourceforge/roadnav/${PN}-0.20alpha.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="=x11-libs/wxGTK-2.6*" + +S="${WORKDIR}/${PN}-0.20alpha" + +src_compile() { + WX_GTK_VER=2.6 + need-wxwidgets gtk2 + + econf \ + --with-wx-config=${WX_CONFIG} \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + # generic or empty + for f in NEWS COPYING INSTALL; do + rm -f "${D}"/usr/share/doc/${PN}/${f} + done + + # --docdir is broken and hardcoded to ${PN} + mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${P} +} diff --git a/dev-libs/pocl/Manifest b/dev-libs/pocl/Manifest new file mode 100644 index 0000000..a1b33dc --- /dev/null +++ b/dev-libs/pocl/Manifest @@ -0,0 +1,6 @@ +AUX vendor_opencl_libs_location.epatch 1099 SHA256 1a5d416b3af501566742f29285985e58e1ab7169e76a347cf5007e34fd7c5cfb SHA512 8309619b6a232dab53f9fb40925f6925671a8a40754c7f8626a0edad69e84bcde7c4222513752aa6c7516cd9b65bb0164d816ac76d6c4254563b0f893fda7685 WHIRLPOOL a0488f0c5006ada32e70e0b5de4ed1b0c881f54daaeb600f03df64851e938fc4b8860fcaa65ca00e5d67f359060318b4f9d467780817fe7456766910efcec150 +DIST pocl-1.1.tar.gz 1545659 SHA256 1e8dd0693a88c84937754df947b202871a40545b1b0a97ebefa370b0281c3c53 SHA512 f785d1a8bbceab86ae220c0c78dc81fc292333ac30bc02cf627aca02d9efc9f659d97c26c227e7ba66fa56d8abdcb23df2d100e5bc4d5c670c48646edefa19af WHIRLPOOL a8ec064447922e78ccf555d6267ef9b76fcac962f271a724fb6f2900f51cf37680c1e905e9f9394b293497a249b7fd2e07fcf5f1b676ade0a8889e3aef4038cf +DIST pocl-1.2.tar.gz 1603374 SHA256 0c43e68f336892f3a64cba19beb99d9212f529bedb77f7879c0331450b982d46 SHA512 c765fe02f220f707d2e46edfb2782195dc987bd984aeb7f3d14dd767cd96944ffba85c7276415f7b4471de5d1a9c9a0d3ed4285c1c3955ef581aa935a5a0eaa0 WHIRLPOOL a01a2bb953823aaaeefbf551159e473f3b081bdf7dbb23890652011520525d5f80d2f5ece6e68c08db5bc1c66cdbef45f492675b15de1e0f408545c277d06869 +EBUILD pocl-1.1.ebuild 585 SHA256 321d205aba0fe4c2bb3b7f0d481b3e32f3477b608b480b5c56ca86ef6c923242 SHA512 f6b5f74b2b87185c926dbf5e87c779270604f65f7ec5271936f1bfbe7151f1bd8a42ebfe247ee78f0588eaa56ddc3df28ea2981dc7418189023c9c17f0e4a311 WHIRLPOOL 52668e8110c1e33fc2cd5cb8101f57f89e1fa48bcd10ae31b5e9be564b761393f49383bb2d8eb98c1313b4e8fcba08acc27553cece45bd7db84c30d3e109f5f1 +EBUILD pocl-1.2.ebuild 731 SHA256 275476b21a3a380727642077ede7e4a42d8016d07459e70cd4b5581aec3ad31e SHA512 d6d1d85a32b9cc1cf79f6a6f72c4346b13a8434238facbe2fa90b29807921073e778c3c7b3f430838c926a9a77a36d049d1c54bc6e740c114a0ce2a077e53bb5 WHIRLPOOL d941e5922a3c927e389e8e0f0f1d5a294f8908e7c2575a33f8426ee0f0bc7c759ffd526add81e85ea69af3282fbe02e7f9fec7e9365cb46c1b7c694c69f3163e +EBUILD pocl-9999.ebuild 941 SHA256 dd9219c2be651e9dff6fa28c2df45932c2ca4db4a38902471864c9c95c9cf134 SHA512 d7a80b2b7685d505b66a6f4971a11c1321eac8c062112869d86fa426b4de4f1ce9e655227960362b6f2361bf6f6e46684722291113513514559c27d571bc76db WHIRLPOOL 408e3190f496971bbe63c5e367f72651e2a4679ae29a4270d600ff59733bdf99d145f7917d54bc0a45725941ba43e35d30c43998d67f995f689e79bc0bc7eab4 diff --git a/dev-libs/pocl/files/vendor_opencl_libs_location.epatch b/dev-libs/pocl/files/vendor_opencl_libs_location.epatch new file mode 100644 index 0000000..22fb86c --- /dev/null +++ b/dev-libs/pocl/files/vendor_opencl_libs_location.epatch @@ -0,0 +1,21 @@ +diff -Nurb a/pocl-0.14/CMakeLists.txt b/pocl-0.14/CMakeLists.txt +--- a/CMakeLists.txt 2017-04-05 16:15:40.000000000 +0200 ++++ b/CMakeLists.txt 2017-04-16 23:34:32.422414270 +0200 +@@ -125,7 +125,7 @@ + endif() + + # for libpocl.so +-set(POCL_INSTALL_PUBLIC_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "POCL public libdir") ++set(POCL_INSTALL_PUBLIC_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/OpenCL/vendors/pocl" CACHE PATH "POCL public libdir") + + # for llvmopencl.so + set(POCL_INSTALL_PRIVATE_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pocl" CACHE PATH "POCL private libdir") +@@ -134,7 +134,7 @@ + if(UNIX AND NOT CMAKE_CROSSCOMPILING AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(POCL_INSTALL_ICD_VENDORDIR "/etc/OpenCL/vendors" CACHE PATH "POCL ICD file destination") + else() +- set(POCL_INSTALL_ICD_VENDORDIR "${CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors" CACHE PATH "POCL ICD file destination") ++ set(POCL_INSTALL_ICD_VENDORDIR "${SYSCONFDIR}/etc/OpenCL/vendors" CACHE PATH "POCL ICD file destination") + endif() + + # for kernel-<target>.bc diff --git a/dev-libs/pocl/pocl-1.1.ebuild b/dev-libs/pocl/pocl-1.1.ebuild new file mode 100644 index 0000000..4766d9b --- /dev/null +++ b/dev-libs/pocl/pocl-1.1.ebuild @@ -0,0 +1,25 @@ +EAPI="6" +inherit cmake-utils cmake-multilib versionator + +DESCRIPTION="Portable Computing Language" +HOMEPAGE="http://portablecl.org" + +PV_RC_SEPARATOR_FIXED=$(replace_version_separator '_' '-') +PV_FILE_FORMAT=${PV_RC_SEPARATOR_FIXED^^} +SRC_URI="https://github.com/pocl/pocl/archive/v${PV_FILE_FORMAT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV_FILE_FORMAT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND=">=sys-devel/llvm-3.9 + sys-devel/clang + sys-apps/hwloc + " + +DEPEND="${RDEPEND}" + +PATCHES=("${FILESDIR}/vendor_opencl_libs_location.epatch" +) diff --git a/dev-libs/pocl/pocl-1.2.ebuild b/dev-libs/pocl/pocl-1.2.ebuild new file mode 100644 index 0000000..54f7111 --- /dev/null +++ b/dev-libs/pocl/pocl-1.2.ebuild @@ -0,0 +1,35 @@ +EAPI="6" +inherit cmake-utils cmake-multilib versionator + +DESCRIPTION="Portable Computing Language" +HOMEPAGE="http://portablecl.org" + +PV_RC_SEPARATOR_FIXED=$(replace_version_separator '_' '-') +PV_FILE_FORMAT=${PV_RC_SEPARATOR_FIXED^^} +SRC_URI="https://github.com/pocl/pocl/archive/v${PV_FILE_FORMAT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV_FILE_FORMAT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND=">=sys-devel/llvm-6.0 + sys-devel/clang + sys-apps/hwloc + " + +DEPEND="${RDEPEND}" + +PATCHES=("${FILESDIR}/vendor_opencl_libs_location.epatch" +) + + +src_configure() { + local mycmakeargs=( + "-DENABLE_CUDA=ON" +# "-DENABLE_HSA=ON" + ) + + cmake-multilib_src_configure +} diff --git a/dev-libs/pocl/pocl-9999.ebuild b/dev-libs/pocl/pocl-9999.ebuild new file mode 100644 index 0000000..ae688c4 --- /dev/null +++ b/dev-libs/pocl/pocl-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit git-r3 cmake-utils +#cmake-utils + +DESCRIPTION="PortableCL: opensource implementation of the OpenCL standard" +HOMEPAGE="http://portablecl.org/" +EGIT_REPO_URI="https://github.com/pocl/pocl.git" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="" +IUSE="" + +RDEPEND="dev-libs/ocl-icd + >=sys-devel/llvm-4.0 + >=sys-devel/clang-4.0 + >=sys-apps/hwloc-1.0 + >=app-eselect/eselect-opencl-1.1.0-r4" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +POCL_DIR="/usr/$(get_libdir)/OpenCL/vendors/pocl" + +pkg_pretend() { + # Needs an OpenCL 1.2 ICD, mesa and nvidia are invalid + # Maybe ati works, feel free to add/fix if you can test + if [[ $(eselect opencl show) == 'ocl-icd' ]]; then + einfo "Valid OpenCL ICD set" + else + eerror "Please use a supported ICD:" + eerror "eselect opencl set ocl-icd" + die "OpenCL ICD not set to a supported value" + fi +} + |