Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libclxclient/files/, media-libs/libclxclient/
Date: Sun, 17 Nov 2019 14:17:24
Message-Id: 1574000235.ffa817ffe2e955013d42febbdcda273178a772bb.fordfrog@gentoo
1 commit: ffa817ffe2e955013d42febbdcda273178a772bb
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 17 14:16:59 2019 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 14:17:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa817ff
7
8 media-libs/libclxclient-3.9.2: bump
9
10 1) updated to eapi 7 + updates
11 2) updated deps
12 3) updated Makefile patch
13
14 Package-Manager: Portage-2.3.79, Repoman-2.3.18
15 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
16
17 media-libs/libclxclient/Manifest | 1 +
18 .../files/libclxclient-3.9.2-Makefile.patch | 35 ++++++++++++++++
19 media-libs/libclxclient/libclxclient-3.9.2.ebuild | 47 ++++++++++++++++++++++
20 3 files changed, 83 insertions(+)
21
22 diff --git a/media-libs/libclxclient/Manifest b/media-libs/libclxclient/Manifest
23 index bf59f38df10..d79a9b187c6 100644
24 --- a/media-libs/libclxclient/Manifest
25 +++ b/media-libs/libclxclient/Manifest
26 @@ -1 +1,2 @@
27 DIST clxclient-3.9.0.tar.bz2 30272 BLAKE2B 51d7dbbf6e474b849461aaedb859bc92da0cb56f368e631016cfcb7dae1e5b3dca7630f35bc2d608fe8851cb5e60be599933834bbe358e092f2b08ad97cdc659 SHA512 4bbd621ceeebf3dfc36f0a3d02c63ba1c0e818e691e5c9681e737710824f53a58c682fb2475a7a2bba4f2dfd520166b782977320ceb73de39448cf512e26c842
28 +DIST clxclient-3.9.2.tar.bz2 29991 BLAKE2B ffd56894e0bcf09e2b6e4c882830e3c3a3a88f3778fe6a2c8b2ceb9336f8ce9cf28193da8e8c86987475e95e3ea2c07319bd82e88ad820b39167cfba9eefd7c3 SHA512 38c2782e58df24c2dfcb936fc9cfe4d44016055fb1aa52ef8e789bf8ec327f45f2f7a91f18012e4b0c6f253f6f10329d6d1e9fc341017ace3f2b6fa050592049
29
30 diff --git a/media-libs/libclxclient/files/libclxclient-3.9.2-Makefile.patch b/media-libs/libclxclient/files/libclxclient-3.9.2-Makefile.patch
31 new file mode 100644
32 index 00000000000..e79dce5764e
33 --- /dev/null
34 +++ b/media-libs/libclxclient/files/libclxclient-3.9.2-Makefile.patch
35 @@ -0,0 +1,35 @@
36 +diff --git a/source/Makefile b/source/Makefile
37 +index 177115f..c8fa0f5 100644
38 +--- a/source/Makefile
39 ++++ b/source/Makefile
40 +@@ -24,16 +24,16 @@ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86
41 + PREFIX ?= /usr/local
42 + INCDIR ?= $(PREFIX)/include
43 + LIBDIR ?= $(PREFIX)/lib$(SUFFIX)
44 ++PKGCONFIG = pkg-config
45 +
46 + MAJVERS = 3
47 + MINVERS = 9.2
48 + VERSION = $(MAJVERS).$(MINVERS)
49 +
50 +
51 +-CPPFLAGS += $(shell pkgconf --cflags freetype2)
52 ++CPPFLAGS += $(shell ${PKGCONFIG} --cflags freetype2)
53 + CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS $(PCONFCFL)
54 +-CXXFLAGS += -Wall -O2 -fPIC
55 +-CXXFLAGS += -march=native
56 ++CXXFLAGS += -Wall -fPIC
57 + LDLIBS +=
58 +
59 +
60 +@@ -55,8 +55,8 @@ install: $(CLXCLIENT_MIN)
61 + install -d $(DESTDIR)$(LIBDIR)
62 + install -m 644 $(CLXCLIENT_H) $(DESTDIR)$(INCDIR)
63 + install -m 755 $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)
64 +- ldconfig
65 +- ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_SO)
66 ++ ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_MAJ)
67 ++ ln -sf $(CLXCLIENT_MAJ) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_SO)
68 +
69 + uninstall:
70 + rm -rf $(DESTDIR)$(INCDIR)/$(CLXCLIENT_H)
71
72 diff --git a/media-libs/libclxclient/libclxclient-3.9.2.ebuild b/media-libs/libclxclient/libclxclient-3.9.2.ebuild
73 new file mode 100644
74 index 00000000000..610b5cbc408
75 --- /dev/null
76 +++ b/media-libs/libclxclient/libclxclient-3.9.2.ebuild
77 @@ -0,0 +1,47 @@
78 +# Copyright 1999-2019 Gentoo Authors
79 +# Distributed under the terms of the GNU General Public License v2
80 +
81 +EAPI=7
82 +
83 +inherit multilib toolchain-funcs
84 +
85 +DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@××××××.be>"
86 +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
87 +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/clxclient-${PV}.tar.bz2"
88 +
89 +LICENSE="LGPL-2.1"
90 +SLOT="0"
91 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
92 +IUSE=""
93 +
94 +CDEPEND="
95 + media-libs/freetype:2
96 + media-libs/libclthreads
97 + x11-libs/libX11
98 + x11-libs/libXft
99 +"
100 +RDEPEND="${CDEPEND}"
101 +DEPEND="${CDEPEND}"
102 +
103 +S="${WORKDIR}/clxclient-${PV}"
104 +
105 +DOCS=( AUTHORS )
106 +
107 +PATCHES=(
108 + "${FILESDIR}/${P}-Makefile.patch"
109 +)
110 +
111 +src_compile() {
112 + tc-export CXX
113 + local prefix="${EPREFIX}/usr"
114 + cd "${S}/source"
115 + emake INCDIR="${prefix}/include" LIBDIR="${prefix}/$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)"
116 +}
117 +
118 +src_install() {
119 + default
120 +
121 + local prefix="${ED}/usr"
122 + cd "${S}/source"
123 + emake INCDIR="${prefix}/include" LIBDIR="${prefix}/$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)" install
124 +}