summaryrefslogtreecommitdiff
path: root/dev-db/pgadmin3
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgadmin3')
-rw-r--r--dev-db/pgadmin3/Manifest2
-rw-r--r--dev-db/pgadmin3/pgadmin3-1.22.0_rc1.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-db/pgadmin3/Manifest b/dev-db/pgadmin3/Manifest
index 89f78d9..d44a3c2 100644
--- a/dev-db/pgadmin3/Manifest
+++ b/dev-db/pgadmin3/Manifest
@@ -1,3 +1,5 @@
AUX pgadmin3-desktop.patch 533 SHA256 c0da2c8e45b5407f8c7421e92edf2f6d2902d69bc76aa1cce9e872d9a58f0819 SHA512 f36c3b3ce8dd384b32bf096de4ea95b3a7d63f82514512615f8e7cc3a0ac3f892390114ba65b66ebb69db1cce5415afd517941622cf2a6939a58d7792b362557 WHIRLPOOL b44a66c67f4037ae8aef7f47ec62ce40a30f2386fcc6dab8ef0eeef17b2b26e97e0988677b9b6c56cdec820112fb440413adfcfcf3ff0c092da1e84920dfd88a
DIST pgadmin3-1.22.0-beta1.tar.gz 14518519 SHA256 d5f04d8407215faedec7f67ff98d3b3a04c8530f9383a2cb3cb2e44b5ba88506 SHA512 3cc67ab89847de48456c9b2872061d65d36aa36a715ee393d6fd1f47101a2ebb3f6cc23bc8d0a304aa575aaa8a0e3923e5b13da80687abfdffe00c918440f427 WHIRLPOOL 68e9fd791a174b6a234e735c09a55d5195e3f955c31d76f2fd871ddfaa24cec2cb53837e300043d88a287c8357c47ea60b90bc61e5386f6912031bf973f4ad26
+DIST pgadmin3-1.22.0-rc1.tar.gz 14558754 SHA256 98e833bde2088a66ddb69135c1b75ffa20962e0eb2cd84aa58c01867bfce5707 SHA512 b72caf5c1b85fff8f4e69344d4818e06166b576fa4a7e65169de5b97a0e9b87b500dd5e8da979e2f3a90f3caed04d83d6b4b77d1dbee83fbc3943f3c6a8d7dc1 WHIRLPOOL 78c7ee77e676c66f9e042322069c981c083d3d9baad0ac61323a6d59ab2641264815b8a1005082f8e372e33764b688e3e9cbc19d5dd6fc5a238164dc302f59fe
EBUILD pgadmin3-1.22.0_beta1.ebuild 1391 SHA256 ecee841032d56625a08df71848cbe3da2432063ae77bebdfda0f6c083c28b18a SHA512 2ec12be20f9091f5b6c4c70db3787fa7a21d8fa4fe3a75674d7de73fbe981fefdc78a6f856af0cd87039b81d6eea20af26667da7d91eeb9b87fb25dc17afcd0b WHIRLPOOL 549e41573213a4154b0b5e61c1c88c283cf6756c9a81f70d00b1f07a9100139da84e78c1d135764761c4c26dda88a5a0cb4cbebfc2ea27458df162b605792e48
+EBUILD pgadmin3-1.22.0_rc1.ebuild 1391 SHA256 ecee841032d56625a08df71848cbe3da2432063ae77bebdfda0f6c083c28b18a SHA512 2ec12be20f9091f5b6c4c70db3787fa7a21d8fa4fe3a75674d7de73fbe981fefdc78a6f856af0cd87039b81d6eea20af26667da7d91eeb9b87fb25dc17afcd0b WHIRLPOOL 549e41573213a4154b0b5e61c1c88c283cf6756c9a81f70d00b1f07a9100139da84e78c1d135764761c4c26dda88a5a0cb4cbebfc2ea27458df162b605792e48
diff --git a/dev-db/pgadmin3/pgadmin3-1.22.0_rc1.ebuild b/dev-db/pgadmin3/pgadmin3-1.22.0_rc1.ebuild
new file mode 100644
index 0000000..85256c4
--- /dev/null
+++ b/dev-db/pgadmin3/pgadmin3-1.22.0_rc1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib versionator wxwidgets
+
+DESCRIPTION="wxWidgets GUI for PostgreSQL"
+HOMEPAGE="http://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/${PN}/release/v${PV/_/-}/src/${P/_/-}.tar.gz"
+
+LICENSE="POSTGRESQL"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="debug +databasedesigner"
+
+DEPEND="x11-libs/wxGTK:=[X,debug=]
+ >=dev-db/postgresql-8.4.0:=
+ >=dev-libs/libxml2-2.6.18
+ >=dev-libs/libxslt-1.1"
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${P/_/-}
+
+pkg_setup() {
+ local pgslot=$(postgresql-config show)
+
+ if [[ ${pgslot//.} < 84 ]] ; then
+ eerror "PostgreSQL slot must be set to 8.4 or higher."
+ eerror " postgresql-config set 8.4"
+ die "PostgreSQL slot is not set to 8.4 or higher."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/pgadmin3-desktop.patch"
+
+ epatch_user
+}
+
+src_configure() {
+ WX_GTK_PV=$(best_version x11-libs/wxGTK[X,debug=])
+ WX_GTK_VER=$(get_version_component_range 1-2 ${WX_GTK_PV#x11-libs/wxGTK-})
+
+ need-wxwidgets unicode
+
+ econf --with-wx-version=${WX_GTK_VER} \
+ $(use_enable debug) \
+ $(use_enable databasedesigner)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
+
+ domenu "${S}/pkg/pgadmin3.desktop"
+
+ # Fixing world-writable files
+ fperms -R go-w /usr/share
+}