summaryrefslogtreecommitdiff
path: root/media-libs/libclxclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libclxclient
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libclxclient')
-rw-r--r--media-libs/libclxclient/Manifest16
-rw-r--r--media-libs/libclxclient/files/libclxclient-1.0.1-gcc41.patch31
-rw-r--r--media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch30
-rw-r--r--media-libs/libclxclient/files/libclxclient-3.3.2-Makefile.patch32
-rw-r--r--media-libs/libclxclient/files/libclxclient-3.6.1-Makefile.patch37
-rw-r--r--media-libs/libclxclient/files/libclxclient-3.9.0-Makefile.patch46
-rw-r--r--media-libs/libclxclient/libclxclient-1.0.1.ebuild35
-rw-r--r--media-libs/libclxclient/libclxclient-3.3.2.ebuild37
-rw-r--r--media-libs/libclxclient/libclxclient-3.6.1.ebuild39
-rw-r--r--media-libs/libclxclient/libclxclient-3.9.0.ebuild39
-rw-r--r--media-libs/libclxclient/metadata.xml8
11 files changed, 350 insertions, 0 deletions
diff --git a/media-libs/libclxclient/Manifest b/media-libs/libclxclient/Manifest
new file mode 100644
index 000000000000..08280a0c5bee
--- /dev/null
+++ b/media-libs/libclxclient/Manifest
@@ -0,0 +1,16 @@
+AUX libclxclient-1.0.1-gcc41.patch 1027 SHA256 e1da6351bf077f785421e1ff1a32eeecf880ef6c211eabb691e3913bc22d27fc SHA512 554aa95b775ec47080fb76b0c2245afd6bd44143af6f1613d63d541492b51ed9d63f8b79b105759e69be55e3d553b2219cfebed6273189d4a27d0b0bc1aefe5c WHIRLPOOL 129c5d78878ab0a54b40e63227cf2f61eb66cb89f3deecff87d65d93a0e592c3b70236c0e94e35b0a1d60a6bf2ad5f29a73e15c2c8fb1e7a93c7865f469a3cb3
+AUX libclxclient-1.0.1-makefile.patch 1057 SHA256 3b5014b49f0227a250128c2206ee6923787a92ea219be3c7cd84d8ee2db82fdd SHA512 08703e9a241a4794b983a5bb500c9f6159c1116bad4ffe937c38e42f77e13aac191017a8c70c6000a5a2f0d7153ddceea8f831ac8e0e647f7506d36b5f1085e5 WHIRLPOOL 75be48e97c342f8c5a1f5dcc488d4d195c998abb89edc37847ca201ffc97be2610b2d37827c7592f17fc9ec01c597344ff9ad5781ec026d48d9998236426f9e3
+AUX libclxclient-3.3.2-Makefile.patch 1278 SHA256 26b378b13d86fa6e45f69e205d91fe57db0a459a1ce234e4d12e70057543eaf6 SHA512 dd362de3556b22390a520fa6ab3546d4c10c144e9176aabbdcb9b4ba1cf65eb494be6adcb190fa2c5a44ceab756313e2a56ca5da9b5f07cdf3288516c38957a9 WHIRLPOOL 4b87c71701596a8f7589f7651c2db87ebbc45b223140cabb2cbd921192baa96c742d11cbf9b8dfe6770b129babbdcf3bc7ace243bcfc90b2821fff99f14a7fc3
+AUX libclxclient-3.6.1-Makefile.patch 1630 SHA256 afc2f6d1cf4fd32fe73dec02b6df04ba98a115bf0df85bc0dd8ee0a327ee81b2 SHA512 ce012a5b8f5065c9ab79d66419ece9503911aacb837436c67cdc9a8f354730d7829235d23446c7df4c3a6b98ba94bedc426d91dcd6d484c91b5f45f8adda9c1e WHIRLPOOL 38657ff8376f82b135cd01e0ce2a9b56bd5869dcb7376a6f43e19b0542f503d630e200bea164b1d98fa25ef1ad60203b45c33cfb8e305e950cbf59590cef8e8b
+AUX libclxclient-3.9.0-Makefile.patch 1738 SHA256 1fbde27e7edecf9b6da149e9e41787e9b27d530ce5bb0419f104a760613c7fc0 SHA512 51f938f60ce442a92c47509e8c2f0fca6614863f2482afe7f7dd558d27dfb9162cb86f4b151dd0c03f25eac65353bf796aac93374b030c70c5ac8957a456f7a2 WHIRLPOOL c6f3c3261debbb66b0f15526c23b37203c7c90052fd99a104e494e6f6c50b67f65e2ad3b08749ffd58c0bd70ed82bd7b89357e40ffea3178933024b68cff0cd0
+DIST clxclient-1.0.1.tar.bz2 16499 SHA256 770c6bb8ab2b16f4097147367dd1ea920638de5bcc12ca9a633610b943b9009a SHA512 2e5829349838d4eae3de4a5ebcf8357c005ca9c8884326ea9666ff1f03c6905202ab703d0ed2c1c6ffc4cd0a82484ed662de5cce25b12ba3cf57a9d67902f9e4 WHIRLPOOL dd23029ce4f608889c41ba696c57a27f2e01a9ba04ba116c70c13bc4cb010fa9631716a7a8eea7cfae16a92cd32114c3ed244652d1c0e07f828ac6058c13c301
+DIST clxclient-3.3.2.tar.bz2 20835 SHA256 011c0854c5db262d7cc5aa79a3422f0d55e352725d1e801a589b3d06ed432f07 SHA512 5888f4ca6fb72ba0fb7e822189b362dd8d0e113f32f5426235732359eab7756465e51bea64de597c06122cdc5bb8e9df86be8e02242e103e49af11491ee8a087 WHIRLPOOL 264a0a516ffebad66ecb75e9fb1b2db87dd604b3d8e81e1a48ccff8639e3344dafd981a16dc694f73d1ef2900ff4778796b2a07cec07b396349ff3be9d3d4aea
+DIST clxclient-3.6.1.tar.bz2 30089 SHA256 9de3e621d7acabb161b5926565a9c9373fedbc632222018f692346790149545d SHA512 9f4592d8fa11b6dd0e27af73ca140591d0f8b2672e127e44e5dc58ced5eea9d6956c12990f84f7d6706cdbbf641f0611605c410ea8daa7ff565178c01298166e WHIRLPOOL 72383f40f6b00f65e27231134be056f6a6aa99382f6a33c449127b6dbe2c40a8251ca78b5adbf70fa08fb944196e63a986abcd7647a761ff67327799c102f839
+DIST clxclient-3.9.0.tar.bz2 30272 SHA256 80da572961ff0c635889986ae9b42c97a4aede2d966095aba7f4119360ee8792 SHA512 4bbd621ceeebf3dfc36f0a3d02c63ba1c0e818e691e5c9681e737710824f53a58c682fb2475a7a2bba4f2dfd520166b782977320ceb73de39448cf512e26c842 WHIRLPOOL 0fce9f7e96870cd73db3fa158b5cc9135980ebcfb15c5e6fb55d2850a88876ab25f4b5d2a75e49de4371adae0dc80a669fa14113edaf9a84e089974f04ecf0d9
+EBUILD libclxclient-1.0.1.ebuild 827 SHA256 cfbdc736cf302b5ef05a7c507666cea4bb54c4825fe4b5b70efbc044ce790960 SHA512 7f4c3cee398560f9812f29015ef4268b7bb2e3fb234f72fe4fe1877d5f9f1ad97900b3f00d22de064dd8307e43c4187b8e5bd72d911057f64c1d9a8e7b2c1573 WHIRLPOOL 8b90674f4cc7bcb886a9c5167001dde118aaca59f5578b21bb2ff785d592c861d977c8ea6d7c2204c324567acd998e5f5eb32884e587b94483a203b221102e02
+EBUILD libclxclient-3.3.2.ebuild 841 SHA256 ce22e0164f7b8b0c4899660248a58a52d9b242de652ad3420d82d8e09e5f0c89 SHA512 87d72242105899ef6474e0c261b59b8a94bd4cc60821df825566b3df920ba28c1a3e7c2e0db2172cf8108020dfd28803a9c1cbfbbfc8594316d7a8328fd81d89 WHIRLPOOL b6dd467014bed92e51293060c5509467be4c771c64bf7d6137cad08083bdebbbfa48d24291e521e3ad0fd8d032fa5a6e2cbc8283a0d78409d3e45fd90a4fd4b7
+EBUILD libclxclient-3.6.1.ebuild 924 SHA256 cf16317717fa7df63ec3058f3fc0bce940c3b63f9ee0c116f9f6abddd22de685 SHA512 9961da2dbf6b9bf7f8cbb68ec8397fc285d4623b6e13986bfc2cfa15f6bdfe26fd324fbfa07ad0b10d64b3ac966fc8799acfb56a8c2e96d8c301cbc682ae9a4f WHIRLPOOL 9794ba6b0bdc0acd075c0c9fcdd8949b38efc42f6617a82e76ec68364a546d28dd49a8aab237cb2c96dbadfa6b552ecf768c1069cad99d9801cb41467f323ac6
+EBUILD libclxclient-3.9.0.ebuild 920 SHA256 e1574f5071e31c845388befe607555f4f4fa592c46547034265ea7450eb7a78d SHA512 2a74cc4ad9d10d61b0b7ce90f372ae7d0eb72f2c45b34279654e0a77406bde530cab66917127578d5c0e7deca9a1151733c0ece650656b0fb7b4cc6f29375ee5 WHIRLPOOL 69ca5729c78830f0de58e8bf8907c598b22f307003e4db50b775926566018ad69155a27b890d4ef00244acf529fbbfee8bb02a85a0c78d3ff83d390983ee96e0
+MISC ChangeLog 3223 SHA256 253904fa263e35aa41c310a4e496b9d104114045fe8fa7251f7e13f581835eea SHA512 cd94ba731a395d542b5d9ca58c786073e47c3562553a3e0f05497c14bdfbed6e5195041e28644b5a411bd8c1a3326b24b0e1fb3a8e124bbddeeb4ae82fc180a7 WHIRLPOOL f42d0f91fdd9f25d91de17ae601e1f0e98c1634679ee60590732edc07db81d16fc16c31ab779c9f39f8c140fcec3faa29eea386f24caa72d36959b9b4c6d10b0
+MISC ChangeLog-2015 3050 SHA256 8bd64cba1cc30c44bce1a50802588be1bc3fc899e23467789559f9b4c1886c20 SHA512 2f80380d5c11cc756fcf82261b3e5fccfdfd324dc3eb128fc67a360acf6b0e0bda574d90432d80fad1914a949458003731246405b3afa35fd1d934331dc60dd2 WHIRLPOOL 14e4bc3bd5571a83d4e08f8bec30ee0537bd6d9d83abf9228e028a62627b5fc20c801a408d533564c76d8d50cb207a7768c65ce4f8d9758d984facec53abeb0c
+MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723
diff --git a/media-libs/libclxclient/files/libclxclient-1.0.1-gcc41.patch b/media-libs/libclxclient/files/libclxclient-1.0.1-gcc41.patch
new file mode 100644
index 000000000000..12f4d5df4565
--- /dev/null
+++ b/media-libs/libclxclient/files/libclxclient-1.0.1-gcc41.patch
@@ -0,0 +1,31 @@
+Index: clxclient-1.0.1/clxclient.h
+===================================================================
+--- clxclient-1.0.1.orig/clxclient.h
++++ clxclient-1.0.1/clxclient.h
+@@ -75,7 +75,7 @@ class X_hints
+ {
+ public:
+
+- X_hints::X_hints (void) { _sh.flags = 0; _mh.flags = 0; _ch.res_name = 0; _ch.res_class = 0; }
++ X_hints (void) { _sh.flags = 0; _mh.flags = 0; _ch.res_name = 0; _ch.res_class = 0; }
+
+ void position (int x, int y);
+ void minsize (int x, int y);
+@@ -187,7 +187,7 @@ public:
+ X_resman (const X_resman&);
+ X_resman& operator=(const X_resman&);
+
+- void X_resman::init (int *argc, char *argv [], char *name,
++ void init (int *argc, char *argv [], char *name,
+ XrmOptionDescRec *opt, int nopt);
+
+ const char *get (const char *res, const char *def) const;
+@@ -205,7 +205,7 @@ private:
+ char *_home;
+ XrmDatabase _xrmdata;
+
+- static XrmOptionDescRec X_resman::defopt [X_resman::NDEFOPT];
++ static XrmOptionDescRec defopt [X_resman::NDEFOPT];
+ };
+
+
diff --git a/media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch b/media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch
new file mode 100644
index 000000000000..c254e5f1e05f
--- /dev/null
+++ b/media-libs/libclxclient/files/libclxclient-1.0.1-makefile.patch
@@ -0,0 +1,30 @@
+Index: clxclient-1.0.1/Makefile
+===================================================================
+--- clxclient-1.0.1.orig/Makefile
++++ clxclient-1.0.1/Makefile
+@@ -1,5 +1,5 @@
+ CPPFLAGS += -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
+-LDFLAGS += -L/usr/X11R6/lib
++LDFLAGS +=
+ LDLIBS +=
+
+
+@@ -17,14 +17,13 @@ CLXCLIENT_H = clxclient.h
+
+
+ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
+
+
+ install: $(CLXCLIENT_MIN)
+- cp -f $(CLXCLIENT_H) $(CLXCLIENT_INCDIR)
+- cp -f $(CLXCLIENT_MIN) $(CLXCLIENT_LIBDIR)
+- /sbin/ldconfig -n $(CLXCLIENT_LIBDIR)
+- ln -sf $(CLXCLIENT_MIN) $(CLXCLIENT_LIBDIR)/$(CLXCLIENT_SO)
++ install -D $(CLXCLIENT_H) $(DESTDIR)$(CLXCLIENT_INCDIR)/$(CLXCLIENT_H)
++ install -D $(CLXCLIENT_MIN) $(DESTDIR)$(CLXCLIENT_LIBDIR)/$(CLXCLIENT_MIN)
++ ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(CLXCLIENT_LIBDIR)/$(CLXCLIENT_SO)
+
+
+ clean:
diff --git a/media-libs/libclxclient/files/libclxclient-3.3.2-Makefile.patch b/media-libs/libclxclient/files/libclxclient-3.3.2-Makefile.patch
new file mode 100644
index 000000000000..59e55f38a493
--- /dev/null
+++ b/media-libs/libclxclient/files/libclxclient-3.3.2-Makefile.patch
@@ -0,0 +1,32 @@
+--- Makefile.orig 2007-01-05 05:21:48.000000000 -0800
++++ Makefile 2007-01-05 05:26:44.000000000 -0800
+@@ -28,8 +28,7 @@
+ DISTDIR = clxclient-$(VERSION)
+
+
+-CPPFLAGS += -Wall -I. -I/usr/X11R6/include -I/usr/include/freetype2 -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
+-LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L/usr/X11R6/$(LIBDIR)
++CPPFLAGS += -Wall -I. -I/usr/X11R6/include -I/usr/include/freetype2 -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+ LDLIBS +=
+
+
+@@ -43,15 +42,13 @@
+
+
+ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
+
+
+ install: $(CLXCLIENT_MIN)
+- /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLXCLIENT_H) $(PREFIX)/include
+- /usr/bin/install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)
+- /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+- ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
++ /usr/bin/install -D $(CLXCLIENT_H) $(DESTDIR)usr/include/$(CLXCLIENT_H)
++ /usr/bin/install -D $(CLXCLIENT_MIN) $(DESTDIR)$(CLXCLIENT_LIBDIR)/$(CLXCLIENT_MIN)
++ ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(CLXCLIENT_LIBDIR)/$(CLXCLIENT_SO)
+
+
+ clean:
diff --git a/media-libs/libclxclient/files/libclxclient-3.6.1-Makefile.patch b/media-libs/libclxclient/files/libclxclient-3.6.1-Makefile.patch
new file mode 100644
index 000000000000..d8e1bac8e47a
--- /dev/null
+++ b/media-libs/libclxclient/files/libclxclient-3.6.1-Makefile.patch
@@ -0,0 +1,37 @@
+Index: clxclient-3.6.1/Makefile
+===================================================================
+--- clxclient-3.6.1.orig/Makefile
++++ clxclient-3.6.1/Makefile
+@@ -28,9 +28,9 @@ VERSION = $(MAJVERS).$(MINVERS)
+ DISTDIR = clxclient-$(VERSION)
+
+
+-CPPFLAGS += -Wall -I. -I/usr/X11R6/include `freetype-config --cflags` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
+-LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L/usr/X11R6/$(LIBDIR) `freetype-config --libs`
+-LDLIBS +=
++CPPFLAGS += -Wall -I. -I/usr/X11R6/include `freetype-config --cflags` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
++LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L/usr/X11R6/$(LIBDIR)
++LDLIBS += `freetype-config --libs`
+
+
+ CLXCLIENT_SO = libclxclient.so
+@@ -43,15 +43,13 @@ CLXCLIENT_H = clxclient.h
+
+
+ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) $(LDLIBS)
+
+
+ install: $(CLXCLIENT_MIN)
+- /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLXCLIENT_H) $(PREFIX)/include
+- /usr/bin/install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)
+- /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+- ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
++ /usr/bin/install -m 644 -D $(CLXCLIENT_H) $(DESTDIR)$(PREFIX)/include/$(CLXCLIENT_H)
++ /usr/bin/install -m 755 -D $(CLXCLIENT_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLXCLIENT_MIN)
++ ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
+
+
+ clean:
diff --git a/media-libs/libclxclient/files/libclxclient-3.9.0-Makefile.patch b/media-libs/libclxclient/files/libclxclient-3.9.0-Makefile.patch
new file mode 100644
index 000000000000..7714ec5e9111
--- /dev/null
+++ b/media-libs/libclxclient/files/libclxclient-3.9.0-Makefile.patch
@@ -0,0 +1,46 @@
+Index: clxclient-3.9.0/Makefile
+===================================================================
+--- clxclient-3.9.0.orig/Makefile
++++ clxclient-3.9.0/Makefile
+@@ -24,6 +24,7 @@
+ PREFIX = /usr/local
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+ LIBDIR = lib$(SUFFIX)
++PKGCONFIG = pkg-config
+
+
+ MAJVERS = 3
+@@ -31,9 +32,9 @@ MINVERS = 9.0
+ VERSION = $(MAJVERS).$(MINVERS)
+
+
+-CPPFLAGS += -Wall -I. -I/usr/X11R6/include `freetype-config --cflags` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2
+-LDFLAGS += -L/usr/X11R6/$(LIBDIR) `freetype-config --libs`
+-LDLIBS +=
++CPPFLAGS += -Wall -I. -I/usr/X11R6/include `$(PKGCONFIG) --cflags freetype2` -fpic -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
++LDFLAGS += -L/usr/X11R6/$(LIBDIR)
++LDLIBS += `$(PKGCONFIG) --libs freetype2`
+
+
+ CLXCLIENT_SO = libclxclient.so
+@@ -46,15 +47,14 @@ CLXCLIENT_H = clxclient.h
+
+
+ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) $(LDLIBS)
+
+
+ install: $(CLXCLIENT_MIN)
+- install -d $(PREFIX)/$(LIBDIR)
+- install -m 644 $(CLXCLIENT_H) $(PREFIX)/include
+- install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)
+- ldconfig
+- ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
++ install -m 644 -D $(CLXCLIENT_H) $(PREFIX)/include/$(CLXCLIENT_H)
++ install -m 755 -D $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_MIN)
++ ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_MAJ)
++ ln -sf $(CLXCLIENT_MAJ) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
+
+
+ clean:
diff --git a/media-libs/libclxclient/libclxclient-1.0.1.ebuild b/media-libs/libclxclient/libclxclient-1.0.1.ebuild
new file mode 100644
index 000000000000..88c65935c627
--- /dev/null
+++ b/media-libs/libclxclient/libclxclient-1.0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+IUSE=""
+
+inherit eutils multilib toolchain-funcs
+
+S="${WORKDIR}/clxclient-${PV}"
+
+DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
+HOMEPAGE="http://users.skynet.be/solaris/linuxaudio"
+SRC_URI="http://users.skynet.be/solaris/linuxaudio/downloads/clxclient-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+
+RDEPEND="x11-libs/libX11
+ >=media-libs/libclthreads-1.0.1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${P}-makefile.patch"
+ epatch "${FILESDIR}/${P}-gcc41.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake || die "emake failed"
+}
+
+src_install() {
+ make CLXCLIENT_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
+}
diff --git a/media-libs/libclxclient/libclxclient-3.3.2.ebuild b/media-libs/libclxclient/libclxclient-3.3.2.ebuild
new file mode 100644
index 000000000000..eabcbad91a0b
--- /dev/null
+++ b/media-libs/libclxclient/libclxclient-3.3.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib toolchain-funcs
+
+MY_P=${P/lib/}
+
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXft
+ >=media-libs/libclthreads-2.2.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake CLXCLIENT_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS
+}
diff --git a/media-libs/libclxclient/libclxclient-3.6.1.ebuild b/media-libs/libclxclient/libclxclient-3.6.1.ebuild
new file mode 100644
index 000000000000..e21f882a3680
--- /dev/null
+++ b/media-libs/libclxclient/libclxclient-3.6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib toolchain-funcs
+
+MY_P=${P/lib/}
+
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXft
+ >=media-libs/freetype-2
+ >=media-libs/libclthreads-2.4.0"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake PREFIX="/usr" LIBDIR="$(get_libdir)" || die "emake failed"
+}
+
+src_install() {
+ emake PREFIX="/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS
+}
diff --git a/media-libs/libclxclient/libclxclient-3.9.0.ebuild b/media-libs/libclxclient/libclxclient-3.9.0.ebuild
new file mode 100644
index 000000000000..c3e30e23f4c8
--- /dev/null
+++ b/media-libs/libclxclient/libclxclient-3.9.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+MY_P=${P/lib/}
+
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXft
+ media-libs/freetype:2
+ >=media-libs/libclthreads-2.4.0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ tc-export CC CXX
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" LIBDIR="$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)" install
+ dodoc AUTHORS
+}
diff --git a/media-libs/libclxclient/metadata.xml b/media-libs/libclxclient/metadata.xml
new file mode 100644
index 000000000000..c870d0eef0ab
--- /dev/null
+++ b/media-libs/libclxclient/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+</pkgmetadata>