diff options
-rw-r--r-- | games-misc/xcowsay/Manifest | 1 | ||||
-rw-r--r-- | games-misc/xcowsay/xcowsay-1.5.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest index 97327886f752..81a77437eede 100644 --- a/games-misc/xcowsay/Manifest +++ b/games-misc/xcowsay/Manifest @@ -1 +1,2 @@ +DIST xcowsay-1.5.1.tar.gz 101281 BLAKE2B 568f6ad7225cd859c37d79bf3ddf66c184f47d8feb6dedbafbd29ca4e05d97d883c6d6e4f4d60cebe107f1527e1ff01e17ec61430a3e55e2f504c2c00e402488 SHA512 55c165b5b2c01b11463af0eeb13fd646ea50138e2938ddfc25d44f1a704b7473d047bc7c95165f449a600de51ee005904f007843e33a8ef02c725b827eaec616 DIST xcowsay-1.5.tar.gz 100878 BLAKE2B 0763648cb808c44cf519c1e77506e8c35f8a71584f81eee406736e52322b7317937f558b4a6931ec293ea334ca45c8085a51dfc49803754bb734d96d7df04dbe SHA512 13b297a675ec02af6f5617db19abe05979be7137ff37437a64cb079749a69551d453f1a584cf3ca2be62ed0dc6363ebac4986b1f93807bba66b21d0e2ba8cf2c diff --git a/games-misc/xcowsay/xcowsay-1.5.1.ebuild b/games-misc/xcowsay/xcowsay-1.5.1.ebuild new file mode 100644 index 000000000000..716cc7538469 --- /dev/null +++ b/games-misc/xcowsay/xcowsay-1.5.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="r${PV}" + +inherit autotools + +DESCRIPTION="Displays a cute cow and message on your desktop" +HOMEPAGE=" + https://github.com/nickg/xcowsay + https://www.doof.me.uk/xcowsay/ +" +SRC_URI="https://github.com/nickg/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus fortune nls" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/pango + dbus? ( dev-libs/dbus-glib ) + fortune? ( games-misc/fortune-mod ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + default + + if ! use fortune; then + sed -e 's/xcowfortune//g' -i src/Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-rpath + $(use_enable dbus) + $(use_enable nls) + ) + + econf ${myeconfargs[@]} +} |