commit:     267bd204ffba6be732112e8639c9149b06ec8290
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 15:51:37 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 20:34:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267bd204

media-libs/libdmtx: add 0.7.8

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/libdmtx/Manifest             |  1 +
 media-libs/libdmtx/libdmtx-0.7.8.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/media-libs/libdmtx/Manifest b/media-libs/libdmtx/Manifest
index dae2c90783d6..ac439700339e 100644
--- a/media-libs/libdmtx/Manifest
+++ b/media-libs/libdmtx/Manifest
@@ -1 +1,2 @@
 DIST libdmtx-0.7.7.tar.gz 791517 BLAKE2B 
5ff0ba22dd753b644cc7d84a2ee9c98f48047d05b322993458d4a35e704ac9d330d3112db8f3461fd9945c1d09422059d47417b46b8000d3e65f31430efc8e45
 SHA512 
802a697669afeb74da0cc3736fe7301fcc1653c1e3bebc343a8baf76e52226cc5509231519343267a92e22ebdfcc5b2825380339991340f054f0a6685d2ffcdc
+DIST libdmtx-0.7.8.tar.gz 795008 BLAKE2B 
4a9e6ab74001aecc0a1e05b4fb0f4310665d74eab35db13d5cc7c56b352154dc25454540e963428b5e9872ea80cfde49e5906fb0f15d1f697092f799863ff152
 SHA512 
2796b2a43d2e83732bd9e9c3d4c702c3b40f55453713d968cf8927534952af3891c8e1f650650e4d47e9c58f50b23f43e2653e2b9ea474359a00dcd097b6bf00

diff --git a/media-libs/libdmtx/libdmtx-0.7.8.ebuild 
b/media-libs/libdmtx/libdmtx-0.7.8.ebuild
new file mode 100644
index 000000000000..e8095d9833f6
--- /dev/null
+++ b/media-libs/libdmtx/libdmtx-0.7.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Barcode data matrix reading and writing library"
+HOMEPAGE="https://libdmtx.sourceforge.net/";
+SRC_URI="https://github.com/dmtx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE=""
+
+src_prepare() {
+       #bug 663346
+       sed -i -e "s/-ansi//" test/*/Makefile.am || die
+
+       default
+       eautoreconf
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -exec rm -f {} + || die
+}

Reply via email to