summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Kobierski <fkobi@pm.me>2024-08-10 14:17:25 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-08-11 14:02:10 +0200
commit15cd6c1c2ba8aad7cdd2cecd7ef81a12522c4867 (patch)
treea67ecd5763a78f37b67a1f37c0ef318dbab0dc38 /x11-libs
parentgames-puzzle/pingus: update LICENSE (diff)
downloadgentoo-15cd6c1c2ba8aad7cdd2cecd7ef81a12522c4867.tar.gz
gentoo-15cd6c1c2ba8aad7cdd2cecd7ef81a12522c4867.tar.bz2
gentoo-15cd6c1c2ba8aad7cdd2cecd7ef81a12522c4867.zip
x11-libs/libclxclient: bump EAPI, fix pkgcheck issues
- remove unused inherit (multilib) - remove empty IUSE - fix variable order - add https Signed-off-by: Filip Kobierski <fkobi@pm.me> Closes: https://github.com/gentoo/gentoo/pull/38060 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libclxclient/libclxclient-3.9.2-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-libs/libclxclient/libclxclient-3.9.2-r1.ebuild b/x11-libs/libclxclient/libclxclient-3.9.2-r1.ebuild
new file mode 100644
index 000000000000..e072d0a3ce2a
--- /dev/null
+++ b/x11-libs/libclxclient/libclxclient-3.9.2-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="C++ wrapper library around the X Window System API"
+HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/index.html"
+SRC_URI="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/clxclient-${PV}.tar.bz2"
+S="${WORKDIR}/clxclient-${PV}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+CDEPEND="
+ dev-libs/libclthreads
+ media-libs/freetype:2
+ x11-libs/libX11
+ x11-libs/libXft
+"
+RDEPEND="${CDEPEND}"
+DEPEND="${CDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+ "${FILESDIR}/${P}-Makefile.patch"
+ "${FILESDIR}/${P}-enumip-include-fix.patch"
+)
+
+src_compile() {
+ tc-export CXX
+ local prefix="${EPREFIX}/usr"
+ cd "${S}/source"
+ emake INCDIR="${prefix}/include" LIBDIR="${prefix}/$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ default
+
+ local prefix="${ED}/usr"
+ cd "${S}/source"
+ emake INCDIR="${prefix}/include" LIBDIR="${prefix}/$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)" install
+}