summaryrefslogtreecommitdiff
path: root/x11-misc/qcomicbook
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/qcomicbook
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/qcomicbook')
-rw-r--r--x11-misc/qcomicbook/Manifest5
-rw-r--r--x11-misc/qcomicbook/metadata.xml15
-rw-r--r--x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild58
3 files changed, 78 insertions, 0 deletions
diff --git a/x11-misc/qcomicbook/Manifest b/x11-misc/qcomicbook/Manifest
new file mode 100644
index 000000000000..271687143292
--- /dev/null
+++ b/x11-misc/qcomicbook/Manifest
@@ -0,0 +1,5 @@
+DIST qcomicbook-0.9.1.tar.gz 739887 SHA256 39bb6ba0e20569985c930b0e8bdb19ae9c5453f27e9f7c01c6d44f56fb204619 SHA512 87bd983c4442e220f1bc463e54e0ea583cddbc6becd9eec64801dc5e7e061cdac5805cba83167685ab454e41fcce329fa399d622d7f588940bf057ce4b1f423d WHIRLPOOL 2acebceb33ae273ce7cc7868dcde0cd20fde65a36d972719c995c3bb7fdecec4da06b5ae27c0d660e0d0043a5bf178effcfe518aa8fbdc2597cdc4297499797f
+EBUILD qcomicbook-0.9.1.ebuild 1546 SHA256 ab7cb0f3a46a99222881a4d01374b097dc0b7b950f85d51fad934d2b77e0fe87 SHA512 7fc3d37480ee9aa029dbf0dd9013f8ddbba76aef19f9c83690933bcfa1aa4447532c7b5fb012ef3083a4f3a23d795d21be5958323b2486834c2e00caa4da4d89 WHIRLPOOL 2da949042ea20486d112e3550b75f22ef2a407c4bfd61b076d750678c11be2b5bcc0069ac94666a923a6c9e9c4b61b84118b30b8a2bb1b799ba16edca4b5b357
+MISC ChangeLog 2442 SHA256 d4314cef5013cde912174d784b9a3478069e68291015ea1929cc2d93a06af23d SHA512 4bb7e96ee136eb8800f1411345029e9577325d5b0c51cc465a7edb799330b4906e15f20897728dc8d9092378a40acc484d129a9010723b5c5780ac20f78267b0 WHIRLPOOL 76f7e684b62a4ebd7b8e1a1dc1a503f4783182f1bfe9ee49b8678b90d45c465193929dbfcc03620464207699de07e6d88772e450bc64b197d9065e99d70ad956
+MISC ChangeLog-2015 7958 SHA256 87d4358336843e75cfd607e8e364d892c854776f086203463549ff0d73f43e53 SHA512 f997339d66dfce899e20e77b9d4b839ed7b53aa6a5bf113202f1848159a5054e53a53892e4a9dcd50e307c1f4801aa66b27eb0faa46f4700a9b3bd010b7c82a1 WHIRLPOOL 00de376ca584eae1a5bc6b8199bfd8d285498a0bbbe3109c08ef657a7ff6d0723dc07705404b04c788d67515068c8984f232809f83006c6fc585469bbf6f405b
+MISC metadata.xml 469 SHA256 5a1d4fc3c177a24514888b1eeed6d37f2e7fff186892b8ee082309af6e107deb SHA512 4c8f85cb1afed375e4b2c19e873c2c70ca7c11f139305af70a2b8556230ddd17f52753b1302c8d5547b4922e35c1922fdc001e62b420645f1c36097ebf5e855b WHIRLPOOL 08f8d7e0a7dd436fe108056326ebc31a05e01dae1475b4fa93739dc3ee5e747359e263a24386cc059b3a0a9a5f3ad2b33aa2591c331eafbf69174b2f9fd39caf
diff --git a/x11-misc/qcomicbook/metadata.xml b/x11-misc/qcomicbook/metadata.xml
new file mode 100644
index 000000000000..eccf315497a7
--- /dev/null
+++ b/x11-misc/qcomicbook/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="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">stolowski/QComicBook</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild b/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
new file mode 100644
index 000000000000..5e6676e31c60
--- /dev/null
+++ b/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD=1
+PLOCALES="cs_CZ de_DE es_ES fi_FI fr_CA fr_FR it_IT ko_KR nl_NL pl_PL pt_BR ru_RU uk_UA zh_CN"
+inherit cmake-utils flag-o-matic l10n vcs-snapshot
+
+DESCRIPTION="A viewer for comic book archives containing jpeg/png images"
+HOMEPAGE="http://qcomicbook.org/"
+SRC_URI="https://github.com/stolowski/QComicBook/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="debug"
+
+DEPEND="app-text/poppler[qt5]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_prepare() {
+ rm_loc() {
+ rm "i18n/${PN}_${1}.ts" || die "removing ${1} locale failed"
+ }
+ rm "i18n/${PN}_en_EN.ts" || die 'removing redundant english locale failed'
+ l10n_find_plocales_changes "i18n" "${PN}_" ".ts"
+ l10n_for_each_disabled_locale_do rm_loc
+
+ # fix desktop file
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Icon/s/.png//' \
+ -e '/^Categories/s/Application;//' \
+ "data/${PN}.desktop" || die 'sed on desktop file failed'
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ elog "For using QComicBook with compressed archives you may want to install:"
+ elog " app-arch/p7zip"
+ elog " app-arch/unace"
+ elog " app-arch/unrar or app-arch/rar"
+ elog " app-arch/unzip"
+}