diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 49521 -> 49522 bytes | |||
-rw-r--r-- | sys-apps/duc/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/duc/duc-1.4.5.ebuild | 88 | ||||
-rw-r--r-- | sys-apps/duc/duc-9999.ebuild | 10 |
4 files changed, 96 insertions, 6 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex c5dc5862a9c3..6acf2f90268b 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/duc/Manifest b/sys-apps/duc/Manifest index 2f243560803c..8ee14aa644a7 100644 --- a/sys-apps/duc/Manifest +++ b/sys-apps/duc/Manifest @@ -1,5 +1,7 @@ AUX duc-1.4.1-tinfo.patch 751 BLAKE2B 2928f2a12dc8755c5b43ce8255958ceac4b85dadd716d989bf1472b31ef9ee32e799fb83f4c69b617ef80d7479c070fcf784fc9b6efcdf234547167cca4d2119 SHA512 d0bfa984cad2691106038392297ae3e9ccb0dbf83a45456f50918c88d93bbddd33f9c5359367e6348d161b639e03f6e5339a44842d7fd5edb0306e21df846b4f DIST duc-1.4.3.tar.gz 363507 BLAKE2B 8d4364d48c247d7a83c8c5dd900b1c36ec78c68fa7d090e178a0e3209583e433c2e459d192f65ac350038c7e0d5a57df2c5c0d649cc9f554d7af74ad960c8db5 SHA512 5eb3e862e7003838e012dd1faab507a9b58607b77bd2af70a662005b6e4008ac44d1fb2e17b99da8e42ddfadb1cede2a468144ace7a72c12d0825fc7df4d18cd +DIST duc-1.4.5.tar.gz 288381 BLAKE2B dc597618a9e00258abef23ffded94711e6b66a37dce3cb078fe44ef2e1b253b7b48a46f38a545eb05ce4b83f0357d93c2a594ef82da0b81e6963fed8136d8ea6 SHA512 b6d48222ed2821d3d1317102f867f71f9060a093ba11ba48d9f0d9dc743c5b361442cb605aec6e91dd6588ae4b51897b4ed5da96ba33019e8a501a262af12371 EBUILD duc-1.4.3-r1.ebuild 1784 BLAKE2B 0afa7673942d072fd8b12db5ffb16118c734e24b5583dc5004553f0838fc65c9cc6c5883845eb44f7cfa74dda875a7eeb077f1fa6dadc252c8d2da71863a4c46 SHA512 e9cb9655ac3c0583ac79e5ac0b3f91a775d1f168cf8e957bccbe36174aa412a8cabf7160159b609eb49f199ead5ff843f6f65af5e3867b15c5017f9c390d5be9 -EBUILD duc-9999.ebuild 1784 BLAKE2B 0afa7673942d072fd8b12db5ffb16118c734e24b5583dc5004553f0838fc65c9cc6c5883845eb44f7cfa74dda875a7eeb077f1fa6dadc252c8d2da71863a4c46 SHA512 e9cb9655ac3c0583ac79e5ac0b3f91a775d1f168cf8e957bccbe36174aa412a8cabf7160159b609eb49f199ead5ff843f6f65af5e3867b15c5017f9c390d5be9 +EBUILD duc-1.4.5.ebuild 1783 BLAKE2B a70a7adfd35e56d68de31732c849c80086df81e30806bc30914f9c74ea95939dff0ffb251553ff5a7000a77ce013b6ccd26d588d1431e89c55cda3effc3dfe46 SHA512 7e2e98c31a49ffe93c3dbde43b5d1524bd7836df55d1932836c1c768c8f6212ec9d598d82021c281463213100915e0c6c261d0f56f43db0bdb320916cfbba79c +EBUILD duc-9999.ebuild 1783 BLAKE2B a70a7adfd35e56d68de31732c849c80086df81e30806bc30914f9c74ea95939dff0ffb251553ff5a7000a77ce013b6ccd26d588d1431e89c55cda3effc3dfe46 SHA512 7e2e98c31a49ffe93c3dbde43b5d1524bd7836df55d1932836c1c768c8f6212ec9d598d82021c281463213100915e0c6c261d0f56f43db0bdb320916cfbba79c MISC metadata.xml 757 BLAKE2B f937d19c5d3c8fff3773bf55853be0d94cff61a6dccd4ac62ecbefd48a500229fa78afea04a1b8dc3c8dcdd34112a861f976b83edfa4ba49eab7a8c447a7f3fa SHA512 8a279871e8c4f0ad2a18e8acb3795581c968ca01936f78baf24c61e5c9826d47176fdb1a4832eeced9eb1835d2b68864126b3b10cf75478877ad15adff29f0c5 diff --git a/sys-apps/duc/duc-1.4.5.ebuild b/sys-apps/duc/duc-1.4.5.ebuild new file mode 100644 index 000000000000..a0fde0e3916e --- /dev/null +++ b/sys-apps/duc/duc-1.4.5.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/zevv/duc.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/zevv/${PN}/releases/download/${PV}/${P}.tar.gz" +fi + +DESCRIPTION="Library and suite of tools for inspecting disk usage" +HOMEPAGE="https://github.com/zevv/duc" + +LICENSE="LGPL-3" +SLOT="0" +IUSE="cairo gui leveldb ncurses sqlite +tokyocabinet X" + +REQUIRED_USE=" + ^^ ( tokyocabinet leveldb sqlite ) + X? ( cairo gui ) +" + +DEPEND=" + cairo? ( x11-libs/cairo x11-libs/pango ) + gui? ( + X? ( + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/pango[X] + ) + !X? ( >=media-libs/glfw-3.0 ) + ) + leveldb? ( dev-libs/leveldb:= ) + ncurses? ( sys-libs/ncurses:= ) + sqlite? ( dev-db/sqlite:3 ) + tokyocabinet? ( dev-db/tokyocabinet ) +" +RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-1.4.1-tinfo.patch +) + +src_unpack() { + if [[ "${PV}" == "9999" ]]; then + git-r3_src_unpack + else + unpack ${A} + fi +} + +src_prepare() { + sed -i -e "/ldconfig/d" -e "/install-exec-hook/d" Makefile.am || die + + default + + eautoreconf +} + +src_configure() { + local myconf=( $(use_enable ncurses ui) ) + + if use tokyocabinet; then + myconf+=( --with-db-backend=tokyocabinet ) + elif use leveldb; then + myconf+=( --with-db-backend=leveldb ) + else + myconf+=( --with-db-backend=sqlite3 ) + fi + + # Necessary logic for cairo + if use gui && use X; then + # X backend GUI + myconf+=( --enable-x11 --disable-opengl --enable-cairo ) + elif use gui; then + # OpenGL backend GUI + myconf+=( --disable-x11 --enable-opengl $(use_enable cairo) ) + else + # No GUI + myconf+=( $(use_enable cairo) --disable-x11 --disable-opengl ) + fi + + econf ${myconf[@]} +} diff --git a/sys-apps/duc/duc-9999.ebuild b/sys-apps/duc/duc-9999.ebuild index e3f8f9050fbe..a0fde0e3916e 100644 --- a/sys-apps/duc/duc-9999.ebuild +++ b/sys-apps/duc/duc-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit autotools @@ -13,10 +13,10 @@ else SRC_URI="https://github.com/zevv/${PN}/releases/download/${PV}/${P}.tar.gz" fi -DESCRIPTION="A library and suite of tools for inspecting disk usage" +DESCRIPTION="Library and suite of tools for inspecting disk usage" HOMEPAGE="https://github.com/zevv/duc" -LICENSE="GPL-2" +LICENSE="LGPL-3" SLOT="0" IUSE="cairo gui leveldb ncurses sqlite +tokyocabinet X" @@ -66,7 +66,7 @@ src_configure() { if use tokyocabinet; then myconf+=( --with-db-backend=tokyocabinet ) - elif use leveldb; then + elif use leveldb; then myconf+=( --with-db-backend=leveldb ) else myconf+=( --with-db-backend=sqlite3 ) |