You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.1 KiB
61 lines
1.1 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
4 years ago
|
inherit cmake
|
||
6 years ago
|
|
||
|
DESCRIPTION="Qt blogging client"
|
||
|
HOMEPAGE="http://qtm.blogistan.co.uk"
|
||
4 years ago
|
# FIXME find suitable SRC_URI
|
||
|
SRC_URI="https://bitbucket-archive.softwareheritage.org/static/3c/3c8ca320-701e-47dc-b0ec-28870df5715b/attachments/${P}.tar.bz2"
|
||
6 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="amd64 x86"
|
||
6 years ago
|
IUSE="dbus debug"
|
||
|
RESTRICT="strip"
|
||
|
|
||
4 years ago
|
RDEPEND="
|
||
|
dev-lang/perl
|
||
6 years ago
|
dev-qt/qtcore:5
|
||
|
dev-qt/qtgui:5
|
||
|
dev-qt/qtnetwork:5
|
||
|
dev-qt/qtwidgets:5
|
||
|
dev-qt/qtxml:5
|
||
|
virtual/perl-Digest-MD5
|
||
|
dbus? ( dev-qt/qtdbus:5 )"
|
||
|
DEPEND="${RDEPEND}
|
||
|
x11-base/xorg-proto
|
||
4 years ago
|
"
|
||
|
BDEPEND="
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
6 years ago
|
|
||
|
DOCS=( Changelog README )
|
||
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${P}-qt-5.11.patch" # TODO: upstream
|
||
|
"${FILESDIR}/${P}-nomancompress.patch" # bug 740784
|
||
|
)
|
||
6 years ago
|
|
||
|
src_prepare() {
|
||
4 years ago
|
cmake_src_prepare
|
||
6 years ago
|
|
||
4 years ago
|
# bug 463810
|
||
|
sed -i -e '/Categories/s/Application;//' qtm-desktop.sh || die
|
||
6 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DQt5=ON
|
||
|
-DDONT_USE_PTE=OFF
|
||
|
-DINSTALL_MARKDOWN=ON
|
||
|
-DNO_SSL=OFF
|
||
|
-DUSE_DBUS=$(usex dbus)
|
||
|
-DDONT_USE_DBUS=$(usex !dbus)
|
||
|
-DQDEBUG=$(usex debug)
|
||
|
)
|
||
4 years ago
|
cmake_src_configure
|
||
6 years ago
|
}
|