summaryrefslogtreecommitdiff
path: root/media-libs/libgii
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/libgii
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libgii')
-rw-r--r--media-libs/libgii/Manifest8
-rw-r--r--media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch12
-rw-r--r--media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch13
-rw-r--r--media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch19
-rw-r--r--media-libs/libgii/libgii-1.0.2-r1.ebuild44
-rw-r--r--media-libs/libgii/metadata.xml10
6 files changed, 106 insertions, 0 deletions
diff --git a/media-libs/libgii/Manifest b/media-libs/libgii/Manifest
new file mode 100644
index 000000000000..281f0a38a727
--- /dev/null
+++ b/media-libs/libgii/Manifest
@@ -0,0 +1,8 @@
+AUX libgii-0.9.0-linux26-headers.patch 419 SHA256 3b8219be83b51ec8d676cea2a677bc07f20b6aee788b3c7948d9dd9000829a7c SHA512 a6f6d04037948fd3f6d5bedcc28f7eb15f705205e204b767d6bdb30bcdcce289067bb54777a9676228db0269b96ee2ff17600a80ed795661680268f9e7fc91e5 WHIRLPOOL 024ef15b81780d557535a9a90dc9df4aa68329fed094e250c43ffbd7cd96d0f18abdf830e0b026b7b90489a286f62241597584adeb7911a3610a8177bf9bbc8a
+AUX libgii-1.0.2-configure-cpuid-pic.patch 451 SHA256 69f61d69ad22325f855728ddaa8fd9fce45c3002d6c1e044c207a308e6c1158d SHA512 94aa2b1996ac7ccc1275853c72bda6a0f050c79010354d87dd551484c8bf3fb8eaa2cbc6b13620cb317bddc9da938c3106af71e2f0da70f9b62db7e27c404743 WHIRLPOOL 968c0ecbad38cac979e9c801c38361dea489406c8930b7b2d4cd0cc0dd759bb4b964f4b7af117fd20e25ecf286a308897eb0f5523c1f73ffd06a792a5f1fa7aa
+AUX libgii-1.0.2-libtool_1.5_compat.patch 468 SHA256 01a870f0914a0cc9a7c131f0c61a97dd0c2c8affb625c40b2b7f763f39bf0c25 SHA512 bae66a72ba24409222e9836baeca654b88398c2ac5df4008787c649e26ca87c6c0ca86cf703cfc5d16f3f55d3ae182afd3d93793e99797d597b464a940170c7a WHIRLPOOL f57c3ec902ce78abf495c5279748bf41c340e48a3e071f37bfb84d315e79372558617b978edaadb5f12abe6d41f42935e71187098dce8c20a1340281e792a279
+DIST libgii-1.0.2.src.tar.bz2 701099 SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d SHA512 d45b236e08bb8c6a7a7741ae694650dfc5681712a174f923c9132c41acb388d0d6dbc5589104a7a6bc73c98088f2b5967ee726d83c1f3e913602661c8d30bf07 WHIRLPOOL 1e38eddf5eb2f070076ffc05b0e32bc6ad8b9dd96b9bb82e0e90eb90d67b15e42700c47a65b8b933082e5a70c508b4cd4beeb8a707f434bda91793cf0e9ce79a
+EBUILD libgii-1.0.2-r1.ebuild 1165 SHA256 31a01d5dc1e86c4ad6ca8e5519dc17004d3caffcbe294c5c8ba575062aa9624a SHA512 9fb1072389744b3b7334e373dd8fc4eaae5388b2eaa786666b2eb53ed0c150cc3bde407fc3cc4668faf95f7a72e1ac15347a9a38daad03aebcb50f6fc026946a WHIRLPOOL a3ea3fe5ed924935432f452b7f3417efae42fd7985e82ad9c245b91f8a77e2abccc9de7fbd9e6f865482792b4820071198a07d8fa7fe0c94316a4f9eb8c54247
+MISC ChangeLog 2574 SHA256 43025d2d125074150c265018974b5dc54c1da22382f22e228ffcaa42ceff118c SHA512 4cf47ab2c64224b63a6e1e85c8373e9899b1628509ae80d49a715ec685116780371524c917e01b1299ec8b9d4372d55dcd1df03568800df5c55003573f502e92 WHIRLPOOL 8a2662380469a1730956a69eba20cc559e284b1d35d24cd1a6ea485854eff9e161a4afc28ebcbd9907d909d97dc5dbe0afe1cbfe6ca873dfed0ec5061b2b798a
+MISC ChangeLog-2015 6576 SHA256 fac8ae9c0482cedfd1da6c236c7837aca81a83cf7843726c7269f997ccc92475 SHA512 f62cbf37f6621227c5cae545a990c1d926e29acae534cb47eebad2477138c48571a1dec1ff20fb225f314e5b8bd7668e26d7266626de416e39d9166c8d38ef90 WHIRLPOOL 1c506e6fb3b1f252bea68c9f69a3be94bdf8b99bf2675ad4a37a06ce602a0a399bb72598c59e37d56d56aa7b31f8054e543b0e854e437887d4fa5691448dda0f
+MISC metadata.xml 296 SHA256 dfcb1146e88a0b67dc31870ab60b2eac3443e34ec00a7f26c6a1352d1420993a SHA512 5e1f45111c1b86547646ddeb2b1c8435e10bb2743132325bfc156e560874a9871baf81e621004fc03bad3b32e7266894636916b292b096c25be80ba828c264fc WHIRLPOOL 23860a7bed38b1279f10d9eaa564775336a9787801d9497491fd43ef3511744b5085ae40f66f4d9421ce1e2787eaba608f7f384fb4fa3a1840dcd1ffd4574db4
diff --git a/media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch b/media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch
new file mode 100644
index 000000000000..ff77c33c4e9e
--- /dev/null
+++ b/media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch
@@ -0,0 +1,12 @@
+--- input/linux_kbd/linkey.c~ 2002-02-23 06:51:05.000000000 +0900
++++ input/linux_kbd/linkey.c 2005-03-28 12:05:43.000000000 +0900
+@@ -25,8 +25,8 @@
+ ******************************************************************************
+ */
+ #include "config.h"
+-#include "linkey.h"
+ #include <ctype.h>
++#include "linkey.h"
+
+ static uint32 basic_trans(int sym, int islabel, uint32 *modifiers,
+ uint32 label, int keycode)
diff --git a/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch
new file mode 100644
index 000000000000..5c014a479745
--- /dev/null
+++ b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch
@@ -0,0 +1,13 @@
+dont clobber ebx as that is the pic register and it doesnt work in many cases
+
+--- libgii-1.0.2/m4/swar.m4
++++ libgii-1.0.2/m4/swar.m4
+@@ -8069,7 +8069,7 @@
+ #ifdef _MSC_VER
+ __asm cpuid
+ #else
+- asm("cpuid": "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" (in));
++ asm("pushl %%ebx; cpuid; movl %%ebx,%2; popl %%ebx": "=a" (a), "=r" (b), "=c" (c), "=d" (d) : "a" (in));
+ #endif
+ return d;],
+ ggi_cv_cc_can_cpuid="yes", ggi_cv_cc_can_cpuid="no")])
diff --git a/media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch b/media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch
new file mode 100644
index 000000000000..851216540b47
--- /dev/null
+++ b/media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch
@@ -0,0 +1,19 @@
+--- configure.in 2007-01-16 14:52:56.000000000 -0500
++++ configure.in.new 2008-06-10 15:40:14.000000000 -0400
+@@ -12,7 +12,7 @@
+ AM_INIT_AUTOMAKE([libgii],[1.0.2],[-])
+
+ AM_MAINTAINER_MODE
+-
++AC_PROG_LIBTOOL
+
+ AC_CANONICAL_BUILD
+ AC_CANONICAL_HOST
+@@ -100,7 +100,6 @@
+ dnl Make Objective-C work with automake >= 1.7.x
+ AM_CONDITIONAL([am__fastdepOBJC], false)
+
+-LT_INIT([win32-dll])
+
+
+ dnl ========================================================================
diff --git a/media-libs/libgii/libgii-1.0.2-r1.ebuild b/media-libs/libgii/libgii-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..7d9e41b79dbd
--- /dev/null
+++ b/media-libs/libgii/libgii-1.0.2-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-multilib
+
+DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
+HOMEPAGE="http://www.ggi-project.org"
+SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="X"
+
+RDEPEND="X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXxf86dga-1.1.4[${MULTILIB_USEDEP}]
+ )"
+DEPEND="${RDEPEND}
+ kernel_linux? ( >=sys-kernel/linux-headers-2.6.11 )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch
+ "${FILESDIR}"/${P}-configure-cpuid-pic.patch
+ "${FILESDIR}"/${P}-libtool_1.5_compat.patch
+)
+
+DOCS=( ChangeLog ChangeLog.1999 FAQ NEWS README )
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/ggi/system.h )
+
+src_prepare() {
+ rm -f acinclude.m4 m4/libtool.m4 m4/lt*.m4
+ AT_M4DIR=m4 autotools-multilib_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=( $(use_with X x) $(use_enable X x) )
+ autotools-multilib_src_configure
+}
diff --git a/media-libs/libgii/metadata.xml b/media-libs/libgii/metadata.xml
new file mode 100644
index 000000000000..e053c4b408f6
--- /dev/null
+++ b/media-libs/libgii/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ggi</remote-id>
+ </upstream>
+</pkgmetadata>