]> Pileus Git - ~andy/sunrise/commitdiff
net-im/qutim: New Ebuild for bug 227627. Thanks to Tommy[D] and to scarabeus for...
authorVladimir (Civil) <civil.over@gmail.com>
Thu, 25 Sep 2008 18:36:33 +0000 (18:36 +0000)
committerVladimir (Civil) <civil.over@gmail.com>
Thu, 25 Sep 2008 18:36:33 +0000 (18:36 +0000)
svn path=/sunrise/; revision=7150

net-im/qutim/ChangeLog [new file with mode: 0644]
net-im/qutim/Manifest [new file with mode: 0644]
net-im/qutim/metadata.xml [new file with mode: 0644]
net-im/qutim/qutim-0.1.1.ebuild [new file with mode: 0644]

diff --git a/net-im/qutim/ChangeLog b/net-im/qutim/ChangeLog
new file mode 100644 (file)
index 0000000..c550f15
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for net-im/qutim
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  25 Sep 2008; Vladimir (Civil) civil.over@gmail.com +qutim-0.1.1.ebuild,
+  +metadata.xml:
+  New Ebuild for bug 227627. Thanks to Tommy[D] and to scarabeus for help.
+
diff --git a/net-im/qutim/Manifest b/net-im/qutim/Manifest
new file mode 100644 (file)
index 0000000..4355569
--- /dev/null
@@ -0,0 +1,4 @@
+DIST qutim_0.1.1.tar.gz 805600 RMD160 b5ee924d65a791e5af09389994cbed1e74b1a977 SHA1 984612e36854e2238115d1b4e205b6499d0f134d SHA256 db62de671d9d6d5462dc2330ba9039cc1db74169eeefad8a2d3bc5609967df3c
+EBUILD qutim-0.1.1.ebuild 967 RMD160 ffbc6dbe12f61074c49dbb0b8afed8552a7a942c SHA1 a7f37ee531198eea39a181db967fa0a2d4ff5ab6 SHA256 2c56495f251c9e75302f7db1cfebe226e3844b8cdfb1a67998814f2b00e2a57a
+MISC ChangeLog 280 RMD160 dae51aa51bc4371c0ee0d2f2aaba144e1a64ea8f SHA1 a2d9b2154bc620c730c2ad1d3c238e6e14023633 SHA256 80274a386ce6a6660dda2a989ef327fec7e5f9d546c5620830dd5b0e3339b808
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-im/qutim/metadata.xml b/net-im/qutim/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/net-im/qutim/qutim-0.1.1.ebuild b/net-im/qutim/qutim-0.1.1.ebuild
new file mode 100644 (file)
index 0000000..85e51c9
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+inherit eutils qt4 flag-o-matic
+MY_PN="${PN/im/IM}"
+
+DESCRIPTION="New Qt4-based Instant Messenger (ICQ)."
+HOMEPAGE="http://www.qutim.org"
+LICENSE="GPL-2"
+SRC_URI="http://www.qutim.org/download/${P/-/_}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* )"
+QT4_BUILT_WITH_USE_CHECK="png gif"
+
+S="${WORKDIR}/${P/-/_}"
+
+src_compile() {
+       if use debug; then
+               replace-flags -O* -O0
+               append-flags -g -ggdb
+       fi
+
+       eqmake4 ${MY_PN}.pro
+       emake || die "emake failed"
+}
+
+src_install(){
+       newbin build/bin/${MY_PN} ${PN} || die "Installation failed"
+
+       # Creating Desktop Entry. Thanks to hajit from qutim-forum for it.
+       doicon icons/${PN}_64.png || die "Failed to install icon"
+       make_desktop_entry ${PN} ${MY_PN} ${PN}_64.png "Network;InstantMessaging;Qt" || die "Failed to create a shourtcut"
+}