summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news')
-rw-r--r--net-news/quiterss/quiterss-9999.ebuild33
1 files changed, 8 insertions, 25 deletions
diff --git a/net-news/quiterss/quiterss-9999.ebuild b/net-news/quiterss/quiterss-9999.ebuild
index 9f9841e363ab..da7045485e26 100644
--- a/net-news/quiterss/quiterss-9999.ebuild
+++ b/net-news/quiterss/quiterss-9999.ebuild
@@ -2,9 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PLOCALES="ar bg cs de el_GR es fa fi fr gl he hi hu it ja ko lt nl pl pt_BR pt_PT ro_RO ru sk sr sv tg_TJ th_TH tr uk vi zh_CN zh_TW"
-inherit fdo-mime gnome2-utils l10n qmake-utils
+inherit gnome2-utils qmake-utils xdg-utils
DESCRIPTION="A Qt-based RSS/Atom feed reader"
HOMEPAGE="https://quiterss.org"
@@ -28,7 +27,7 @@ RDEPEND="
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtprintsupport:5
- dev-qt/qtsingleapplication[X,qt5]
+ dev-qt/qtsingleapplication[X,qt5(-)]
dev-qt/qtsql:5[sqlite]
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
@@ -40,24 +39,12 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS CHANGELOG README.md )
-src_prepare() {
- default
-
- my_rm_loc() {
- sed -i -e "s:lang/${PN}_${1}.ts::" lang/lang.pri || die
- }
-
- # dedicated english locale file is not installed at all
- rm "lang/${PN}_en.ts" || die
-
- l10n_find_plocales_changes lang ${PN}_ .ts
- l10n_for_each_disabled_locale_do my_rm_loc
-}
-
src_configure() {
- eqmake5 \
- PREFIX="${EPREFIX}/usr" \
+ local myqmakeargs=(
+ PREFIX="${EPREFIX%/}/usr"
SYSTEMQTSA=1
+ )
+ eqmake5 "${myqmakeargs[@]}"
}
src_install() {
@@ -65,16 +52,12 @@ src_install() {
einstalldocs
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
- fdo-mime_desktop_database_update
gnome2_icon_cache_update
+ xdg_desktop_database_update
}
pkg_postrm() {
- fdo-mime_desktop_database_update
gnome2_icon_cache_update
+ xdg_desktop_database_update
}