diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-06-18 22:52:20 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-06-18 22:52:30 +1000 |
commit | 8b96f0baaa5b81d7711be035f2d7dda484a8e528 (patch) | |
tree | 94e9c3f70671433d41a6939a80e2875147aeaa68 | |
parent | net-news/quiterss: version bump 0.18.5 (diff) | |
download | gentoo-8b96f0baaa5b81d7711be035f2d7dda484a8e528.tar.gz gentoo-8b96f0baaa5b81d7711be035f2d7dda484a8e528.tar.bz2 gentoo-8b96f0baaa5b81d7711be035f2d7dda484a8e528.zip |
net-news/quiterss: sync live ebuild with release
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r-- | net-news/quiterss/quiterss-9999.ebuild | 33 |
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 } |