diff options
Diffstat (limited to 'app-laptop/spicctrl')
-rw-r--r-- | app-laptop/spicctrl/Manifest | 4 | ||||
-rw-r--r-- | app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch | 22 | ||||
-rw-r--r-- | app-laptop/spicctrl/spicctrl-1.9-r1.ebuild | 17 |
3 files changed, 25 insertions, 18 deletions
diff --git a/app-laptop/spicctrl/Manifest b/app-laptop/spicctrl/Manifest index 54fa1aa8eaef..ac7a5af326fe 100644 --- a/app-laptop/spicctrl/Manifest +++ b/app-laptop/spicctrl/Manifest @@ -1,4 +1,4 @@ -AUX spicctrl-1.9-makefile.patch 284 BLAKE2B 86f2e5f7f5748de8051deb3f94f86c1227416ef23b57e5f8ef9486dccb4a2d080fca3c36ad9aaecf65cd8b48a0ae0eccf37387a4360f021cd9d7a8fcb3c0446d SHA512 65a4dc464660cb7b157f3fd6c17dbd1ef9a1976525e68b3bbab72fbb389cc1ff98da43a7e332be360727852ffa86bd237ef633f8253cb1a731efa91a99e93913 +AUX spicctrl-1.9-makefile.patch 444 BLAKE2B 18e609c9550db571e4fe589b1f9e0418dfb0c8050b32f33fc843cd3317c9d02bce7fc06a51bf922ea653e32d74c1ef3595c8c09352c8f030cb4c0b3f1b2b5152 SHA512 db3fc9a6f45d1dceaceac7289990fb8e321307ec398b8cc9a159dce0ab72b4d0600a75262f23bef8868fa9d502812596eb8977e8946fd17a95e4318df05130d4 DIST spicctrl-1.9.tar.bz2 10917 BLAKE2B c26101bb13bd512434b076b9fc6467189c7cb60f7b4a8dd0eede7b18b888d2b418c505896f2b52724df5ea7fab50b336f5843369a9ef4d19e642adc0f8399a01 SHA512 7b1d7862a51dd3321fe84cc5921d71a8f0b978755cbd7c31e54a59ad1c9d3f781d649436bd9b7fba71446a593ad7e925470731f5bd135350942fb0c03fbd4d3e -EBUILD spicctrl-1.9-r1.ebuild 538 BLAKE2B bb22fb85feae533c67c12d0d51ee30fd5bb08599df03893235db9c4cf4aea3234b5f2e4272796ef34df5ed6aca97129b779f98858a1cdc8313d090aa1fa21ebe SHA512 346ce1707c6c8baeabcbd89415ad8ce395a501fc5fb3ffe9c5c87b128da7737f9d0d6da28d2f2441142e1b340d693c8a8fc3f52b412caadc6d5149d18f4d5da5 +EBUILD spicctrl-1.9-r1.ebuild 487 BLAKE2B f4526e0a6ed8733c340196b2248252d453b06d8976d71885e902fd55fdcff12a553a97d8d03da32dd0d981fd6e98fdbaf6a0b7db4be251430d54a93f11145d86 SHA512 6ed02d02f0241a27e8ecf4aa16c795cb3407e732b8c1ca22cdbca155ae1850cb325c91ef1a8352a72e165b369232f1a5c66052587fbee7ba0a904c80918125ec MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch b/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch index a49a29c30fb5..ea2935d02963 100644 --- a/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch +++ b/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch @@ -1,11 +1,21 @@ ---- Makefile.orig 2012-11-20 12:38:41.528871594 +0400 -+++ Makefile 2012-11-20 12:39:42.630871103 +0400 -@@ -14,7 +14,7 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,5 @@ +-CC = gcc +-CFLAGS = -Wall -W -Wshadow -Wstrict-prototypes -Wcast-qual -Wcast-align \ +- -Wwrite-strings -O2 -pipe ++CFLAGS += -Wall -W -Wshadow -Wstrict-prototypes -Wcast-qual -Wcast-align \ ++ -Wwrite-strings + SRC = spicctrl.c + OBJ = $(SRC:.c=.o) + LIBS = +@@ -13,9 +12,6 @@ + all: spicctrl - spicctrl: $(OBJ) +-spicctrl: $(OBJ) - $(CC) -o spicctrl $(OBJ) $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o spicctrl $(OBJ) $(LIBS) - +- clean: rm -f $(OBJ) spicctrl *~ + diff --git a/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild b/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild index d1aceef29615..673144b0e853 100644 --- a/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild +++ b/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit base toolchain-funcs +inherit toolchain-funcs DESCRIPTION="tool for the sonypi-Device (found in Sony Vaio Notebooks)" HOMEPAGE="http://www.popies.net/sonypi/" @@ -12,17 +12,14 @@ SRC_URI="http://www.popies.net/sonypi/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 -ppc x86" -IUSE="" -DEPEND="" -RDEPEND="" +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) -PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +src_configure() { + tc-export CC } src_install() { dobin spicctrl + einstalldocs } |