From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B5B11382C5 for ; Sun, 28 Jan 2018 16:19:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7930DE098A; Sun, 28 Jan 2018 16:19:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B223E08E8 for ; Sun, 28 Jan 2018 16:19:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D6A2335C36 for ; Sun, 28 Jan 2018 16:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D56851D8 for ; Sun, 28 Jan 2018 16:19:16 +0000 (UTC) From: "Michael Weber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" Message-ID: <1517156335.42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0.xmw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/girara/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/girara/Manifest dev-libs/girara/girara-0.2.8.ebuild X-VCS-Directories: dev-libs/girara/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0 X-VCS-Branch: master Date: Sun, 28 Jan 2018 16:19:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f1a0987d-ca12-4bf4-82d2-a865261185a6 X-Archives-Hash: 5b8cf6dbdda8cbd88d42d0853dc53cfd commit: 42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0 Author: Michael Weber gentoo org> AuthorDate: Sun Jan 28 15:51:54 2018 +0000 Commit: Michael Weber gentoo org> CommitDate: Sun Jan 28 16:18:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f9e5e9 dev-libs/girara: Version bump. Package-Manager: Portage-2.3.20, Repoman-2.3.6 dev-libs/girara/Manifest | 1 + dev-libs/girara/girara-0.2.8.ebuild | 68 +++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest index 7557afc5873..1d57a50e6f3 100644 --- a/dev-libs/girara/Manifest +++ b/dev-libs/girara/Manifest @@ -1 +1,2 @@ DIST girara-0.2.7.tar.gz 76723 BLAKE2B 7438709e15b9272260cfa9f5419b40672a2c33b2cdeed1d915b51b4d53b301a4347cb0c051155a9a20b09b61efb0ee13df7eb0fdc3a94d1a428a7cb1e296f0d2 SHA512 4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f +DIST girara-0.2.8.tar.gz 73646 BLAKE2B 08a3fea194922cfb84793d14905f15aac6e73daf3c4304842b88e7f517046daa287deaef770176bc06358b37c52418f1e42204df302c2c7d4f82c2f4a10a44a9 SHA512 d853f8337a63ae2ed319547a2daa2ccd3ce6f31b3dbb52522705c78dbbb94da1dc1efc4ac62d3c2af94531d4dea309323b878619ea0c9778c37960791ca0cb4e diff --git a/dev-libs/girara/girara-0.2.8.ebuild b/dev-libs/girara/girara-0.2.8.ebuild new file mode 100644 index 00000000000..6b885251d86 --- /dev/null +++ b/dev-libs/girara/girara-0.2.8.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs virtualx +[[ ${PV} == 9999* ]] && inherit git-2 + +DESCRIPTION="UI library that focuses on simplicity and minimalism" +HOMEPAGE="http://pwmt.org/projects/girara/" +if ! [[ ${PV} == 9999* ]]; then +SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz" +fi +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" +EGIT_BRANCH="develop" + +LICENSE="ZLIB" +SLOT="3" +if ! [[ ${PV} == 9999* ]]; then +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +fi +IUSE="libnotify static-libs test" + +RDEPEND=">=dev-libs/glib-2.28 + >=x11-libs/gtk+-3.4:3 + dev-libs/json-c + !<${CATEGORY}/${PN}-0.1.6 + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( x11-apps/xhost + dev-libs/check )" + +pkg_setup() { + mygiraraconf=( + WITH_LIBNOTIFY=$(usex libnotify 1 0) + PREFIX="${EPREFIX}"/usr + LIBDIR='${PREFIX}'/$(get_libdir) + CC="$(tc-getCC)" + SFLAGS='' + VERBOSE=1 + DESTDIR="${D}" + ) +} + +src_prepare() { + # Remove 'static' and 'install-static' targets + if ! use static-libs; then + sed -i \ + -e '/^${PROJECT}:/s:static::' \ + -e '/^install:/s:install-static::' \ + Makefile || die + fi +} + +src_compile() { + emake "${mygiraraconf[@]}" +} + +src_test() { + virtx default +} + +src_install() { + emake "${mygiraraconf[@]}" install + dodoc AUTHORS +}