diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /dev-libs/pigpio | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-libs/pigpio')
-rw-r--r-- | dev-libs/pigpio/Manifest | 9 | ||||
-rw-r--r-- | dev-libs/pigpio/files/pigpio-70-makefile.patch | 98 | ||||
-rw-r--r-- | dev-libs/pigpio/pigpio-67.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/pigpio/pigpio-68.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/pigpio/pigpio-70.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/pigpio/pigpio-71.ebuild | 39 |
6 files changed, 185 insertions, 4 deletions
diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest index 97efe13a5e9b..b76f1f86e633 100644 --- a/dev-libs/pigpio/Manifest +++ b/dev-libs/pigpio/Manifest @@ -1,9 +1,14 @@ AUX pigpio-67-makefile.patch 2074 BLAKE2B 7f8d9e294992301d64ce0c0f6d6446ca97b790057cbe5eeed67a12d91966d5fa9053cf69ee284a7d2a3a39c8c53ac4599ad38c7f47bb630bf5e0ec9fa10e63e7 SHA512 443052a0db49c5a5b9fa4be6e01a7b78efd392f157de6a2855e66fe3da9353f5dfce2f30aaed86ea6f05e0fd2b75e3c0f51c8b9996561db968f160cc3aba3d97 +AUX pigpio-70-makefile.patch 3244 BLAKE2B 3a8155c52ec15227c815a5bac7b42a1fddf9682fbc10dd4513d6c5d7da8b2e1ea9189bc4b28560650b69a857e65c3db00b7af1de30970e23d1bcd988bbba0255 SHA512 096af62d64e61fa6d6394484c58e55dcbe4aa22551c5b3448209e6dcd707688dc3033d219eba954c0e78635d2480b7c7de044aeb18a80d0ac0d701b4d4cc4fa8 AUX pigpiod.confd 188 BLAKE2B ce3d491b4e333492d42ed84d9f6728631263eb57ff54c56f44479e5567b165666feac78be4aa118bb71d77932bea4c243ea0dad2907d8986b017249c8182a523 SHA512 83903a28e3f9a341b9a709408a2df6b0f89120fe5db529e982e473e27abdc80a0d1f861d1011021ddb04c5c3f9cf040d8dfa6fbb41f216848187c272581b503a AUX pigpiod.initd 215 BLAKE2B d7797cc0d1d388fd21831e33cbadd031e2cb974e26367596dd4c9ba054fbdd4b04200d0ff61dfe797520d2e0745420a5d973b44a41e15713800a7828f097cec1 SHA512 e1db38677a248c3dbc33aae6809eb8df1dd6253f60ca852d98d8d6d428d23d7a8a31a031da3b786b7105d90f0cc52687bfbfe320e5c6cbf0fbf02b5ad5c6e606 AUX pigpiod.systemd 121 BLAKE2B acb298046861f0dc0ee65505e2fa4c62cdfee3e628044d07881891f630e70507d27f253e1735457d56b6f7d9e8602c5a1597765c808f8cacaff96ce0efb52df9 SHA512 bb67874841fc629f5987dc41115ac6cfdd477264d5022bac06bcb3762394818a27f4f6357d537408c2cbcb81959e60ab894fd7e5c45f9a138a45f6da7208ef61 DIST pigpio-67.tar.gz 369268 BLAKE2B a9d59369f5eed4b733e0e5c0e85013a132e55ff63a2393d79a3fb52d1fcb2513559d4dfeea84c4842d6281936b6e116bd81cd63e4542bbcffaf813ee356ee0d1 SHA512 9792f8402ee0dd204f4a975ab0513099a1fe3d398a28b766f412c08d7908e8e307de4cc92b2a2519b6484f15a043bd40008b7707486015c08bda5f97b1e7e00b DIST pigpio-68.tar.gz 371251 BLAKE2B c0118854d18ce158a3d5c96380289cc8bc68f35f72ce28f207dfbb827f97f538acd82cec2af11590e59985b77ef08834d55b3ac7578e1f6b6d1a0b5d5d594632 SHA512 125364eab9dd33c39fda148c6018679ac91b099914d7f0c6362f61566a9c957065189ace03ad4668b29f25d4d542b81d42c0befe0712867b48977b755dc03edc -EBUILD pigpio-67.ebuild 1081 BLAKE2B 4858dffb1e3a65013b5a8473051c7f378d42fade37e6d9abfdffc4220aa6c3c3d754dcdc46a450d93e33b554ac694df934059c3535566ed16328ff384bcfc845 SHA512 e6050e91ee48e6d088fb53e8063c9ddf0f6d79c3d4f2041604b9e48cf137ba41dbe4898869ba62d7cd23fa23a6d007f29749136bca9dec511fac501d291c9ca0 -EBUILD pigpio-68.ebuild 1084 BLAKE2B 2686719bc407095c4ae485a3c69b5332e0a34b81b581d9bac8fbab3085cbdc55bab3af01973758d955c8582af38aae754c9c89235c9b635c44278d4ea21792b9 SHA512 cafe3aedfbd60fa64a1d9247764ea4ab158347a50394b9cfe94862fca358278807298dc1e8274f825d8a4a21be6f3958820ac924d4249b745e5cab74b68db3fa +DIST pigpio-70.tar.gz 374569 BLAKE2B a2caadf0e1307c8c3ce936d5fd4d31e18185aa53900f6b2cf8b92a31f423b9a82bf4d2b7212fa8cd5b2d26773598a138ef8331884410f3f418542f43ca1fe2d4 SHA512 00db37b9c0f9751e6179b19e7018583abd9e11d78d01ff9f99b713004cf4e6a224e93644206599378a34dd46fd75c08557021b706015b0bc2bd8b34e363691db +DIST pigpio-71.tar.gz 374952 BLAKE2B a79a408915285674211e50e30d3cafa433a9ee364cacced501e109d6c31a3a03c14f9d25c3c18e3df252801de65c60ca67cd5f1a8e08f05be8098ad591a14fee SHA512 c3bf029bebff9a7ee02b48597f624a5dcdf277c5c1a7ffa2f6cb83885a93cd6713935d9502127d11c4e9c11e7f6f6be49c8af367707eca2fff469728b5248e2f +EBUILD pigpio-67.ebuild 1086 BLAKE2B ead6c79ddc9eb0132ed8a8829c882b6eb7e52e62d754f5368cefd3c06d1beb44703aa19936fd6f1a0ca6cc165e575a786ad83c85d28cec5cf62007a2591336f2 SHA512 835c65eb698fc746181a5062a433a0eaef7e3ad5e86017863ed62ce5d8feb903e77ac6dddfcc27cbfba1ed3f823ac20c3d4bc3a381bab35425368010b13899fe +EBUILD pigpio-68.ebuild 1099 BLAKE2B 90b8f83e25a1146557411ec07a09f82dc3dbe2ecc9df3fcd60ed4265bc6f18301ba743364144174e9feb0a69ed5705f54ac89ba5daeeae2231b43270a2bf69f7 SHA512 b1eaa643b9bc949664c417efcef64317359b58898e7df9810ff0d7d01f884151a531a10d66dbc68f9a3e45abcf8485fd6051a9053bf26316af07dd538ec875de +EBUILD pigpio-70.ebuild 1099 BLAKE2B 0565c98714cf0c5159817543f7d29a41cb21334a4425c81d8b45768c6d69989bf33cab7128dad03e21afdcc13f4e92f6a4e882c6110b0f598ef461d68fbcfb11 SHA512 e82831ad43f6eb0d40e358120e763b70af14567b5e88fc87576cff1a3646113084b5b2aa25a9350b2815e582c5fa6cb25b6df5fa6651894b08f89fc486ce4042 +EBUILD pigpio-71.ebuild 1099 BLAKE2B 0565c98714cf0c5159817543f7d29a41cb21334a4425c81d8b45768c6d69989bf33cab7128dad03e21afdcc13f4e92f6a4e882c6110b0f598ef461d68fbcfb11 SHA512 e82831ad43f6eb0d40e358120e763b70af14567b5e88fc87576cff1a3646113084b5b2aa25a9350b2815e582c5fa6cb25b6df5fa6651894b08f89fc486ce4042 MISC metadata.xml 378 BLAKE2B f2b1adfb373a67d901affeca1c30b1f9fea6adb9d73a5d8b51fb6234964dd04e9dfada31a3afdf5f9a76e47a50cfd65033f86142701291e0797822f3a0daef41 SHA512 70ee7283d595db52d0a82896b29825d4e671fc8f1723f98c4a64dbbfc4bc1198343e155d4c624c8436d99201101d71a917205e89c6372911cdb700ba9e8ee508 diff --git a/dev-libs/pigpio/files/pigpio-70-makefile.patch b/dev-libs/pigpio/files/pigpio-70-makefile.patch new file mode 100644 index 000000000000..10df7e872c6c --- /dev/null +++ b/dev-libs/pigpio/files/pigpio-70-makefile.patch @@ -0,0 +1,98 @@ +--- a/Makefile 2019-08-10 10:10:22.834043361 +0200 ++++ b/Makefile 2019-08-10 10:43:15.797503591 +0200 +@@ -9,6 +9,9 @@ + STRIP = $(CROSS_PREFIX)strip + SHLIB = $(CC) -shared + STRIPLIB = $(STRIP) --strip-unneeded ++LDCONFIG = ldconfig ++PYTHON2 = $(shell type -P python2 || echo ':' 2> /dev/null) ++PYTHON3 = $(shell type -P python3 || echo ':' 2> /dev/null) + + SOVERSION = 1 + +@@ -25,7 +28,7 @@ + + LIB = $(LIB1) $(LIB2) $(LIB3) + +-ALL = $(LIB) x_pigpio x_pigpiod_if x_pigpiod_if2 pig2vcd pigpiod pigs ++ALL = $(LIB) pig2vcd pigpiod pigs + + LL1 = -L. -lpigpio -pthread -lrt + +@@ -66,28 +69,21 @@ + $(CC) -o x_pigpiod_if2 x_pigpiod_if2.o $(LL3) + + pigpiod: pigpiod.o $(LIB1) +- $(CC) -o pigpiod pigpiod.o $(LL1) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigpiod pigpiod.o $(LL1) + $(STRIP) pigpiod + + pigs: pigs.o command.o +- $(CC) -o pigs pigs.o command.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigs pigs.o command.o + $(STRIP) pigs + + pig2vcd: pig2vcd.o +- $(CC) -o pig2vcd pig2vcd.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -o pig2vcd pig2vcd.o + $(STRIP) pig2vcd + + clean: + rm -f *.o *.i *.s *~ $(ALL) *.so.$(SOVERSION) + +-ifeq ($(DESTDIR),) +- PYINSTALLARGS = +-else +- PYINSTALLARGS = --root=$(DESTDIR) +-endif +- + install: $(ALL) +- install -m 0755 -d $(DESTDIR)/opt/pigpio/cgi + install -m 0755 -d $(DESTDIR)$(includedir) + install -m 0644 pigpio.h $(DESTDIR)$(includedir) + install -m 0644 pigpiod_if.h $(DESTDIR)$(includedir) +@@ -103,15 +99,13 @@ + install -m 0755 pig2vcd $(DESTDIR)$(bindir) + install -m 0755 pigpiod $(DESTDIR)$(bindir) + install -m 0755 pigs $(DESTDIR)$(bindir) +- if which python2; then python2 setup.py install $(PYINSTALLARGS); fi +- if which python3; then python3 setup.py install $(PYINSTALLARGS); fi ++ $(PYTHON2) setup.py install ++ $(PYTHON3) setup.py install + install -m 0755 -d $(DESTDIR)$(mandir)/man1 +- install -m 0644 p*.1 $(DESTDIR)$(mandir)/man1 ++ install -m 0644 *.1 $(DESTDIR)$(mandir)/man1 + install -m 0755 -d $(DESTDIR)$(mandir)/man3 +- install -m 0644 p*.3 $(DESTDIR)$(mandir)/man3 +-ifeq ($(DESTDIR),) +- ldconfig +-endif ++ install -m 0644 *.3 $(DESTDIR)$(mandir)/man3 ++ $(LDCONFIG) + + uninstall: + rm -f $(DESTDIR)$(includedir)/pigpio.h +@@ -136,19 +130,19 @@ + endif + + $(LIB1): $(OBJ1) +- $(SHLIB) -pthread -Wl,-soname,$(LIB1).$(SOVERSION) -o $(LIB1).$(SOVERSION) $(OBJ1) ++ $(SHLIB) -o $(LIB1).$(SOVERSION) $(OBJ1) + ln -fs $(LIB1).$(SOVERSION) $(LIB1) + $(STRIPLIB) $(LIB1) + $(SIZE) $(LIB1) + + $(LIB2): $(OBJ2) +- $(SHLIB) -pthread -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB2).$(SOVERSION) $(OBJ2) ++ $(SHLIB) -o $(LIB2).$(SOVERSION) $(OBJ2) + ln -fs $(LIB2).$(SOVERSION) $(LIB2) + $(STRIPLIB) $(LIB2) + $(SIZE) $(LIB2) + + $(LIB3): $(OBJ3) +- $(SHLIB) -pthread -Wl,-soname,$(LIB3).$(SOVERSION) -o $(LIB3).$(SOVERSION) $(OBJ3) ++ $(SHLIB) -o $(LIB3).$(SOVERSION) $(OBJ3) + ln -fs $(LIB3).$(SOVERSION) $(LIB3) + $(STRIPLIB) $(LIB3) + $(SIZE) $(LIB3) + diff --git a/dev-libs/pigpio/pigpio-67.ebuild b/dev-libs/pigpio/pigpio-67.ebuild index e10bc7791689..56f692b26a27 100644 --- a/dev-libs/pigpio/pigpio-67.ebuild +++ b/dev-libs/pigpio/pigpio-67.ebuild @@ -31,7 +31,7 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: libdir="$(get_libdir)" prefix="/usr" mandir="/usr/share/man" install + emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: libdir="/usr/$(get_libdir)" prefix="/usr" mandir="/usr/share/man" install einstalldocs newinitd "${FILESDIR}"/pigpiod.initd pigpiod newconfd "${FILESDIR}"/pigpiod.confd pigpiod diff --git a/dev-libs/pigpio/pigpio-68.ebuild b/dev-libs/pigpio/pigpio-68.ebuild index ab323e84a88e..6ca0daa626e3 100644 --- a/dev-libs/pigpio/pigpio-68.ebuild +++ b/dev-libs/pigpio/pigpio-68.ebuild @@ -29,7 +29,7 @@ src_compile() { src_install() { emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: \ - libdir="$(get_libdir)" prefix="${EPREFIX}/usr" \ + libdir="${EPREFIX}/usr/$(get_libdir)" prefix="${EPREFIX}/usr" \ mandir="${EPREFIX}/usr/share/man" install einstalldocs newinitd "${FILESDIR}"/pigpiod.initd pigpiod diff --git a/dev-libs/pigpio/pigpio-70.ebuild b/dev-libs/pigpio/pigpio-70.ebuild new file mode 100644 index 000000000000..f4a86cfd1b13 --- /dev/null +++ b/dev-libs/pigpio/pigpio-70.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 systemd toolchain-funcs + +DESCRIPTION="A library for the Raspberry which allows control of the GPIOs" +HOMEPAGE="http://abyz.me.uk/rpi/pigpio/index.html" +SRC_URI="https://github.com/joan2937/pigpio/archive/V${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~arm" +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + eapply "${FILESDIR}/${PN}-70-makefile.patch" + eapply_user +} + +src_compile() { + emake CC="$(tc-getCC)" STRIP=: STRIPLIB=: SIZE=: + use python && distutils-r1_src_compile +} + +src_install() { + emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: \ + libdir="${EPREFIX}/usr/$(get_libdir)" prefix="${EPREFIX}/usr" \ + mandir="${EPREFIX}/usr/share/man" install + einstalldocs + newinitd "${FILESDIR}"/pigpiod.initd pigpiod + newconfd "${FILESDIR}"/pigpiod.confd pigpiod + systemd_newunit "${FILESDIR}"/pigpiod.systemd pigpiod.service + use python && distutils-r1_src_install +} diff --git a/dev-libs/pigpio/pigpio-71.ebuild b/dev-libs/pigpio/pigpio-71.ebuild new file mode 100644 index 000000000000..f4a86cfd1b13 --- /dev/null +++ b/dev-libs/pigpio/pigpio-71.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 systemd toolchain-funcs + +DESCRIPTION="A library for the Raspberry which allows control of the GPIOs" +HOMEPAGE="http://abyz.me.uk/rpi/pigpio/index.html" +SRC_URI="https://github.com/joan2937/pigpio/archive/V${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~arm" +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + eapply "${FILESDIR}/${PN}-70-makefile.patch" + eapply_user +} + +src_compile() { + emake CC="$(tc-getCC)" STRIP=: STRIPLIB=: SIZE=: + use python && distutils-r1_src_compile +} + +src_install() { + emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: \ + libdir="${EPREFIX}/usr/$(get_libdir)" prefix="${EPREFIX}/usr" \ + mandir="${EPREFIX}/usr/share/man" install + einstalldocs + newinitd "${FILESDIR}"/pigpiod.initd pigpiod + newconfd "${FILESDIR}"/pigpiod.confd pigpiod + systemd_newunit "${FILESDIR}"/pigpiod.systemd pigpiod.service + use python && distutils-r1_src_install +} |