From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/phat/Manifest | 7 ++++ .../phat/files/phat-0.4.1-underlinking.patch | 27 ++++++++++++++ media-libs/phat/metadata.xml | 11 ++++++ media-libs/phat/phat-0.4.1-r1.ebuild | 42 ++++++++++++++++++++++ media-libs/phat/phat-0.4.1.ebuild | 34 ++++++++++++++++++ 5 files changed, 121 insertions(+) create mode 100644 media-libs/phat/Manifest create mode 100644 media-libs/phat/files/phat-0.4.1-underlinking.patch create mode 100644 media-libs/phat/metadata.xml create mode 100644 media-libs/phat/phat-0.4.1-r1.ebuild create mode 100644 media-libs/phat/phat-0.4.1.ebuild (limited to 'media-libs/phat') diff --git a/media-libs/phat/Manifest b/media-libs/phat/Manifest new file mode 100644 index 000000000000..cbe687352327 --- /dev/null +++ b/media-libs/phat/Manifest @@ -0,0 +1,7 @@ +AUX phat-0.4.1-underlinking.patch 859 SHA256 c1de42b477c55b6b9df3d2d15085e32a050d09ab0376bc3092bb9deb248cda0b SHA512 814cf8d980d61e4729db095c2b440a5811dff626f28963d24fa6e37316fc13716da2d63861f796ba2b8e4d5c2141be2bd919f01d5d6fb4cb4cd445ace9f5d0a6 WHIRLPOOL f1aac9eb555a531525ec213cd863e6602ddc1c43e6c52717517b919475c7d7466adc6b5c33dcced52ba2c1fd246dd3c596f58982b5325e416e0a024c6457ec3d +DIST phat-0.4.1.tar.gz 550910 SHA256 5b891803b0461f4ab9c08845c71f5de7d135029fd4d58afecf6a41d4c46596c5 SHA512 c2d25d4cf2f291a447229ab3c1c779e5a8872d8b0c88a759b7dee437b8ad355eea6211b7d257af96cd3e719098a0da3cff7ffc916281af29bf55eb9c077ff333 WHIRLPOOL 135fea812332d67c4ba8a9f093c2b1ef16ccea74f6d06e45743388f3616d10adeb52e609e1dd92971ebed549856455f6e97d81b41a31bf40ab6fda7d7767173b +EBUILD phat-0.4.1-r1.ebuild 759 SHA256 1c549704cdadc9fe4cee9de21db799261ae6c7b3f550420641228d1f931447e9 SHA512 888aefe9e7803c0474e4250f854bcf66aa7890c4ea88a6f9ceaa33a377ebf16469eebbc04bc1741c06d8d6ba2b07f2d3e47f4e06d4bde1118c2a44a6480abfce WHIRLPOOL 624cfd849d410eba5a2d16a229271d269251701fa5c12c132d91321cac807103c4bf9eeb2d3d0befa3cdcb6370c8c94d9cc458db99112473ef05674c3abdb687 +EBUILD phat-0.4.1.ebuild 757 SHA256 859856a6aed439ff25efbcfb094c0f4b29988e6f4e43da3bcee574e279ac2ccb SHA512 fdbfc61ee8fc81680eb9e813ed8a0651b9ea65ccf9173379d671cc1cfa0ceaba8c17b405f5ed2d0f38a08a99ee37f38235b82374e1dabf351d4a68ce4599633e WHIRLPOOL 8a58beb4a48baa07767476f64ac7e20436aefd1cee7b4a4e1270d85ac143d2048e40a65a653455882ceb6b3556fe08c1ebcc30a47d0ac0b6f3cc3c2635da1440 +MISC ChangeLog 3088 SHA256 d558cd390d905af1ac83ff3bc80d004a99056e5ec01d7a37f90f93558d463359 SHA512 84980ac86bfbdf9f0071021c5cde0e883531370965be8570e27ac5c95eefc6a856b5afc4bd581e905d86425992aac9c5b78593484d9e66d37c8e975b238bb898 WHIRLPOOL 0f6e9f3d5c88abd5ddd7a48a3b395b650e0f8d2de2096f991231e823f24b3616ab03c95dfab6d3aebe09864480d93b940e6afdc1889718355913a1ec3adf50ef +MISC ChangeLog-2015 2409 SHA256 ca07cebcbc8bc27dbc61a55ac00ac5b17751b2c6d7c32de1f27ebae90e14ac43 SHA512 6a261c1518e9a195d2ed3d3d9b3de9483108ba59e57d81e1365f2849f454845ceecb28e374c4bdcd5ac3db059296bce01a28328fdbdd8f80b29e33a8a80c584b WHIRLPOOL 172b600f2d1c7cb3ac21e108085256b16d1f09b2c00843636d6db9b464c155f1cc0ba770b7cf64126aaa979b7c9221290edb7a378109b799f7d8422d3a05ea6a +MISC metadata.xml 335 SHA256 7b09281ac25110ddde460fcf121ab77aa28c8602709443d585e26cdef586f781 SHA512 699f64a5b2b97448646e5fb9562e653dd2996eb419bbedde43c2ba9fdb17a60c6b8b57883a18752a0838d06ca054f724a243dd10d3ea35f8da8db8774f01a587 WHIRLPOOL f7e0dcbffef0d332d734407945648804e676ca4863e3a3156305d8516900c17234d65f145003ec226be006414dd8815c6b55008a82962c9e65d66a08e8ce1d2c diff --git a/media-libs/phat/files/phat-0.4.1-underlinking.patch b/media-libs/phat/files/phat-0.4.1-underlinking.patch new file mode 100644 index 000000000000..d841cd07468b --- /dev/null +++ b/media-libs/phat/files/phat-0.4.1-underlinking.patch @@ -0,0 +1,27 @@ +- Remove hardcoded CFLAGS and -Werror flags +- Fix underlinking caused by missing x11 dependency: +* ../phat/.libs/libphat.so: error: undefined reference to 'XWarpPointer' + +--- phat-0.4.1/configure.ac ++++ phat-0.4.1/configure.ac +@@ -17,7 +17,6 @@ + [if test x$enable_debug = xyes; then with_debug=yes ; fi]) + + if test x$with_debug = xno; then +- CFLAGS="-O3" + AC_DEFINE(DEBUG, 0, [[whether to display debugging output or not]]) + else + AC_DEFINE(DEBUG, 1, [[whether to display debugging output or not]]) +@@ -46,10 +45,10 @@ + GTK_DOC_CHECK(1.0) + + # misc checks +-PKG_CHECK_MODULES(MISC, libgnomecanvas-2.0) ++PKG_CHECK_MODULES(MISC, libgnomecanvas-2.0 x11) + + # set compilation flags +-CFLAGS="$CFLAGS $GTK_CFLAGS $MISC_CFLAGS -Wall -Werror" ++CFLAGS="$CFLAGS $GTK_CFLAGS $MISC_CFLAGS -Wall" + LIBS="$LIBS $GTK_LIBS $MISC_LIBS" + + # print build summary diff --git a/media-libs/phat/metadata.xml b/media-libs/phat/metadata.xml new file mode 100644 index 000000000000..3669d9445895 --- /dev/null +++ b/media-libs/phat/metadata.xml @@ -0,0 +1,11 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + + phat.berlios + + diff --git a/media-libs/phat/phat-0.4.1-r1.ebuild b/media-libs/phat/phat-0.4.1-r1.ebuild new file mode 100644 index 000000000000..5c9cb0ec0574 --- /dev/null +++ b/media-libs/phat/phat-0.4.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="PHAT is a collection of GTK+ widgets geared toward pro-audio apps" +HOMEPAGE="https://sourceforge.net/projects/phat.berlios/" +SRC_URI="mirror://sourceforge/phat.berlios/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11 + gnome-base/libgnomecanvas" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/gtk-doc" + +PATCHES=( + "${FILESDIR}/${P}-underlinking.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable debug) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/media-libs/phat/phat-0.4.1.ebuild b/media-libs/phat/phat-0.4.1.ebuild new file mode 100644 index 000000000000..93841800aaff --- /dev/null +++ b/media-libs/phat/phat-0.4.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +DESCRIPTION="PHAT is a collection of GTK+ widgets geared toward pro-audio apps" +HOMEPAGE="http://phat.berlios.de" +#SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="debug" + +RDEPEND="x11-libs/gtk+:2 + gnome-base/libgnomecanvas" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -e "s:-Werror::g" -e "s:-O3:${CFLAGS}:g" \ + -i configure || die "sed failed" +} + +src_configure() { + econf \ + $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS BUGS ChangeLog NEWS README TODO +} -- cgit v1.2.3