diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
commit | 265dbe5dbc14c199299496c6db8fce3f76647015 (patch) | |
tree | ab18b5617d138f6684566b619405090989d55a2c /app-misc/fujiplay | |
parent | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff) |
gentoo resync : 21.09.2018
Diffstat (limited to 'app-misc/fujiplay')
-rw-r--r-- | app-misc/fujiplay/Manifest | 4 | ||||
-rw-r--r-- | app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch | 4 | ||||
-rw-r--r-- | app-misc/fujiplay/fujiplay-1.33-r1.ebuild | 45 |
3 files changed, 50 insertions, 3 deletions
diff --git a/app-misc/fujiplay/Manifest b/app-misc/fujiplay/Manifest index 1098bbca8b7b..4974c8675805 100644 --- a/app-misc/fujiplay/Manifest +++ b/app-misc/fujiplay/Manifest @@ -1,4 +1,6 @@ -AUX fujiplay-1.33-unterminated-strings.patch 3142 BLAKE2B dddbf3b36d07fce5ae216998eb5307b1ac0ac5f251a94308f37b43de8de1180a54c34bd14e07fe79b285982c1d99b76c50ae1b9af7c58174cca2eeb1016332ea SHA512 5e2383ec7f65dce4060b85ad2759f29ad65793b98a77543d098e1ded1895a5996f3d104b27a6f3a0f06dfc6b10d483a3bd9e771207006e73b9995dc3300c5280 +AUX fujiplay-1.33-unterminated-strings.patch 3146 BLAKE2B 4130f1a8619b7989e39ac415ee70e54a8148ebb1839dd482c1f475519e730cfabadb0fbff7978b7d18b0d53f002935e2a1383b1cfe0b368f782cf839d70da518 SHA512 9ce4ead7ee94f6b75dd4a0605ba56dd1adf0397d261ba96514c2588dd6335e187276bb63f21ed2b1ec02d8e72f1f4316c2b4b94edadb0deba18ed055874051aa +DIST fujiplay-1.33.tar.gz 12588 BLAKE2B 4be2b4d44696f5d43942c19cde308874684c87762b2778026750c4db9ba249c2ec8b7986bca5c526c7199289b3094157c068067db38a015372fd6fbd5a1e285d SHA512 168ce95b6926da2438fb858b2537060877145b28638217214f72833fcc75b76dd7e5bba9ed0ca966cd2f7f1c31ca3302ee4662907bf743c393314d615d795149 DIST fujiplay.tgz 12588 BLAKE2B 4be2b4d44696f5d43942c19cde308874684c87762b2778026750c4db9ba249c2ec8b7986bca5c526c7199289b3094157c068067db38a015372fd6fbd5a1e285d SHA512 168ce95b6926da2438fb858b2537060877145b28638217214f72833fcc75b76dd7e5bba9ed0ca966cd2f7f1c31ca3302ee4662907bf743c393314d615d795149 +EBUILD fujiplay-1.33-r1.ebuild 1031 BLAKE2B 0743516293107b5f5856fb2434e74df02b7cdc0328cc94be0710741abf13598ccee94ff2deab2f3b36a857a7cbb8afcf5b11e5ea56724e0f5c2ce2b51c543735 SHA512 d901567859ccec2cf343c3514ffe36fb3171f3c1d4b63b40e1e35df21cec189e3b8d1b076f4b1820bb7df4a8c210a2110f66bce755b859ac9c9ef6b5ed4ece70 EBUILD fujiplay-1.33.ebuild 1086 BLAKE2B 719c97d033c92c5a9cccd77eefed0b6dd3fda0acc85a9887bd97e54f4fc9702dca037615776e092cd217800f563bff0c04f2a1e74a02d74c5248208d72d8ba66 SHA512 d5a6e81d91ee1b8b3b21ff0f237904d8485c2291fc664cf782ce42fd73979a2f8a8774829a3c30ec9a61d64ad898f4b1c70bdbcb2de875a0f0f88b9b1ca55ed2 MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch index 7f03c696c20e..1ae946336242 100644 --- a/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch +++ b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch @@ -1,5 +1,5 @@ ---- fujiplay.c 1999-02-23 10:30:31.000000000 +0100 -+++ fujiplay.c 2006-08-05 00:50:08.000000000 +0200 +--- a/fujiplay.c 1999-02-23 10:30:31.000000000 +0100 ++++ b/fujiplay.c 2006-08-05 00:50:08.000000000 +0200 @@ -759,40 +759,38 @@ return 1; } diff --git a/app-misc/fujiplay/fujiplay-1.33-r1.ebuild b/app-misc/fujiplay/fujiplay-1.33-r1.ebuild new file mode 100644 index 000000000000..796eccb8d312 --- /dev/null +++ b/app-misc/fujiplay/fujiplay-1.33-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)" +HOMEPAGE="https://www.math.u-psud.fr/~bousch/fujiplay.html" +SRC_URI="https://www.math.u-psud.fr/~bousch/${PN}.tgz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +PATCHES=( "${FILESDIR}"/${P}-unterminated-strings.patch ) + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin fujiplay yycc2ppm + dodoc README fujiplay.lsm mx700-commands.html + emake all clean +} + +pkg_postinst() { + ln -s /dev/ttyS0 /dev/fujifilm || die + elog "A symbolic link /dev/ttyS0 -> /dev/fujifilm was created." + elog "You may want to create a serial group to allow non-root" + elog "members R/W access to the serial device." + elog +} + +pkg_postrm() { + rm -f /dev/fujifilm || die + elog + elog "The symbolic link /dev/fujifilm was removed." + elog +} |