Permalink
Browse files

x11-misc/appmenu-gtk, dev-libs/libdbusmenu: 12.10.2: version bump

  • Loading branch information...
1 parent 3991f1d commit a7087855818e5ccae81a759342d4039d34457f78 @megabaks megabaks committed Oct 4, 2012
@@ -2,3 +2,4 @@ DIST libdbusmenu-0.5.1.tar.gz 701014 SHA256 932d26fe29634ea465f2fb861b80ecafeaf0
DIST libdbusmenu-0.6.1.tar.gz 646847 SHA256 5c5c62f470402a25cc72cfc4064b44ed33d0df669a84ac682fe56ad7588b59e4 SHA512 f3f88ed3e64fae434abfa1a9cf236946bec9fc387d9e77a2da0ca539bec869a350b21c35c9ff283dcccfe80a733691fc5c700d86b524147d9ae8730f8249666c WHIRLPOOL 1685c8923a783c0663cb9bc0b77f58f9a110e5ff59a398b0333ae2253709cd413707303c2e7d141b041154a4b34d8e91c0742f25786b0b921b5b880eb01f182e
DIST libdbusmenu-0.6.2.tar.gz 730624 SHA256 c2077069ae36c207f0c86cb52a0066691d155e45629d1361eee14fc7a2552649 SHA512 575276fc7e1288ab276c106627791bd472349f6c49dc86ff7bbfa0c8ed11118cc622c181299f9df4f6031b12961b9bea8c79126a3bc6a8d208811784f40d2e31 WHIRLPOOL 6cb3ce67a41cfb8e5fd57b8f73412ad292f1bed612fcd04852565b9238bb74be16af820aade28d2705a57091b9f1610cc63b1a457f5afaf89e62b76f3b8fff9a
DIST libdbusmenu-12.10.1.tar.gz 735025 SHA256 2b67a7050c69b43554b39183695a7c5c24d49bf7f086b51000f8e88d42c2dfea SHA512 f032ca694021fb8fda01666c345a11ae77837e8eafde0207d7095c8fe795a896eac3fd955561b0166250007a4850c86cc17b48125a15cc124db542266a7f6f56 WHIRLPOOL afca7cecd92dbadc5e69fc52cc347bedffb08235d3195158fab7090685ae150d8960f6474fd4df219c5255f4bce1dd6388daab73f36849dfff7e710fa5dde5d8
+DIST libdbusmenu-12.10.2.tar.gz 735730 SHA256 9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9 SHA512 cf2e50dc3adbf35d0a4ccdd62a3efd9fae2d079b8d06e6522b70f077f89ac2cf72188e380f476e38d184b69549e90b801bf1e32174fa94bbe612dd52aec94496 WHIRLPOOL 3e75fd0bcbadcff8f4e4cd3a2be33a3aa7cf715413b1a67c5430b9420a965d64db2d988fa5c21fc42c6458ad4ed479c400b28b8a94074cb7223ab0a03ad985eb
@@ -0,0 +1,107 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.5.1-r300.ebuild,v 1.3 2011/11/28 22:37:34 zmedico Exp $
+
+EAPI=4
+
+PN_vala_version=0.14
+MY_PN="dbusmenu"
+inherit virtualx multilib versionator
+
+DESCRIPTION="Library to pass menu structure across DBus"
+HOMEPAGE="https://launchpad.net/dbusmenu"
+SRC_URI="http://launchpad.net/${MY_PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 LGPL-3"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk gtk3 +introspection test vala"
+
+RDEPEND=">=dev-libs/glib-2.31.16
+ dev-libs/dbus-glib
+ dev-libs/libxml2
+ gtk? ( x11-libs/gtk+:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
+ !<${CATEGORY}/${PN}-0.5.1-r200"
+DEPEND="${RDEPEND}
+ test? (
+ dev-libs/json-glib[introspection?]
+ dev-util/dbus-test-runner
+ )
+ vala? ( dev-lang/vala:${PN_vala_version}[vapigen] )
+ app-text/gnome-doc-utils
+ dev-util/intltool
+ virtual/pkgconfig"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #391103
+ sed -i \
+ -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ {libdbusmenu-{glib,gtk},tests}/Makefile.{am,in} configure{,.ac} || die
+}
+
+src_configure() {
+ export VALA_API_GEN="$(type -P vapigen-${PN_vala_version})"
+ export HAVE_VALGRIND_FALSE="yes"
+ if use gtk;then
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-static \
+ $(use_enable gtk) \
+ --disable-dumper \
+ $(use_enable introspection) \
+ $(use_enable test tests) \
+ $(use_enable vala vala) \
+ --with-html-dir=/usr/share/doc/${PF} \
+ --with-gtk=2
+ fi
+
+ if use gtk3;then
+ mkdir gtk3-hack
+ cp -R * gtk3-hack &>/dev/null
+ cd gtk3-hack
+ econf \
+ --with-gtk=3 \
+ --disable-static \
+ --disable-dumper \
+ $(use_enable gtk) \
+ $(use_enable introspection) \
+ $(use_enable test tests) \
+ $(use_enable vala vala) \
+ --prefix=/usr/local \
+ --mandir=/usr/local/share \
+ --infodir=/usr/local/share \
+ --datadir=/usr/local/share \
+ --includedir=/usr/local/include
+ fi
+}
+
+src_test() {
+ Xemake check
+}
+
+src_compile(){
+ emake
+ if use gtk3;then
+ cd gtk3-hack
+ emake
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ if use gtk3;then
+ cd gtk3-hack
+ emake DESTDIR="${D}" install
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig/
+ doins libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc
+ find "${ED}" -name '*.la' -exec rm -f {} +
+ fi
+}
@@ -3,3 +3,4 @@ DIST appmenu-gtk-0.3.0.tar.gz 325393 SHA256 c9929222a43d9d4916d0f3ba13f9c6b39d16
DIST appmenu-gtk-0.3.92.tar.gz 323924 SHA256 12261e43abfb50d494bfd2c8a49acdfb5df3565ae9c0afe0f37fd56ceecc3fe2 SHA512 e685d0d3ed0a5a1eff8c0f6dbb760c09e9fa72361d993da6eb46a86641a2cd8293cb4ba27cdf5d79cb87ece645bbe1f37eaf975ada46b5c36ed8a602bfa792ee WHIRLPOOL 8cd9aeb2c48303ab300cd538b226000f57a862c5d3e6cc81df50ae9944c49a7a54690775ef3afbbbc47409d35ffecbf41d37d2f62a95365594d1afd6d9182bd1
DIST appmenu-gtk-12.10.0.tar.gz 324579 SHA256 c4f0b7a0de1d6155b88ac8a50903a0112046aa8f26c5b03267f7ff6d0779f74e SHA512 54fd59399baf1c7c619d90d7dd9d55631150ebd7c4626d20a15003448a27994e62bdbf248366666b37d3faea201fccd4de30289e2e4da16597e2addc377433a2 WHIRLPOOL b04a762ed77489b91c6d12c47dc1bc40b8213b2b52fa5cfbdfdd727cea91eb1d992a5381fd2859328c6184c5d44ea673cc2a7b7081dd1cb487b00ef7aa218840
DIST appmenu-gtk-12.10.1.tar.gz 325322 SHA256 ce3de086bd206691779658877d12317b2728c7d1de18ccf558e25467111884e4 SHA512 7edd273d5e8513264d75adab7fe13bad482527abc360b51cab26e737beb0c930b2917c26459d993a7c92c9b1c2601b363554422fab7467880f8bab95e258efdd WHIRLPOOL d9109dc4c72be9158070c565b187a86a798f77a88d234b3c5af7db3676c4cf09e4cb080c27c8bc6923163eacc715ff48f96a722c731ac354a64282975de39b87
+DIST appmenu-gtk-12.10.2.tar.gz 325199 SHA256 eea3355a028f12bf442e483a7d7579910f1cd8e56be5646c9a6ddc639c5ae909 SHA512 5c3e3b82c9d18de5fa2013dad5cb1240e547a7f97295b01ce08b9f03ebaa5e165ed326271ceed7d7014dd0f5c7960e6633090bddf5d18bdf8306157acf39ccdd WHIRLPOOL fc42744ad30d624489b8ec3360c062d9270aabd9b09b6c79f557514641dd417490089e3d9bcafa52cc5252105269110942d6002f4714e60824749338b97c3ff5
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils multilib versionator
+
+DESCRIPTION="Application menu module for GTK"
+HOMEPAGE="https://launchpad.net/appmenu-gtk"
+SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="-alpha ~amd64 -ppc64 -sparc ~x86"
+IUSE="+gtk2 gtk3"
+
+CDEPEND=""
+DEPEND="gtk3? ( >=dev-libs/libdbusmenu-0.6.1[gtk3]
+ x11-libs/gtk+:3[appmenu] )
+ gtk2? ( >=dev-libs/libdbusmenu-0.6.1[gtk]
+ x11-libs/gtk+:2[appmenu] )"
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+ epatch "${FILESDIR}/fix.patch"
+}
+
+src_configure(){
+ if use gtk2;then
+ econf --with-gtk2
+ fi
+
+ if use gtk3;then
+ mkdir gtk3-hack
+ cp -R * gtk3-hack
+ cd gtk3-hack
+ econf
+ fi
+}
+
+src_compile(){
+ if use gtk2;then
+ emake
+ fi
+
+ if use gtk3;then
+ cd gtk3-hack
+ emake
+ fi
+}
+
+src_install(){
+ if use gtk2;then
+ insinto /usr/$(get_libdir)/gtk-2.0/2.10.0/menuproxies/
+ doins src/.libs/libappmenu.so
+ fi
+
+ if use gtk3;then
+ insinto /usr/$(get_libdir)/gtk-3.0/3.0.0/menuproxies
+ doins gtk3-hack/src/.libs/libappmenu.so
+ fi
+ mv 80appmenu appmenu.sh
+ insinto /etc/profile.d/
+ doins appmenu.sh
+}

0 comments on commit a708785

Please sign in to comment.