diff options
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/Manifest.gz | bin | 47229 -> 47228 bytes | |||
-rw-r--r-- | x11-misc/spnavcfg/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch | 23 | ||||
-rw-r--r-- | x11-misc/spnavcfg/spnavcfg-1.1.ebuild | 48 |
4 files changed, 74 insertions, 0 deletions
diff --git a/x11-misc/Manifest.gz b/x11-misc/Manifest.gz Binary files differindex acefb1ff7198..7f7e6d073027 100644 --- a/x11-misc/Manifest.gz +++ b/x11-misc/Manifest.gz diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest index 0518d1908d6b..356d2513d466 100644 --- a/x11-misc/spnavcfg/Manifest +++ b/x11-misc/spnavcfg/Manifest @@ -1,5 +1,8 @@ +AUX spnavcfg-1.1-makefile.patch 723 BLAKE2B 637ebfab4b48d2cbf2b51e8b59a4c97aff359c625b634f7febf4208855da837784d576abb78332e06cc79be58ba7d8f3df58a5bf6007c7b53d9932681acf43b5 SHA512 7725dc8e91e1ff9776d03982a79dbbbb8555575bbffe3f417e0c761337a47e57f1e6ac54d2b19861256073faa8437a2384330d08a2ed1c17455ad92a14a09d46 DIST spnavcfg-0.3.1.tar.gz 215460 BLAKE2B f2bd35022399ec085d5c8b08c7514fdac8e974b33e9923a79446fa9552827d5986abf136fdb95ed31d7dbec419eb34ce13039955c6255cff971ffedcd3cc8a02 SHA512 b5e0ef2036eebc971298d95e8a91bd89ade956933919a4a5dc062fd977ff159bba392b0092ac36142fb317a9758c26319b07680b473f9957eda0163146be5408 DIST spnavcfg-1.0.tar.gz 496695 BLAKE2B 59d79cc1707881ba50e809c73a41cb94dbfd15e5e184114190efa2394fe4b53f25960a828611007a200687a3e9827bc4df30d3d06ca3764b23573a1f51fb2974 SHA512 271d1d66fdfb4aff9faa521c51c776dbccf77320b0783a5dbdcc4a28d4190ef3ba6c3d277d706dafc35e2e6ceed1d244d346d4a91cf8e1f5ba3141c24d065ea8 +DIST spnavcfg-1.1.tar.gz 497896 BLAKE2B 874489904970182f6f56d0a7bd63cc3847f101729b2c6866677fc0c17fab4bad42132ac0f93a39ef9a35654acde8ef6cd42a462756dd7f0c3914424a5fc54dd2 SHA512 4d5c9dc37d1906dbc99535a758554d9419e20ad773adcf2d2062795a8e194a88b68c360341a08e3ac236df08a2e389c4475f341b5bac662a4526dada0bb891a6 EBUILD spnavcfg-0.3.1.ebuild 631 BLAKE2B 87950402346b2d18842697a0e66cc38c7cd897fab3ebb824b100748f35e110acbeaf7f41a933486f50c1d8ee1e02251ffc94da9c28dbf74f7b601a027569cc83 SHA512 13274238bdbecf96267c64cd3cc3aa23a444efe4df24c1616bd4b34bf6060e3580a72a06f1ab470af25edb3d8d9ceac0deaccb203aa1cccb849a0e3e849facd9 EBUILD spnavcfg-1.0.ebuild 844 BLAKE2B ece7e7a827ea02af2711a9c8fa19fbf0c563ba13bcd66f995df8b4371264b98a096f71a61bfcc81d149b7e29de6ca74ab88a58d1bfb1c8ebcb777e4511ef45cd SHA512 0687f2bde702ee496ae8080d04b80fe2b1c45922057312c67823b8a10e171ef5da79c1ca74900b1ea8fcfba2d1903387b69d679283a6c7dc8ac6c8651b9f72dd +EBUILD spnavcfg-1.1.ebuild 1049 BLAKE2B dad15786349f8b5b54538fef91b95a41216fc07dc98539e2d93bf818aeeddb9467a1adfca2e9da89907aa5aa2cdc1655cbc930591973bee169001c6abe42ec65 SHA512 b68f2c326881d053a4bc31acf04b641f428fbe1a9b40f3ff89933ea78eb7e69926edae6301d517b65727abf72ef5a9cde12ff2e84709373a5f9c904cc1e7f30c MISC metadata.xml 514 BLAKE2B 50df594dc158c9d7aae74568d8eb00a1351df08aec9aee998d9c34812edcaf51e75a7e3e1e75d4fd74ba3be0249f1cd61530eb9d7b1946bee63af3959e84bef8 SHA512 5627cd947830e8c82068402f2fb9a0a65e92b141ab9f61d285e1caf37c43e3e7ab3666d05062493dd339ce5093bffb2ac5622fff702591b7b0fea15b9a061394 diff --git a/x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch b/x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch new file mode 100644 index 000000000000..0476d7a10152 --- /dev/null +++ b/x11-misc/spnavcfg/files/spnavcfg-1.1-makefile.patch @@ -0,0 +1,23 @@ +From fd9aa10fb8e19a257398757943b3d8e79906e583 Mon Sep 17 00:00:00 2001 +From: John Tsiombikas <nuclear@member.fsf.org> +Date: Sun, 8 Jan 2023 21:49:12 +0200 +Subject: [PATCH] Make sure there are no duplicate object files. Closes issue + #29 + +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index b760f4d..f66ba22 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -2,7 +2,7 @@ csrc = $(wildcard src/*.c) + ccsrc = $(wildcard src/*.cc) + mochdr = src/ui.h + mocsrc = $(mochdr:.h=.moc.cc) +-obj = $(csrc:.c=.o) $(ccsrc:.cc=.o) $(mocsrc:.cc=.o) res.cc ++obj = $(sort $(csrc:.c=.o) $(ccsrc:.cc=.o) $(mocsrc:.cc=.o)) res.cc + dep = $(csrc:.c=.d) $(ccsrc:.cc=.d) + bin = spnavcfg + diff --git a/x11-misc/spnavcfg/spnavcfg-1.1.ebuild b/x11-misc/spnavcfg/spnavcfg-1.1.ebuild new file mode 100644 index 000000000000..6d9bd749d265 --- /dev/null +++ b/x11-misc/spnavcfg/spnavcfg-1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs qmake-utils + +DESCRIPTION="Qt-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=">=dev-libs/libspnav-1[X] + dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtwidgets + x11-libs/libX11" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + >=app-misc/spacenavd-1[X]" + +src_configure() { + # Note: Makefile uses $(add_cflags) inside $(CXXFLAGS) + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + econf --disable-debug --disable-opt +} + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch +) + +src_compile() { + local args=( + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + MOC="$(qt5_get_bindir)/moc" + RCC="$(qt5_get_bindir)/rcc" + UIC="$(qt5_get_bindir)/uic" + libpath="-L/usr/$(get_libdir)" + ) + emake "${args[@]}" +} |