diff options
Diffstat (limited to 'x11-misc/spnavcfg')
-rw-r--r-- | x11-misc/spnavcfg/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch | 60 | ||||
-rw-r--r-- | x11-misc/spnavcfg/spnavcfg-0.3.ebuild | 27 |
3 files changed, 0 insertions, 88 deletions
diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 5ca4eeab33db..37c190bfda17 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1,2 +1 @@ DIST spnavcfg-0.3.1.tar.gz 215460 BLAKE2B f2bd35022399ec085d5c8b08c7514fdac8e974b33e9923a79446fa9552827d5986abf136fdb95ed31d7dbec419eb34ce13039955c6255cff971ffedcd3cc8a02 SHA512 b5e0ef2036eebc971298d95e8a91bd89ade956933919a4a5dc062fd977ff159bba392b0092ac36142fb317a9758c26319b07680b473f9957eda0163146be5408 -DIST spnavcfg-0.3.tar.gz 214774 BLAKE2B aee45a796bd95761e4a7fe922cc5b65185c894e2fa366dea6d7677fc5ac3b7e0345b89eedef7bf8e446c598d66f161bb66fa695c07b433f5a6b7dce5055b6256 SHA512 a3411c32a6c7de2fd1cfa7960e1b0dade88e8c37435a39ded864b4b6f12fd3c8f518dad7a4ac5b465517484e74b3586f12d47e780f655fd7e4c3fea8d6186c80 diff --git a/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch b/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch deleted file mode 100644 index d0ef0db6e711..000000000000 --- a/x11-misc/spnavcfg/files/spnavcfg-0.3-custom-flags.patch +++ /dev/null @@ -1,60 +0,0 @@ -From e994e67a6a5c4722bdc8140528a4dd258c785402 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Wed, 18 Jan 2017 18:45:11 +0100 -Subject: [PATCH] Respect custom CFLAGS/LDFLAGS - -Based on spnavcfg-0.2.1-custom-flags.patch ---- - Makefile.in | 4 ++-- - configure | 13 +++++++++++++ - 2 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 06f23a6..296dd5d 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -7,8 +7,8 @@ warn = -Wall - CC = gcc - SED = sed - INSTALL = install --CFLAGS = -pedantic $(warn) $(dbg) $(opt) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` --LDFLAGS = `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11 -+CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -+LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0 gmodule-export-2.0` -lX11 - - $(bin): $(obj) - $(CC) -o $@ $(obj) $(LDFLAGS) -diff --git a/configure b/configure -index e211d92..0fed776 100755 ---- a/configure -+++ b/configure -@@ -43,6 +43,12 @@ done - echo " prefix: $PREFIX" - echo " optimize for speed: $OPT" - echo " include debugging symbols: $DBG" -+if [ -n "$CFLAGS" ]; then -+ echo " cflags: $CFLAGS" -+fi -+if [ -n "$LDFLAGS" ]; then -+ echo " ldflags: $LDFLAGS" -+fi - echo - - # create Makefile -@@ -58,6 +64,13 @@ if [ "$OPT" = 'yes' ]; then - echo 'opt = -O3' >>Makefile - fi - -+if [ -n "$CFLAGS" ]; then -+ echo "user_cflags = $CFLAGS" >>Makefile -+fi -+if [ -n "$LDFLAGS" ]; then -+ echo "user_ldflags = $LDFLAGS" >>Makefile -+fi -+ - cat "$srcdir/Makefile.in" >>Makefile - - echo '' --- -2.11.0 - diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild deleted file mode 100644 index 20345a3947af..000000000000 --- a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="GTK-based GUI to configure a space navigator device" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20${PV}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -COMMON_DEPEND="x11-libs/gtk+:2" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - app-misc/spacenavd[X]" - -PATCHES=( "${FILESDIR}"/${P}-custom-flags.patch ) - -src_compile() { - emake CC=$(tc-getCC) -} |