public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: net-misc/birdie/, net-misc/birdie/files/
Date: Sat,  6 Jul 2013 14:16:18 +0000 (UTC)	[thread overview]
Message-ID: <1373120160.516a17aafbd7fe8a8267f70d6e743da5a1805c86.xmw@gentoo> (raw)

commit:     516a17aafbd7fe8a8267f70d6e743da5a1805c86
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  6 14:16:00 2013 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 14:16:00 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=516a17aa

Initial import.

Package-Manager: portage-2.2.0_alpha186
Manifest-Sign-Key: 62EEF090

---
 net-misc/birdie/ChangeLog                          |  7 +++
 net-misc/birdie/birdie-9999.ebuild                 | 65 ++++++++++++++++++++++
 .../birdie-9999-no-desktop-database-update.patch   |  9 +++
 .../files/birdie-9999-no-icon-cache-update.patch   | 13 +++++
 net-misc/birdie/files/birdie-9999-schemas.patch    |  7 +++
 net-misc/birdie/metadata.xml                       |  9 +++
 6 files changed, 110 insertions(+)

diff --git a/net-misc/birdie/ChangeLog b/net-misc/birdie/ChangeLog
new file mode 100644
index 0000000..49d53e3
--- /dev/null
+++ b/net-misc/birdie/ChangeLog
@@ -0,0 +1,7 @@
+*birdie-9999 (06 Jul 2013)
+
+  06 Jul 2013; Michael Weber <xmw@gentoo.org> +birdie-9999.ebuild,
+  +files/birdie-9999-no-desktop-database-update.patch,
+  +files/birdie-9999-no-icon-cache-update.patch,
+  +files/birdie-9999-schemas.patch, +metadata.xml:
+  Initial import.

diff --git a/net-misc/birdie/birdie-9999.ebuild b/net-misc/birdie/birdie-9999.ebuild
new file mode 100644
index 0000000..a8df3cc
--- /dev/null
+++ b/net-misc/birdie/birdie-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit bzr cmake-utils eutils fdo-mime gnome2-utils toolchain-funcs vala
+
+DESCRIPTION="Twitter client for elementary OS"
+HOMEPAGE="http://www.ivonunes.net/birdie"
+EBZR_REPO_URI="lp:birdie"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="dev-db/sqlite:3
+	dev-libs/glib:2
+	dev-libs/json-glib
+	dev-libs/libgee:0
+	media-libs/libcanberra
+	net-im/pidgin
+	net-libs/rest:0.7
+	net-libs/webkit-gtk:3
+	x11-libs/gtk+:3[introspection]
+	x11-libs/libXtst
+	x11-libs/libnotify
+	x11-libs/libwnck:3"
+DEPEND="${RDEPEND}
+	>=dev-lang/vala-0.16.1
+	dev-libs/libdbusmenu:3[introspection]
+	virtual/pkgconfig"
+
+src_prepare() {
+	vala_src_prepare
+	epatch \
+		"${FILESDIR}/${P}-no-icon-cache-update.patch" \
+		"${FILESDIR}/${P}-no-desktop-database-update.patch" \
+		"${FILESDIR}/${P}-schemas.patch"
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DVALA_EXECUTABLE="${VALAC}"
+		-DGSETTINGS_COMPILE=OFF
+	)
+	cmake-utils_src_configure
+}
+
+pkg_preinst() {
+	gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	gnome2_schemas_update
+	fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	gnome2_schemas_update
+	fdo-mime_desktop_database_update
+}

diff --git a/net-misc/birdie/files/birdie-9999-no-desktop-database-update.patch b/net-misc/birdie/files/birdie-9999-no-desktop-database-update.patch
new file mode 100644
index 0000000..498f885
--- /dev/null
+++ b/net-misc/birdie/files/birdie-9999-no-desktop-database-update.patch
@@ -0,0 +1,9 @@
+--- birdie-9999/data/CMakeLists.txt
++++ birdie-9999/data/CMakeLists.txt
+@@ -1,6 +1,3 @@
+ install(FILES birdie.desktop DESTINATION share/applications)
+ install(FILES birdie DESTINATION share/indicators/messages/applications)
+ INSTALL(FILES default.png DESTINATION share/birdie)
+-install (CODE
+-"execute_process (COMMAND update-desktop-database)"
+-)

diff --git a/net-misc/birdie/files/birdie-9999-no-icon-cache-update.patch b/net-misc/birdie/files/birdie-9999-no-icon-cache-update.patch
new file mode 100644
index 0000000..c535080
--- /dev/null
+++ b/net-misc/birdie/files/birdie-9999-no-icon-cache-update.patch
@@ -0,0 +1,13 @@
+--- birdie-9999/icons/CMakeLists.txt
++++ birdie-9999/icons/CMakeLists.txt
+@@ -24,10 +24,3 @@
+ install(FILES 64x64/apps/birdie.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps)
+ install(FILES 128x128/apps/birdie.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps)
+ install(FILES twitter-verified.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/22x22/emblems)
+-
+-install(
+-    CODE
+-        "execute_process (COMMAND gtk-update-icon-cache -t -f ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor)"
+-    CODE
+-        "message (STATUS \"Updated icon cache in ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor\")"
+-)

diff --git a/net-misc/birdie/files/birdie-9999-schemas.patch b/net-misc/birdie/files/birdie-9999-schemas.patch
new file mode 100644
index 0000000..3798973
--- /dev/null
+++ b/net-misc/birdie/files/birdie-9999-schemas.patch
@@ -0,0 +1,7 @@
+--- birdie-9999/schemas/org.pantheon.birdie.gschema.xml
++++ birdie-9999/schemas/org.pantheon.birdie.gschema.xml
+@@ -1,3 +1,4 @@
++<?xml version="1.0" encoding="UTF-8"?>
+ <schemalist>
+   <schema id="org.pantheon.birdie" path="/org/pantheon/birdie/" gettext-domain="birdie">
+ 

diff --git a/net-misc/birdie/metadata.xml b/net-misc/birdie/metadata.xml
new file mode 100644
index 0000000..59acc2c
--- /dev/null
+++ b/net-misc/birdie/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+


                 reply	other threads:[~2013-07-06 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1373120160.516a17aafbd7fe8a8267f70d6e743da5a1805c86.xmw@gentoo \
    --to=xmw@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