summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-08-28 18:26:06 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2020-08-28 18:26:06 +0200
commit36945f35151655664b57404b323dc8f764537927 (patch)
tree2ac79265bef19fa9921c95b0104401a1052a6705 /dev-libs/libzia
parentapp-crypt/gnupg: Version bump (v2.2.22) (diff)
downloadgentoo-36945f35151655664b57404b323dc8f764537927.tar.gz
gentoo-36945f35151655664b57404b323dc8f764537927.tar.bz2
gentoo-36945f35151655664b57404b323dc8f764537927.zip
dev-libs/libzia: Version bump
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs/libzia')
-rw-r--r--dev-libs/libzia/Manifest1
-rw-r--r--dev-libs/libzia/libzia-4.22.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest
index b2046fc41d49..6a7c206f59b3 100644
--- a/dev-libs/libzia/Manifest
+++ b/dev-libs/libzia/Manifest
@@ -1 +1,2 @@
DIST libzia-4.21.tar.gz 631871 BLAKE2B 8c54ae86e38569914c05da6c11b8ffe2c349884fb4e8ea00b05b88da12f6ee4e80ddac82f1790b67586c24d9df5b0ab71053fc80479cfdde22250a034db6dbef SHA512 e4277dfc3c004a0a1d1ccd8a11431e46344763ff5df68403b451e2be4b6bd00862fe2af0e15ce9017c3d6144d301e792f9279632687697e0dd4a238c805b04a8
+DIST libzia-4.22.tar.gz 626973 BLAKE2B 6cc87ce5bb11824fc6fbaebbf1ab3c4728884d626c18455088e02d61f84d361f194d07567eed5408671e0c31c015e1fb1d9245294457e699a0342f8487778023 SHA512 1b04460e3706e13e7b6e680a1c58c72131a7f7436a40e9b74ddfd1119cb8507e509658081b9d2daa8eb085f101091a897f8ffec518d74d4409cbd07d999d2c40
diff --git a/dev-libs/libzia/libzia-4.22.ebuild b/dev-libs/libzia/libzia-4.22.ebuild
new file mode 100644
index 000000000000..4977fe81e7dc
--- /dev/null
+++ b/dev-libs/libzia/libzia-4.22.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="platform abstraction code for tucnak package"
+HOMEPAGE="http://tucnak.nagano.cz"
+SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ftdi"
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:2
+ media-libs/libsdl
+ media-libs/libpng:0
+ ftdi? ( dev-embedded/libftdi:0 )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+MAKEOPTS+=" -j1"
+
+src_prepare() {
+ eapply_user
+ sed -i -e "s/docsdir/#docsdir/g" \
+ -e "s/docs_/#docs_/g" Makefile.am || die
+
+ # Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected"
+ sed -i -e 's/@LDFLAGS@//' libzia.pc.in || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with ftdi) --with-sdl \
+ --with-png --without-bfd \
+ --disable-static
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -type f -delete || die
+}