summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-07 21:13:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-07 21:18:56 +0100
commit7202f433d3ad4bebb6005cf76c91508cdb260255 (patch)
treefdd7cc6b3870a61d32ec4ecc9e879f5f2939357e
parentnet-misc/dhcpcd-ui: Drop IUSE=gtk2 (diff)
downloadgentoo-7202f433d3ad4bebb6005cf76c91508cdb260255.tar.gz
gentoo-7202f433d3ad4bebb6005cf76c91508cdb260255.tar.bz2
gentoo-7202f433d3ad4bebb6005cf76c91508cdb260255.zip
app-editors/bluefish: Drop IUSE=gtk3
Closes: https://bugs.gentoo.org/769020 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--app-editors/bluefish/bluefish-2.2.12.ebuild25
-rw-r--r--app-editors/bluefish/metadata.xml9
2 files changed, 11 insertions, 23 deletions
diff --git a/app-editors/bluefish/bluefish-2.2.12.ebuild b/app-editors/bluefish/bluefish-2.2.12.ebuild
index 5e8846165865..625cc993be5c 100644
--- a/app-editors/bluefish/bluefish-2.2.12.ebuild
+++ b/app-editors/bluefish/bluefish-2.2.12.ebuild
@@ -5,9 +5,8 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
-inherit autotools python-single-r1 xdg
-
MY_P=${P/_/-}
+inherit autotools python-single-r1 xdg
DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer"
HOMEPAGE="http://bluefish.openoffice.nl/"
@@ -16,16 +15,13 @@ SRC_URI="https://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
SLOT="0"
-IUSE="+gtk3 gucharmap nls python spell"
+IUSE="gucharmap nls python spell"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
sys-libs/zlib
- !gtk3? ( x11-libs/gtk+:2 )
- gtk3? (
- x11-libs/gtk+:3
- gucharmap? ( gnome-extra/gucharmap:2.90 )
- )
+ x11-libs/gtk+:3
+ gucharmap? ( gnome-extra/gucharmap:2.90 )
python? ( ${PYTHON_DEPS} )
spell? ( >=app-text/enchant-1.4:0 )"
DEPEND="${RDEPEND}
@@ -44,17 +40,10 @@ S="${WORKDIR}/${MY_P}"
RESTRICT="test"
pkg_setup() {
- if ! use gtk3 && use gucharmap ; then
- ewarn "gucharmap USE flag requires the gtk3 USE flag being enabled."
- ewarn "Disabling charmap plugin."
- fi
-
use python && python-single-r1_pkg_setup
}
-PATCHES=(
- "${FILESDIR}/${PN}-2.2.9-charmap_configure.patch"
-)
+PATCHES=( "${FILESDIR}/${PN}-2.2.9-charmap_configure.patch" )
# eautoreconf seems to no longer kill translation files.
src_prepare() {
@@ -68,8 +57,8 @@ src_configure() {
--disable-update-databases \
--disable-xml-catalog-update \
--with-freedesktop_org-appdata="${EPREFIX}"/usr/share/metainfo \
- $(use_with !gtk3 gtk2) \
- $(usex gtk3 "$(use_with gucharmap charmap)" '--without-charmap') \
+ --without-gtk2 \
+ $(use_with gucharmap charmap) \
$(use_enable nls) \
$(use_enable spell spell-check) \
$(use_enable python)
diff --git a/app-editors/bluefish/metadata.xml b/app-editors/bluefish/metadata.xml
index 52c7b2542143..56419257845e 100644
--- a/app-editors/bluefish/metadata.xml
+++ b/app-editors/bluefish/metadata.xml
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <!-- maintainer-needed -->
<use>
- <flag name="gtk3">Enable GTK3 interface (default)</flag>
- <flag name="gucharmap">Enable gucharmap dictionary plugin</flag>
- <flag name="spell">Enable spell checking capabilities via enchant library</flag>
-</use>
+ <flag name="gucharmap">Enable gucharmap dictionary plugin</flag>
+ <flag name="spell">Enable spell checking capabilities via enchant library</flag>
+ </use>
</pkgmetadata>