diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/waffle |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/waffle')
-rw-r--r-- | media-libs/waffle/Manifest | 6 | ||||
-rw-r--r-- | media-libs/waffle/metadata.xml | 13 | ||||
-rw-r--r-- | media-libs/waffle/waffle-1.5.2.ebuild | 63 | ||||
-rw-r--r-- | media-libs/waffle/waffle-9999.ebuild | 63 |
4 files changed, 145 insertions, 0 deletions
diff --git a/media-libs/waffle/Manifest b/media-libs/waffle/Manifest new file mode 100644 index 000000000000..063448595581 --- /dev/null +++ b/media-libs/waffle/Manifest @@ -0,0 +1,6 @@ +DIST waffle-1.5.2.tar.xz 179284 SHA256 d2c096cf654bf0061323a4b9231a1ef5b749a1e5c7c5bfe067e964219c2a851c SHA512 04f90f70421c88418d1d98175b552de9e036ea36b6c870a6c968c7fcc2d4cb2fa4ce08b0adcdd50f4853a7503558eae7a05ef75b292cf85d3c9796e7b342ca62 WHIRLPOOL 1d7626a717fa5100b83391dcff79bf92885ffcca0945a1e1b0a3a797d5c6dc5536a681e40f1c61c3275c1694b3f4a5292d0eabb1a64ec75383a1de6c5d5c18e9 +EBUILD waffle-1.5.2.ebuild 1566 SHA256 7f6aa9bfc6d4b40fc7af55da57858e8d85cf8e0f94f8ad014ed28f904b17e757 SHA512 7b471f0ff1555b9fa62bc4aa4a99e40732fc27af51988c681d3edc4d54a73a44cca02f86c3ad10405c191194e3b6bd4688b5130b264e67d8c73fb19faa255071 WHIRLPOOL d574ef103a1dbdcb4824cc28033819a440a62c7f0d216528f767e01fb76581c0f3635900cb4baa8097d3e2b2d9829a51b27d17e29878b47e2e9a365c0fc7467b +EBUILD waffle-9999.ebuild 1569 SHA256 5c14ca86516beefb747268f07f319e9b4553755cdda9d8ab3575d0c5f18a7a47 SHA512 4b623a99b992a21b77a817811f70af3068c0d471aa459ad481732a634f935d76273238c7d6853d9cd36c81aab462803751c98391466d347e9a31a0a57f0ad586 WHIRLPOOL 4af3af058594c68c16574fd7207ab0f66febea848fe1dbc42406c463f6cfd725f2bc7be6d8596cecca3cee095436cfebdda65a8a89e9d4bec21df60e1193ba09 +MISC ChangeLog 4590 SHA256 f32cbbefa41edf0fbb74025ca3a17a7106b75b05e028c81bf3f3ecb7e704df3a SHA512 37e0672b869492b6b08cfc50c68d4d10b6fb61efb9259d9498d8a8c62ea679d71d0fc71e891e954b757dd89baf9af7e49791894b6e147150b3756f5f6f439735 WHIRLPOOL 3ae35c78ac957a016d2918c3efeea31c70ed8d5276f579e7a47af72da3f5449ca5467df2cae689df41d9436ba40a65033cbdaadef371dd6a535542976eebb098 +MISC ChangeLog-2015 1952 SHA256 7a9fc31e54afff4ab4afe7df6723abdfc699e8a5ca6429a7dea9ac1363b6bc06 SHA512 71915c1cf772d08092e75cc5d0d8fa72da375983d2efe93bd2d7450e11b37a9caee0853380a7a64c9c4717c0bf22af8f13e718da114be53db2127d50ffbfd559 WHIRLPOOL c49eea2fc2a8af6e896bb61bcdf051dc532a1cbe317ad8c4f47e04b65cb1bc988f8d1031e6a6a5a4fc8ddd56df1b371a74db9efa7871d24d1939ebca23f8ff95 +MISC metadata.xml 416 SHA256 b681f2fd33c78adcddca86b44872e08f9c2bee2f00955e362e5aad2d153d35fe SHA512 850db93f3892afdb36d471b55e911c9cdfc114bcd69b4ce9e59246eb688b145ab5916d9529ded4b913f0cfb6da5fd2d64b7854c9501abec9fd9d860e1953100d WHIRLPOOL 9a9f1288b310602ac3cc03dd5e3722293bf3aa2f770ce1b3c5ca4b321e5e178a8bf6c78caf372b794b736a0e09965a7662b202ff14ab1e67806debe297be6f56 diff --git a/media-libs/waffle/metadata.xml b/media-libs/waffle/metadata.xml new file mode 100644 index 000000000000..b0e9592f7141 --- /dev/null +++ b/media-libs/waffle/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="project"> + <email>x11@gentoo.org</email> + <name>X11</name> +</maintainer> +<use> + <flag name="egl">Enable EGL support</flag> + <flag name="gbm">Enable support for the Generic Buffer Manager (gbm)</flag> + <flag name="wayland">Enable Wayland support</flag> +</use> +</pkgmetadata> diff --git a/media-libs/waffle/waffle-1.5.2.ebuild b/media-libs/waffle/waffle-1.5.2.ebuild new file mode 100644 index 000000000000..121585510472 --- /dev/null +++ b/media-libs/waffle/waffle-1.5.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_REPO_URI="https://github.com/waffle-gl/${PN}.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-2" +fi + +inherit cmake-utils cmake-multilib ${GIT_ECLASS} + +DESCRIPTION="Library that allows selection of GL API and of window system at runtime" +HOMEPAGE="https://people.freedesktop.org/~chadversary/waffle/" + +if [[ $PV = 9999* ]]; then + KEYWORDS="" +else + SRC_URI="https://people.freedesktop.org/~chadversary/${PN}/files/release/${P}/${P}.tar.xz" + KEYWORDS="amd64 arm x86" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="doc egl gbm test wayland" + +RDEPEND=" + >=media-libs/mesa-9.1.6[egl?,gbm?,${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) + gbm? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=x11-proto/xcb-proto-1.8-r3[${MULTILIB_USEDEP}] + doc? ( + dev-libs/libxslt + app-text/docbook-xml-dtd:4.2 + )" + +src_unpack() { + default + [[ $PV = 9999* ]] && git-2_src_unpack +} + +src_configure() { + local mycmakeargs=( + -Dwaffle_has_glx=ON + -Dwaffle_build_examples=OFF + $(cmake-utils_use doc waffle_build_manpages) + $(cmake-utils_use egl waffle_has_x11_egl) + $(cmake-utils_use gbm waffle_has_gbm) + $(cmake-utils_use test waffle_build_tests) + $(cmake-utils_use wayland waffle_has_wayland) + ) + + cmake-multilib_src_configure +} + +src_test() { + emake -C "${CMAKE_BUILD_DIR}" check +} diff --git a/media-libs/waffle/waffle-9999.ebuild b/media-libs/waffle/waffle-9999.ebuild new file mode 100644 index 000000000000..8d8286cd45ce --- /dev/null +++ b/media-libs/waffle/waffle-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_REPO_URI="https://github.com/waffle-gl/${PN}.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-2" +fi + +inherit cmake-utils cmake-multilib ${GIT_ECLASS} + +DESCRIPTION="Library that allows selection of GL API and of window system at runtime" +HOMEPAGE="https://people.freedesktop.org/~chadversary/waffle/" + +if [[ $PV = 9999* ]]; then + KEYWORDS="" +else + SRC_URI="https://people.freedesktop.org/~chadversary/${PN}/files/release/${P}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="doc egl gbm test wayland" + +RDEPEND=" + >=media-libs/mesa-9.1.6[egl?,gbm?,${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) + gbm? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=x11-proto/xcb-proto-1.8-r3[${MULTILIB_USEDEP}] + doc? ( + dev-libs/libxslt + app-text/docbook-xml-dtd:4.2 + )" + +src_unpack() { + default + [[ $PV = 9999* ]] && git-2_src_unpack +} + +src_configure() { + local mycmakeargs=( + -Dwaffle_has_glx=ON + -Dwaffle_build_examples=OFF + $(cmake-utils_use doc waffle_build_manpages) + $(cmake-utils_use egl waffle_has_x11_egl) + $(cmake-utils_use gbm waffle_has_gbm) + $(cmake-utils_use test waffle_build_tests) + $(cmake-utils_use wayland waffle_has_wayland) + ) + + cmake-multilib_src_configure +} + +src_test() { + emake -C "${CMAKE_BUILD_DIR}" check +} |