summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2019-06-03 21:54:07 +0700
committerAndrey Grozin <grozin@gentoo.org>2019-06-03 21:54:07 +0700
commit447ac359381b0e0c07a6f748a032358b1fe15d66 (patch)
tree35f6556a03a022f18838859099cc5d3b3e555bb2 /app-text/simple-fb2-reader
parentnet-misc/openvswitch: fix building on newer kernels (diff)
downloadgentoo-447ac359381b0e0c07a6f748a032358b1fe15d66.tar.gz
gentoo-447ac359381b0e0c07a6f748a032358b1fe15d66.tar.bz2
gentoo-447ac359381b0e0c07a6f748a032358b1fe15d66.zip
app-text/simple-fb2-reader: initial import
Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-text/simple-fb2-reader')
-rw-r--r--app-text/simple-fb2-reader/Manifest1
-rw-r--r--app-text/simple-fb2-reader/metadata.xml10
-rw-r--r--app-text/simple-fb2-reader/simple-fb2-reader-1.1.2.ebuild31
3 files changed, 42 insertions, 0 deletions
diff --git a/app-text/simple-fb2-reader/Manifest b/app-text/simple-fb2-reader/Manifest
new file mode 100644
index 000000000000..24bbd04833dd
--- /dev/null
+++ b/app-text/simple-fb2-reader/Manifest
@@ -0,0 +1 @@
+DIST simple-fb2-reader-1.1.2.tar.gz 95181 BLAKE2B 4bcfc361fe25e2fbbd6767d4517dac61e50f2e907c969402dc76be688228e612c489758ae2adef731a30e9a9aac19b2fb5786ad768e83354c8d082edfbf2b634 SHA512 0d0b95cedf8b0863fc415ba710da7bae140fda6a9cc947f20986fae0f348653ab73a85425ba34fc9beb747372ad3fcffdf8c3c173386678653cdf10318abe64c
diff --git a/app-text/simple-fb2-reader/metadata.xml b/app-text/simple-fb2-reader/metadata.xml
new file mode 100644
index 000000000000..07d74f27a515
--- /dev/null
+++ b/app-text/simple-fb2-reader/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grozin@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Cactus64k/simple-fb2-reader</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/simple-fb2-reader/simple-fb2-reader-1.1.2.ebuild b/app-text/simple-fb2-reader/simple-fb2-reader-1.1.2.ebuild
new file mode 100644
index 000000000000..c7d3c54be77d
--- /dev/null
+++ b/app-text/simple-fb2-reader/simple-fb2-reader-1.1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils xdg-utils
+DESCRIPTION="A simple gtk3 reader for fb2 ebooks"
+HOMEPAGE="https://github.com/Cactus64k/simple-fb2-reader"
+SRC_URI="https://github.com/Cactus64k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RDEPEND="x11-libs/gtk+:3
+ dev-libs/libxml2
+ dev-libs/libzip
+ dev-db/sqlite"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}