summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libdmtx')
-rw-r--r--media-libs/libdmtx/Manifest1
-rw-r--r--media-libs/libdmtx/libdmtx-0.7.7.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/libdmtx/Manifest b/media-libs/libdmtx/Manifest
index e1d4dd7de11e..bb7f8fd9aa7c 100644
--- a/media-libs/libdmtx/Manifest
+++ b/media-libs/libdmtx/Manifest
@@ -1 +1,2 @@
DIST libdmtx-0.7.5.tar.gz 790944 BLAKE2B af94a998e6ab0b06c17d64d6c720e874540830282fd1219260aa1e5fb44159b59f63fcfd1fbd750333ae50b080c341ec02b81216c2e975a8ef85628b23d4fb55 SHA512 c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a
+DIST libdmtx-0.7.7.tar.gz 791517 BLAKE2B 5ff0ba22dd753b644cc7d84a2ee9c98f48047d05b322993458d4a35e704ac9d330d3112db8f3461fd9945c1d09422059d47417b46b8000d3e65f31430efc8e45 SHA512 802a697669afeb74da0cc3736fe7301fcc1653c1e3bebc343a8baf76e52226cc5509231519343267a92e22ebdfcc5b2825380339991340f054f0a6685d2ffcdc
diff --git a/media-libs/libdmtx/libdmtx-0.7.7.ebuild b/media-libs/libdmtx/libdmtx-0.7.7.ebuild
new file mode 100644
index 000000000000..1f83c814eec8
--- /dev/null
+++ b/media-libs/libdmtx/libdmtx-0.7.7.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 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="http://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
+}