From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dclock/
Date: Fri, 4 Sep 2020 08:12:46 +0000 (UTC) [thread overview]
Message-ID: <1599207163.7fd72db804c6cb9b3f4e09fa9fedd7e63f5f97f9.jer@gentoo> (raw)
commit: 7fd72db804c6cb9b3f4e09fa9fedd7e63f5f97f9
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 4 08:05:27 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Sep 4 08:12:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd72db8
x11-misc/dclock: Version 2.2.2_p12
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
x11-misc/dclock/Manifest | 1 +
x11-misc/dclock/dclock-2.2.2_p12.ebuild | 76 +++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/x11-misc/dclock/Manifest b/x11-misc/dclock/Manifest
index d884a431fdb..15e759bf113 100644
--- a/x11-misc/dclock/Manifest
+++ b/x11-misc/dclock/Manifest
@@ -1,2 +1,3 @@
+DIST dclock_2.2.2-12.debian.tar.xz 16112 BLAKE2B 3da6a75834791cbba71d84c8d46d65b18db6a9aa97a085d984b598c8db41fe507965390568377a9167823d0b3856165e58115aa74b05da35fd6432b44ea877e9 SHA512 c6c468a378e421fb9ef2c6e84db991644888f8d2d9afe220142ea26914423387d3aed335b43fa69b38501c3d713d5540bb2efc2e52dd0db1fa1cd3d9c00c1531
DIST dclock_2.2.2-9.debian.tar.xz 15260 BLAKE2B dab41f4fe79d2ce6ef4effb466c3923c77a94bfaf4b6ca1dde5bd9b92e0d9ff9a5d89dd9b569f831e107bb62de691e24661609b61af84d1a64958de34304f9be SHA512 025d1d228930adb6e2b13226188b6c3d37aef59786f23826f301c7b22dabba5cfc24f76347fe2f199c239daea968cd043293bd60524110235855cb77c9e4d1f0
DIST dclock_2.2.2.orig.tar.gz 63583 BLAKE2B b1208439e3a689ff1e00cbdbfa7e3a559b7ec7705ab0834cf350d1ba1e3dcd01d4746e90999f6215cfa9e101a4bd8cf42ff324a307c792028479077152b5414b SHA512 c43ba031fd0d9ba2bc7e8fe9becc73591bfc47cd4ca931df03fa55207cfb148e24e5d702a7de5af8b67e188c561eae2fb7da14162f6a982d0abbb3251c32372c
diff --git a/x11-misc/dclock/dclock-2.2.2_p12.ebuild b/x11-misc/dclock/dclock-2.2.2_p12.ebuild
new file mode 100644
index 00000000000..23c19ae370c
--- /dev/null
+++ b/x11-misc/dclock/dclock-2.2.2_p12.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Digital clock for the X window system"
+HOMEPAGE="https://packages.qa.debian.org/d/dclock.html"
+SRC_URI="
+ mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
+ mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="xft"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+ xft? (
+ media-libs/freetype
+ x11-libs/libXft
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ app-text/rman
+ x11-misc/imake
+ xft? ( virtual/pkgconfig )
+"
+S=${WORKDIR}/${P/_p*/}
+PATCHES=(
+ "${WORKDIR}"/debian/patches
+)
+
+src_prepare() {
+ default
+ sed -i -e '/CDEBUGFLAGS/d' Imakefile || die
+}
+
+src_configure() {
+ if use xft; then
+ append-cppflags \
+ -DXFT_SUPPORT \
+ $( $(tc-getPKG_CONFIG) --cflags freetype2 )
+ else
+ append-cppflags -UXFT_SUPPORT
+ sed -i -e '/EXTRA_LIBRARIES/s|^|#|g' Imakefile || die
+ fi
+
+ xmkmf || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" install.man
+
+ insinto /usr/share/sounds
+ doins sounds/*
+
+ insinto /usr/share/X11/app-defaults
+ newins Dclock.ad DClock
+}
next reply other threads:[~2020-09-04 8:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-04 8:12 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-11 8:56 [gentoo-commits] repo/gentoo:master commit in: x11-misc/dclock/ Ionen Wolkens
2022-09-30 11:02 Ionen Wolkens
2021-04-15 6:39 Joonas Niilola
2021-03-15 21:25 Sam James
2021-03-15 21:21 Sam James
2021-03-15 21:18 Sam James
2017-09-23 6:46 Jeroen Roovers
2017-02-21 6:29 Jeroen Roovers
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=1599207163.7fd72db804c6cb9b3f4e09fa9fedd7e63f5f97f9.jer@gentoo \
--to=jer@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