* [gentoo-commits] proj/gnome:master commit in: media-libs/graphene/
@ 2018-06-17 20:04 Sobhan Mohammadpour
0 siblings, 0 replies; 2+ messages in thread
From: Sobhan Mohammadpour @ 2018-06-17 20:04 UTC (permalink / raw
To: gentoo-commits
commit: 174869cebd859d189c7a51ae5fa18f9148ca06da
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 17 20:04:07 2018 +0000
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
CommitDate: Sun Jun 17 20:04:07 2018 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=174869ce
media-libs/graphene: new ebuild
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Manifest-Sign-Key: 0x7DF238CF0AA182E1
media-libs/graphene/graphene-1.6.2.ebuild | 87 +++++++++++++++++++++++++++++++
media-libs/graphene/metadata.xml | 15 ++++++
2 files changed, 102 insertions(+)
diff --git a/media-libs/graphene/graphene-1.6.2.ebuild b/media-libs/graphene/graphene-1.6.2.ebuild
new file mode 100644
index 00000000..273a053d
--- /dev/null
+++ b/media-libs/graphene/graphene-1.6.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome.org gnome2-utils meson multilib-minimal toolchain-funcs
+
+DESCRIPTION="A thin layer of types for graphic libraries"
+HOMEPAGE="https://developer.gnome.org/graphene/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 doc introspection gobject
+ test vector"
+REQUIRED_USE="test? ( introspection )
+ introspection? ( gobject )"
+
+KEYWORDS="~amd64"
+
+RDEPEND="
+ gobject? ( >=dev-libs/glib-2.30:2 )
+ introspection? ( dev-libs/gobject-introspection )
+"
+
+DEPEND="
+ doc? ( dev-util/gtk-doc )
+"
+# FIXME handle gcc-vector and other stuff
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use vector; then
+ tc-is-clang && die "gcc vector is not available for clang right?"
+ use arm && die GCC vector intrinsics are disabled on ARM
+
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 9 ]] ) \
+ && die "GCC vector intrinsics are disabled on GCC prior to 4.9"
+ fi
+
+ if use cpu_flags_x86_sse2;then
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 2 ]] ) \
+ && die "Sorry, but gcc-4.2 and earlier won't work for sse2"
+ fi
+ fi
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ $(meson_use doc enable-gtk-doc)
+ $(meson_use introspection enable-introspection)
+ $(meson_use introspection enable-gobject-types)
+ $(meson_use cpu_flags_arm_neon enable-arm-neon)
+ $(meson_use cpu_flags_x86_sse2 enable-sse2)
+ $(meson_use vector enable-gcc-vector)
+ )
+ meson_src_configure
+}
+
+multilib_src_compile() {
+ meson_src_compile
+}
+
+multilib_src_test() {
+ meson_src_test
+}
+
+multilib_src_install() {
+ meson_src_install
+}
+
+pkg_postinst() {
+ multilib_pkg_postinst() {
+ gnome2_giomodule_cache_update \
+ || die "Update GIO modules cache failed (for ${ABI})"
+ }
+ multilib_foreach_abi multilib_pkg_postinst
+}
+
+pkg_postrm() {
+ multilib_pkg_postrm() {
+ gnome2_giomodule_cache_update \
+ || die "Update GIO modules cache failed (for ${ABI})"
+ }
+ multilib_foreach_abi multilib_pkg_postrm
+}
diff --git a/media-libs/graphene/metadata.xml b/media-libs/graphene/metadata.xml
new file mode 100644
index 00000000..36a8753b
--- /dev/null
+++ b/media-libs/graphene/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+<use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+ <flag name="gobject"> build GObject types type</flag>
+ <flag name="vector"> build gcc vector fast paths</flag>
+
+</use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: media-libs/graphene/
@ 2018-07-30 9:17 Mart Raudsepp
0 siblings, 0 replies; 2+ messages in thread
From: Mart Raudsepp @ 2018-07-30 9:17 UTC (permalink / raw
To: gentoo-commits
commit: 2e14cbac2ae29e1f9e738962bc6a061e570f5ccb
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 30 09:17:00 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Jul 30 09:17:00 2018 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=2e14cbac
media-libs/graphene: Remove, better version in ::gentoo
media-libs/graphene/graphene-1.6.2.ebuild | 87 -------------------------------
media-libs/graphene/metadata.xml | 15 ------
2 files changed, 102 deletions(-)
diff --git a/media-libs/graphene/graphene-1.6.2.ebuild b/media-libs/graphene/graphene-1.6.2.ebuild
deleted file mode 100644
index 273a053d..00000000
--- a/media-libs/graphene/graphene-1.6.2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit gnome.org gnome2-utils meson multilib-minimal toolchain-funcs
-
-DESCRIPTION="A thin layer of types for graphic libraries"
-HOMEPAGE="https://developer.gnome.org/graphene/"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 doc introspection gobject
- test vector"
-REQUIRED_USE="test? ( introspection )
- introspection? ( gobject )"
-
-KEYWORDS="~amd64"
-
-RDEPEND="
- gobject? ( >=dev-libs/glib-2.30:2 )
- introspection? ( dev-libs/gobject-introspection )
-"
-
-DEPEND="
- doc? ( dev-util/gtk-doc )
-"
-# FIXME handle gcc-vector and other stuff
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]] ; then
- if use vector; then
- tc-is-clang && die "gcc vector is not available for clang right?"
- use arm && die GCC vector intrinsics are disabled on ARM
-
- [[ $(gcc-major-version) -lt 4 ]] || \
- ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 9 ]] ) \
- && die "GCC vector intrinsics are disabled on GCC prior to 4.9"
- fi
-
- if use cpu_flags_x86_sse2;then
- [[ $(gcc-major-version) -lt 4 ]] || \
- ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 2 ]] ) \
- && die "Sorry, but gcc-4.2 and earlier won't work for sse2"
- fi
- fi
-}
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_use doc enable-gtk-doc)
- $(meson_use introspection enable-introspection)
- $(meson_use introspection enable-gobject-types)
- $(meson_use cpu_flags_arm_neon enable-arm-neon)
- $(meson_use cpu_flags_x86_sse2 enable-sse2)
- $(meson_use vector enable-gcc-vector)
- )
- meson_src_configure
-}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_test() {
- meson_src_test
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-pkg_postinst() {
- multilib_pkg_postinst() {
- gnome2_giomodule_cache_update \
- || die "Update GIO modules cache failed (for ${ABI})"
- }
- multilib_foreach_abi multilib_pkg_postinst
-}
-
-pkg_postrm() {
- multilib_pkg_postrm() {
- gnome2_giomodule_cache_update \
- || die "Update GIO modules cache failed (for ${ABI})"
- }
- multilib_foreach_abi multilib_pkg_postrm
-}
diff --git a/media-libs/graphene/metadata.xml b/media-libs/graphene/metadata.xml
deleted file mode 100644
index 36a8753b..00000000
--- a/media-libs/graphene/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-<use>
- <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
- for introspection</flag>
- <flag name="gobject"> build GObject types type</flag>
- <flag name="vector"> build gcc vector fast paths</flag>
-
-</use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-30 9:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 9:17 [gentoo-commits] proj/gnome:master commit in: media-libs/graphene/ Mart Raudsepp
-- strict thread matches above, loose matches on Subject: below --
2018-06-17 20:04 Sobhan Mohammadpour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox