From 52f901d35215bde02077c1592b4ec7912578dcab Mon Sep 17 00:00:00 2001 From: azahi Date: Sun, 3 Nov 2019 13:53:12 +0300 Subject: dev-libs/libwm: Add package --- dev-libs/libwm/Manifest | 1 + dev-libs/libwm/libwm-1.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ dev-libs/libwm/libwm-9999.ebuild | 36 ++++++++++++++++++++++++++++++++++++ dev-libs/libwm/metadata.xml | 8 ++++++++ 4 files changed, 81 insertions(+) create mode 100644 dev-libs/libwm/Manifest create mode 100644 dev-libs/libwm/libwm-1.0.ebuild create mode 100644 dev-libs/libwm/libwm-9999.ebuild create mode 100644 dev-libs/libwm/metadata.xml (limited to 'dev-libs/libwm') diff --git a/dev-libs/libwm/Manifest b/dev-libs/libwm/Manifest new file mode 100644 index 0000000..2f3172b --- /dev/null +++ b/dev-libs/libwm/Manifest @@ -0,0 +1 @@ +DIST libwm-1.0.tar.gz 4691 BLAKE2B 5e851093a6adf6c3eedb68462c326ccff733b2a86533897259854970be13791ae2be237549ea56ea1b74e9bd709f03e8e9db63ed147862f6be7c48e6765ce570 SHA512 b979e1bf2d66e384ab0f05536852d9aeae321266dc24672544d3f05b8906efea4638c6e53f7a9d611ebd7064eee834df100b178ba1213543ff28ff0608284b1f diff --git a/dev-libs/libwm/libwm-1.0.ebuild b/dev-libs/libwm/libwm-1.0.ebuild new file mode 100644 index 0000000..b42cb09 --- /dev/null +++ b/dev-libs/libwm/libwm-1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/wmutils/libwm" +fi + +inherit ${SCM} + +DESCRIPTION="A small library for X windows manipulation" +HOMEPAGE="https://github.com/wmutils/libwm" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/wmutils/libwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/libxcb" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + + sed -e 's/\/local//' -i config.mk || die +} diff --git a/dev-libs/libwm/libwm-9999.ebuild b/dev-libs/libwm/libwm-9999.ebuild new file mode 100644 index 0000000..b42cb09 --- /dev/null +++ b/dev-libs/libwm/libwm-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/wmutils/libwm" +fi + +inherit ${SCM} + +DESCRIPTION="A small library for X windows manipulation" +HOMEPAGE="https://github.com/wmutils/libwm" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/wmutils/libwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/libxcb" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + + sed -e 's/\/local//' -i config.mk || die +} diff --git a/dev-libs/libwm/metadata.xml b/dev-libs/libwm/metadata.xml new file mode 100644 index 0000000..843575d --- /dev/null +++ b/dev-libs/libwm/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + -- cgit 1.4.1