public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/girara/
Date: Sat, 10 Nov 2018 23:30:43 +0000 (UTC)	[thread overview]
Message-ID: <1541892585.87061b5fae566e7fa5cb18ba63217a6825fba9dd.zlogene@gentoo> (raw)

commit:     87061b5fae566e7fa5cb18ba63217a6825fba9dd
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 10 23:29:45 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Nov 10 23:29:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87061b5f

dev-libs/girara: update live ebuild

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/girara/girara-9999.ebuild | 76 ++++++++++++++++----------------------
 1 file changed, 31 insertions(+), 45 deletions(-)

diff --git a/dev-libs/girara/girara-9999.ebuild b/dev-libs/girara/girara-9999.ebuild
index d4db899b191..6a933684b7c 100644
--- a/dev-libs/girara/girara-9999.ebuild
+++ b/dev-libs/girara/girara-9999.ebuild
@@ -1,67 +1,53 @@
 # Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit multilib toolchain-funcs virtualx
-[[ ${PV} == 9999* ]] && inherit git-2
+inherit meson virtualx
 
 DESCRIPTION="UI library that focuses on simplicity and minimalism"
 HOMEPAGE="https://pwmt.org/projects/girara/"
-if ! [[ ${PV} == 9999* ]]; then
-SRC_URI="https://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+
+if [[ ${PV} == *999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
+	EGIT_BRANCH="develop"
+else
+	SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz"
+	KEYWORDS="~amd64 ~arm ~x86"
 fi
-EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
-EGIT_BRANCH="develop"
 
 LICENSE="ZLIB"
 SLOT="0"
-if ! [[ ${PV} == 9999* ]]; then
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-else
-KEYWORDS=""
-fi
-IUSE="libnotify static-libs test"
+IUSE="doc libnotify test"
+
+RDEPEND="dev-libs/glib:2
+	 dev-libs/json-c
+	 >=x11-libs/gtk+-3.20:3
+	 >=x11-libs/pango-1.14
+	 libnotify? ( x11-libs/libnotify )"
 
-RDEPEND=">=dev-libs/glib-2.28
-	>=x11-libs/gtk+-3.4:3
-	!<${CATEGORY}/${PN}-0.1.6
-	libnotify? ( >=x11-libs/libnotify-0.7 )"
 DEPEND="${RDEPEND}
-	sys-devel/gettext
-	virtual/pkgconfig"
+	 doc? ( app-doc/doxygen )
+	 test? ( 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}"
-		)
-}
+BDEPEND="virtual/pkgconfig"
 
 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
+	default
+	sed -i -e '/'-Werror.*'/d' meson.build || die "sed failed"
 }
 
-src_compile() {
-	emake "${mygiraraconf[@]}"
+src_configure() {
+	local emesonargs=(
+		--libdir=/usr/$(get_libdir)
+		-Denable-json=true
+		-Denable-docs=$(usex doc true false)
+		-Denable-notify=$(usex libnotify true false)
+		)
+		meson_src_configure
 }
 
 src_test() {
-	virtx default
-}
-
-src_install() {
-	emake "${mygiraraconf[@]}" install
-	dodoc AUTHORS
+	virtx meson_src_test
 }


             reply	other threads:[~2018-11-10 23:30 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 23:30 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  2:54 [gentoo-commits] repo/gentoo:master commit in: dev-libs/girara/ Sam James
2025-03-10  2:54 Sam James
2025-03-10  2:54 Sam James
2025-03-10  2:54 Sam James
2025-03-02  8:21 Sam James
2025-02-04 14:17 Sam James
2024-12-30 17:26 Sam James
2024-08-29 13:19 Joonas Niilola
2024-05-27 13:24 Joonas Niilola
2024-02-24  7:14 Joonas Niilola
2024-02-24  7:08 Sam James
2024-02-23 11:43 Sam James
2024-01-28 17:34 Matt Turner
2024-01-23  6:54 Joonas Niilola
2024-01-23  6:50 Joonas Niilola
2024-01-21  4:02 Sam James
2024-01-21  4:02 Sam James
2023-12-11  5:56 Joonas Niilola
2023-12-10  7:51 Joonas Niilola
2023-12-10  7:51 Joonas Niilola
2023-12-09 21:22 Sam James
2023-12-09 21:22 Sam James
2023-09-29  7:17 Arthur Zamarin
2023-09-29  7:17 Arthur Zamarin
2023-09-29  7:17 Arthur Zamarin
2023-09-29  7:17 Arthur Zamarin
2023-08-09 18:14 Piotr Karbowski
2023-05-02 17:35 Sam James
2023-05-02 17:29 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-03-19 22:57 Piotr Karbowski
2023-03-07 15:45 Sam James
2023-03-06 13:05 Arthur Zamarin
2023-03-05 16:35 Arthur Zamarin
2023-03-05 10:51 Piotr Karbowski
2023-01-30 21:53 Piotr Karbowski
2022-06-02 12:02 Jakov Smolić
2022-05-05  3:54 Sam James
2022-05-05  3:54 Sam James
2022-03-27 23:20 Piotr Karbowski
2021-12-06 15:23 Sam James
2021-12-05 18:32 Sam James
2021-12-05  4:17 Sam James
2021-10-16 20:54 Piotr Karbowski
2021-08-05 14:02 Yixun Lan
2021-01-10 13:16 Sam James
2021-01-09 16:22 Sam James
2021-01-04  3:31 Sam James
2021-01-04  1:44 Sam James
2020-09-18  8:26 Agostino Sarubbo
2020-09-18  7:45 Agostino Sarubbo
2020-09-18  7:29 Agostino Sarubbo
2020-09-16  1:23 Sam James
2020-08-24 11:58 Mikle Kolyada
2020-05-02 19:47 Thomas Deutschmann
2020-01-08 13:18 Mikle Kolyada
2020-01-08 13:17 Mikle Kolyada
2019-11-04  8:02 Mikle Kolyada
2019-10-27 18:09 Mikle Kolyada
2019-09-13 11:24 Mikle Kolyada
2019-09-13 11:09 Mikle Kolyada
2019-04-28 18:15 Mikle Kolyada
2019-02-08 14:50 Mikle Kolyada
2018-12-27 18:26 Mikle Kolyada
2018-12-23  9:24 Mikle Kolyada
2018-12-11  9:58 Mikle Kolyada
2018-12-09 23:51 Thomas Deutschmann
2018-11-25 12:14 Mikle Kolyada
2018-11-25 10:57 Mikle Kolyada
2018-11-17 14:02 Mikle Kolyada
2018-10-08 19:03 Mikle Kolyada
2018-10-08 15:19 Mikle Kolyada
2018-10-08  9:01 Mikle Kolyada
2018-10-07 21:55 Mikle Kolyada
2018-10-07 21:51 Mikle Kolyada
2018-10-07 21:51 Mikle Kolyada
2018-07-22 16:28 Mikle Kolyada
2018-04-15 11:34 David Seifert
2018-04-14 17:24 Aaron Bauman
2018-04-12  0:54 Thomas Deutschmann
2018-01-28 16:19 Michael Weber
2018-01-28 16:19 Michael Weber
2017-08-20 19:16 Thomas Deutschmann
2017-07-15 15:17 Tobias Klausmann
2017-02-23 13:27 Michael Weber
2017-01-29 19:51 Michael Weber
2017-01-23  1:40 Michael Weber
2017-01-12 14:06 Patrice Clement
2016-07-31 16:58 Maxim Koltsov
2016-01-09  1:33 Michael Weber
2016-01-09  1:04 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541892585.87061b5fae566e7fa5cb18ba63217a6825fba9dd.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox