public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/sushi/
Date: Sat, 27 Oct 2012 21:59:49 +0000 (UTC)	[thread overview]
Message-ID: <1351375158.783e7752d80129af48c2c2a85640d98889e3a74a.eva@gentoo> (raw)

commit:     783e7752d80129af48c2c2a85640d98889e3a74a
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 21:59:18 2012 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 21:59:18 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=783e7752

gnome-extra/sushi: 0.4.1 → 3.6.0

This ebuild depends on not yet commited slots. This is done on purpose.

---
 .../{sushi-9999.ebuild => sushi-3.6.0.ebuild}      |   41 +++++++++++---------
 gnome-extra/sushi/sushi-9999.ebuild                |   27 +++++++++----
 2 files changed, 41 insertions(+), 27 deletions(-)

diff --git a/gnome-extra/sushi/sushi-9999.ebuild b/gnome-extra/sushi/sushi-3.6.0.ebuild
similarity index 69%
copy from gnome-extra/sushi/sushi-9999.ebuild
copy to gnome-extra/sushi/sushi-3.6.0.ebuild
index 370d8e2..cbb03b2 100644
--- a/gnome-extra/sushi/sushi-9999.ebuild
+++ b/gnome-extra/sushi/sushi-3.6.0.ebuild
@@ -6,23 +6,18 @@ EAPI="4"
 GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes"
 
-inherit gnome2
-if [[ ${PV} = 9999 ]]; then
-	inherit gnome2-live
-fi
+inherit autotools eutils gnome2
 
 DESCRIPTION="A quick previewer for Nautilus, the GNOME file manager"
 HOMEPAGE="http://git.gnome.org/browse/sushi"
 
 LICENSE="GPL-3"
 SLOT="0"
-if [[ ${PV} = 9999 ]]; then
-	KEYWORDS=""
-else
-	KEYWORDS="~amd64 ~x86"
-fi
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+IUSE="office"
 
+# Optional app-office/unoconv support (OOo to pdf)
+# freetype needed for font loader
 # libX11 needed for sushi_create_foreign_window()
 COMMON_DEPEND=">=x11-libs/gdk-pixbuf-2.22.1[introspection]
 	>=dev-libs/gjs-0.7.7
@@ -34,28 +29,38 @@ COMMON_DEPEND=">=x11-libs/gdk-pixbuf-2.22.1[introspection]
 
 	>=app-text/evince-3.0[introspection]
 	media-libs/freetype:2
-	media-libs/gstreamer:0.10[introspection]
-	media-libs/gst-plugins-base:0.10[introspection]
+	media-libs/gstreamer:1.0[introspection]
+	media-libs/gst-plugins-base:1.0[introspection]
 	media-libs/clutter-gst:2.0[introspection]
 	media-libs/musicbrainz:5
 	net-libs/webkit-gtk:3[introspection]
 	x11-libs/gtksourceview:3.0[introspection]
 	x11-libs/libX11
 
-	office? ( app-office/unoconv )"
+	office? ( app-office/unoconv )
+"
 DEPEND="${RDEPEND}
 	>=dev-util/intltool-0.40
 	>=sys-devel/gettext-0.17
-	virtual/pkgconfig"
+	virtual/pkgconfig
+"
 RDEPEND="${COMMON_DEPEND}
 	>=gnome-base/nautilus-3.1.90
-	x11-themes/gnome-icon-theme-symbolic"
+	x11-themes/gnome-icon-theme-symbolic
+"
 
-pkg_setup() {
+src_prepare() {
 	G2CONF="${G2CONF}
 		UNOCONV=$(type -P false)
 		--disable-schemas-compile
 		--disable-static"
+	if use office; then
+		G2CONF="${G2CONF} UNOCONV=$(type -P unoconv)"
+	fi
+
 	DOCS="AUTHORS NEWS README TODO"
-	use office && G2CONF+=" UNOCONV=$(type -P unoconv)"
-}
+
+	epatch "${FILESDIR}"/${P}-gold.patch
+	eautoreconf
+	gnome2_src_prepare
+}
\ No newline at end of file

diff --git a/gnome-extra/sushi/sushi-9999.ebuild b/gnome-extra/sushi/sushi-9999.ebuild
index 370d8e2..dbd4ccc 100644
--- a/gnome-extra/sushi/sushi-9999.ebuild
+++ b/gnome-extra/sushi/sushi-9999.ebuild
@@ -21,8 +21,10 @@ if [[ ${PV} = 9999 ]]; then
 else
 	KEYWORDS="~amd64 ~x86"
 fi
-IUSE=""
+IUSE="office"
 
+# Optional app-office/unoconv support (OOo to pdf)
+# freetype needed for font loader
 # libX11 needed for sushi_create_foreign_window()
 COMMON_DEPEND=">=x11-libs/gdk-pixbuf-2.22.1[introspection]
 	>=dev-libs/gjs-0.7.7
@@ -34,28 +36,35 @@ COMMON_DEPEND=">=x11-libs/gdk-pixbuf-2.22.1[introspection]
 
 	>=app-text/evince-3.0[introspection]
 	media-libs/freetype:2
-	media-libs/gstreamer:0.10[introspection]
-	media-libs/gst-plugins-base:0.10[introspection]
+	media-libs/gstreamer:1.0[introspection]
+	media-libs/gst-plugins-base:1.0[introspection]
 	media-libs/clutter-gst:2.0[introspection]
 	media-libs/musicbrainz:5
 	net-libs/webkit-gtk:3[introspection]
 	x11-libs/gtksourceview:3.0[introspection]
 	x11-libs/libX11
 
-	office? ( app-office/unoconv )"
+	office? ( app-office/unoconv )
+"
 DEPEND="${RDEPEND}
 	>=dev-util/intltool-0.40
 	>=sys-devel/gettext-0.17
-	virtual/pkgconfig"
+	virtual/pkgconfig
+"
 RDEPEND="${COMMON_DEPEND}
 	>=gnome-base/nautilus-3.1.90
-	x11-themes/gnome-icon-theme-symbolic"
+	x11-themes/gnome-icon-theme-symbolic
+"
 
-pkg_setup() {
+src_prepare() {
 	G2CONF="${G2CONF}
 		UNOCONV=$(type -P false)
 		--disable-schemas-compile
 		--disable-static"
+	if use office; then
+		G2CONF="${G2CONF} UNOCONV=$(type -P unoconv)"
+	fi
+
 	DOCS="AUTHORS NEWS README TODO"
-	use office && G2CONF+=" UNOCONV=$(type -P unoconv)"
-}
+	gnome2_src_prepare
+}
\ No newline at end of file


             reply	other threads:[~2012-10-27 21:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-27 21:59 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-14 12:17 [gentoo-commits] proj/gnome:master commit in: gnome-extra/sushi/ Gilles Dartiguelongue
2015-05-14 13:39 Gilles Dartiguelongue
2014-10-27  0:04 Gilles Dartiguelongue
2014-04-23 22:14 Gilles Dartiguelongue
2014-04-21 14:40 Gilles Dartiguelongue
2013-11-16 11:35 Gilles Dartiguelongue
2012-12-24 16:16 Gilles Dartiguelongue
2012-11-21 22:36 Gilles Dartiguelongue
2012-11-01 22:48 Gilles Dartiguelongue
2012-09-05 15:49 Nirbheek Chauhan
2012-04-12 10:17 Priit Laes
2012-04-02  6:43 Alexandre Restovtsev
2011-11-03  1:53 Alexandre Restovtsev
2011-10-18  7:37 Alexandre Restovtsev
2011-08-15 16:31 Nirbheek Chauhan
2011-05-02  9:15 Nirbheek Chauhan
2011-05-01 13:13 Nirbheek Chauhan
2011-04-30 19:37 Gilles Dartiguelongue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351375158.783e7752d80129af48c2c2a85640d98889e3a74a.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox