diff options
author | Michael Weber <xmw@gentoo.org> | 2018-01-28 16:51:54 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2018-01-28 17:18:55 +0100 |
commit | 42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0 (patch) | |
tree | e2960d5b8366a36c3b14d4ca5c473ad5d5ff839d /dev-libs/girara | |
parent | app-text/zathura: Version bump. (diff) | |
download | gentoo-42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0.tar.gz gentoo-42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0.tar.bz2 gentoo-42f9e5e91a5d5736cb4e0394e0f4f6d00b8e88b0.zip |
dev-libs/girara: Version bump.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'dev-libs/girara')
-rw-r--r-- | dev-libs/girara/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/girara/girara-0.2.8.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest index 7557afc58737..1d57a50e6f3e 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 000000000000..6b885251d866 --- /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 +} |