summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libzia/Manifest1
-rw-r--r--dev-libs/libzia/libzia-4.11.ebuild36
-rw-r--r--dev-libs/libzia/metadata.xml15
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest
new file mode 100644
index 000000000000..7d361e304b12
--- /dev/null
+++ b/dev-libs/libzia/Manifest
@@ -0,0 +1 @@
+DIST libzia-4.11.tar.gz 577185 SHA256 39153c74bdf9b542b0295263500fe9fbbf9992a932a3c31c5b879c4d1d630094 SHA512 6d616ca12e1db20c8bbbe0a18b4e1e0ce1b086b38123762c2e4c3f46390ff5772dd27eb9b97b332b20f3430905f6eae0fdce70aca48fd56d5e43043369233964 WHIRLPOOL d4d904d2afcf840bea24a82a515c5f8034b814b5904b5cc79d1c415b655f00ff9f6d9ed318ec1e93267a3ef1cefd14b72a904f20c72bc378f086b8c958d58faf
diff --git a/dev-libs/libzia/libzia-4.11.ebuild b/dev-libs/libzia/libzia-4.11.ebuild
new file mode 100644
index 000000000000..6733478ee5ca
--- /dev/null
+++ b/dev-libs/libzia/libzia-4.11.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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"
+
+src_prepare() {
+ eapply_user
+ sed -i -e "s/docsdir/#docsdir/g" \
+ -e "s/docs_/#docs_/g" Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with ftdi) --with-sdl \
+ --with-png --without-bfd
+}
diff --git a/dev-libs/libzia/metadata.xml b/dev-libs/libzia/metadata.xml
new file mode 100644
index 000000000000..b845e64532d2
--- /dev/null
+++ b/dev-libs/libzia/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+ </maintainer>
+ <use>
+ <flag name="ftdi">Enable support for FTDI USB chips</flag>
+ </use>
+ <longdescription>
+ libzia contains the platform abstraction layer for
+ the media-radio/tucnak package
+ </longdescription>
+</pkgmetadata>