summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-03-19 17:49:28 +0100
committerPetr Vaněk <arkamar@gentoo.org>2024-03-19 17:50:39 +0100
commita2766183f88708eba41d00c3288a6d4e368bb534 (patch)
tree17f2a05341c4d7cb630653d412df7aa29bba26fc /x11-misc/tabbed
parentx11-drivers/nvidia-drivers: add 550.67 (diff)
downloadgentoo-a2766183f88708eba41d00c3288a6d4e368bb534.tar.gz
gentoo-a2766183f88708eba41d00c3288a6d4e368bb534.tar.bz2
gentoo-a2766183f88708eba41d00c3288a6d4e368bb534.zip
x11-misc/tabbed: add 0.8
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'x11-misc/tabbed')
-rw-r--r--x11-misc/tabbed/Manifest1
-rw-r--r--x11-misc/tabbed/tabbed-0.8.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/tabbed/Manifest b/x11-misc/tabbed/Manifest
index 83972a7921ec..7adcbe5f8e2b 100644
--- a/x11-misc/tabbed/Manifest
+++ b/x11-misc/tabbed/Manifest
@@ -1 +1,2 @@
DIST tabbed-0.6.tar.gz 12926 BLAKE2B e92e2c7132f7a760286c61c99faa0b26e411326e172c231f3354e61f8151f561babd4a35998bc06cb7fd87dc962334ef0ddac78ba284cd3090bb1c2dcfa159be SHA512 bcad873251be6b5de21311531e8d24330003b42790cb94d559a0d1be45408b3e0722c14e7c7f2cefd0717fd2a2d7a100fa08fc4e10e7bb669935909602286553
+DIST tabbed-0.8.tar.gz 13970 BLAKE2B 289d3a94224d9c717a3a66a6ea10e34f744b49bf010e7bea6ddb4f8db92a89f8e2ca1d3bbc5c6ffa3402f85117b3bbb0a54140d1e70d6e1f0200c883f46fbe8f SHA512 aa81ee2a293110cdd7660c4643a21bb44573516ddd03657ab4cfd2be2f52f7dd5a4fcfce60fd2b4dac591d13e40f952985780cd8923394fc64e814152729a754
diff --git a/x11-misc/tabbed/tabbed-0.8.ebuild b/x11-misc/tabbed/tabbed-0.8.ebuild
new file mode 100644
index 000000000000..176292a2374e
--- /dev/null
+++ b/x11-misc/tabbed/tabbed-0.8.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Simple generic tabbed fronted to xembed aware applications"
+HOMEPAGE="https://tools.suckless.org/tabbed"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXft
+"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ restore_config config.h
+}
+
+src_compile() {
+ tc-export CC PKG_CONFIG
+
+ local emakeargs=(
+ TABBED_CFLAGS="$("${PKG_CONFIG}" --cflags x11 xft)"
+ TABBED_LDFLAGS="$("${PKG_CONFIG}" --libs x11 xft)"
+ )
+
+ emake "${emakeargs[@]}"
+}
+
+src_install() {
+ local emakeargs=(
+ DESTDIR="${D}"
+ PREFIX="${EPREFIX}/usr"
+ DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}"
+ )
+ emake "${emakeargs[@]}" install
+
+ save_config config.h
+}