diff options
-rw-r--r-- | media-gfx/donut/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/donut/donut-2.ebuild | 44 | ||||
-rw-r--r-- | metadata/md5-cache/media-gfx/donut-1 | 15 | ||||
-rw-r--r-- | metadata/md5-cache/media-gfx/donut-2 | 15 |
4 files changed, 76 insertions, 0 deletions
diff --git a/media-gfx/donut/Manifest b/media-gfx/donut/Manifest new file mode 100644 index 0000000..36952a2 --- /dev/null +++ b/media-gfx/donut/Manifest @@ -0,0 +1,2 @@ +DIST donut-2.tar.bz2 13438 BLAKE2B e9ef96c24ec24e3ae78a2f315a3e62bcbcfc7fa8ead2786c2f0d9a76151984776821c76f8200e62f023cc881b4c3a44aadbbf8c0d5f4350842e8336925b6c518 SHA512 ea866bc125e959b9fd48728a8f3dcc8572011ea5f57f165986205ccf9310d6a481b1e2674987552e7507292888cf384868db7e345b217578ac8910af5f8cf732 +EBUILD donut-2.ebuild 818 BLAKE2B d1d496d549d651e1eb2080e9374b3129899eac1f7b4e0ad82604424707d4c7715170d0afcc17a5eaa7fc510de1890bf99c7b0a194462613c46cab38ea6003fa3 SHA512 8d02d8ff6050e9988546f7f1f6b1fa4e73761b48bec321d2ac72d50d7eacee7be5e4e77d08535834a76cb92c19e8fc238162c75e2ae94110bc29b1e340387ad8 diff --git a/media-gfx/donut/donut-2.ebuild b/media-gfx/donut/donut-2.ebuild new file mode 100644 index 0000000..8ca153d --- /dev/null +++ b/media-gfx/donut/donut-2.ebuild @@ -0,0 +1,44 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit savedconfig toolchain-funcs + +DESCRIPTION="spinning X11 donut" +HOMEPAGE="https://git.turret.cyou/donut.git/about/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.turret.cyou/donut.git" +else + SRC_URI="https://git.turret.cyou/donut.git/snapshot/${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RESTRICT="mirror" +DEPEND="x11-libs/libX11" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i \ + -e "s/ -Os//" \ + -e "/^\(LDFLAGS\|CFLAGS\|CPPFLAGS\)/{s| = | += |g;s|-s ||g}" \ + config.mk || die + + restore_config config.h +} + +src_compile() { + emake CC=$(tc-getCC) donut +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + + save_config config.h +} diff --git a/metadata/md5-cache/media-gfx/donut-1 b/metadata/md5-cache/media-gfx/donut-1 new file mode 100644 index 0000000..f7f39a0 --- /dev/null +++ b/metadata/md5-cache/media-gfx/donut-1 @@ -0,0 +1,15 @@ +DEFINED_PHASES=install postinst prepare +DEPEND=x11-libs/libX11 +DESCRIPTION=spinning X11 donut +EAPI=8 +HOMEPAGE=https://git.turret.cyou/donut.git/about/ +INHERIT=savedconfig +IUSE=savedconfig +KEYWORDS=~amd64 +LICENSE=GPL-3 +RDEPEND=x11-libs/libX11 +RESTRICT=mirror +SLOT=0 +SRC_URI=https://git.turret.cyou/donut.git/snapshot/donut-1.tar.bz2 +_eclasses_=portability a74d533f258f1f435be71312558c12f9 savedconfig 8b5f9d995a970e49cd427c55d5840285 +_md5_=f590d8ac4386f9b5da1e906413a34ea1 diff --git a/metadata/md5-cache/media-gfx/donut-2 b/metadata/md5-cache/media-gfx/donut-2 new file mode 100644 index 0000000..d5c44c2 --- /dev/null +++ b/metadata/md5-cache/media-gfx/donut-2 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile install postinst prepare +DEPEND=x11-libs/libX11 +DESCRIPTION=spinning X11 donut +EAPI=8 +HOMEPAGE=https://git.turret.cyou/donut.git/about/ +INHERIT=savedconfig toolchain-funcs +IUSE=savedconfig +KEYWORDS=~amd64 +LICENSE=GPL-3 +RDEPEND=x11-libs/libX11 +RESTRICT=mirror +SLOT=0 +SRC_URI=https://git.turret.cyou/donut.git/snapshot/donut-2.tar.bz2 +_eclasses_=portability a74d533f258f1f435be71312558c12f9 savedconfig 8b5f9d995a970e49cd427c55d5840285 toolchain-funcs 513c31b3346458ed1f3878b57da6d61c multilib c19072c3cd7ac5cb21de013f7e9832e0 +_md5_=7449ba1fd8b5f9e49ed10fed21e520fe |