mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/girara: Version bump.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
This commit is contained in:
@@ -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
|
||||
|
||||
68
dev-libs/girara/girara-0.2.8.ebuild
Normal file
68
dev-libs/girara/girara-0.2.8.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user