diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-02-26 21:53:41 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-02-26 21:53:41 +0000 |
commit | 0531b8595c79a3c10f68f086a89f8ce73f9fe670 (patch) | |
tree | b29f634f92f158679ed12ada3a7dacb9b088b4fa /media-gfx/sam2p | |
parent | adding sys-apps/less temporarly to resolve bug 398295. (diff) | |
download | gentoo-2-0531b8595c79a3c10f68f086a89f8ce73f9fe670.tar.gz gentoo-2-0531b8595c79a3c10f68f086a89f8ce73f9fe670.tar.bz2 gentoo-2-0531b8595c79a3c10f68f086a89f8ce73f9fe670.zip |
Version bump.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/sam2p')
-rw-r--r-- | media-gfx/sam2p/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.49.1-build.patch | 42 | ||||
-rw-r--r-- | media-gfx/sam2p/sam2p-0.49.1.ebuild | 42 |
3 files changed, 92 insertions, 2 deletions
diff --git a/media-gfx/sam2p/ChangeLog b/media-gfx/sam2p/ChangeLog index 29568b3c81fd..403a68934801 100644 --- a/media-gfx/sam2p/ChangeLog +++ b/media-gfx/sam2p/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/sam2p -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v 1.47 2011/06/13 20:57:39 mattst88 Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v 1.48 2012/02/26 21:53:41 ssuominen Exp $ + +*sam2p-0.49.1 (26 Feb 2012) + + 26 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> +sam2p-0.49.1.ebuild, + +files/sam2p-0.49.1-build.patch: + Version bump. 13 Jun 2011; Matt Turner <mattst88@gentoo.org> sam2p-0.48.ebuild: Added ~mips, bug 342513 diff --git a/media-gfx/sam2p/files/sam2p-0.49.1-build.patch b/media-gfx/sam2p/files/sam2p-0.49.1-build.patch new file mode 100644 index 000000000000..ba421463d536 --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.49.1-build.patch @@ -0,0 +1,42 @@ +--- configure.in ++++ configure.in +@@ -81,7 +81,7 @@ + dnl Checks for programs. + dnl AC_PROG_CC + AC_LANG_CPLUSPLUS +-CXXFLAGS=" " ++#CXXFLAGS=" " + dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g' + CCC="$CCC g++" + dnl ^^^ check g++ before c++ (see acspecific.m4, grep AC_PROG_CXX) +@@ -215,7 +215,7 @@ + + dnl AC_PTS_RUN_OK([perl -x -S ./ccdep.pl $CXX], [], [AC_MSG_ERROR(cannot compute depends)]) + rm -f Makedep +-AC_PTS_RUN_OK([make Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) ++AC_PTS_RUN_OK([gmake Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) + AC_PTS_OK + echo "configure done. Now you should run: make; make install" + +--- Makefile ++++ Makefile +@@ -17,7 +17,7 @@ + export PERL_BADLANG + + CXXX=$(CXD_assert) +-LDALL=$(LDXX) -s $(LDFLAGS) $(LIBS) ++LDALL=$(LDXX) $(LDFLAGS) $(LIBS) + ifeq ($(ENABLE_DEBUG), no) + CXXX=$(CXD_no) + endif +@@ -51,8 +51,8 @@ + IDE_TARGETS_debug := $(patsubst %,%.yes, $(TARGETS)) + IDE_TARGETS_release := $(TARGETS) + +-CXD_assert =$(CXX) -s -O2 +-CXD_no =$(CXX) -s -DNDEBUG -O3 ++CXD_assert =$(CXX) ++CXD_no =$(CXX) -DNDEBUG + # CXD_yes =$(CXX) $(GFLAG) -lefence + CXD_yes =$(CXX) $(GFLAG) + CXD_checker=checkerg++ $(GFLAG) diff --git a/media-gfx/sam2p/sam2p-0.49.1.ebuild b/media-gfx/sam2p/sam2p-0.49.1.ebuild new file mode 100644 index 000000000000..edfe57bb3700 --- /dev/null +++ b/media-gfx/sam2p/sam2p-0.49.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.49.1.ebuild,v 1.1 2012/02/26 21:53:41 ssuominen Exp $ + +EAPI=4 +inherit autotools eutils toolchain-funcs + +DESCRIPTION="Utility to convert raster images to EPS, PDF and many others" +HOMEPAGE="http://code.google.com/p/sam2p/" +SRC_URI="http://sam2p.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="examples gif" + +RDEPEND="" +DEPEND="dev-lang/perl" + +RESTRICT="test" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.45-fbsd.patch \ + "${FILESDIR}"/${PN}-0.49.1-build.patch + eautoreconf + tc-export CXX +} + +src_configure() { + econf --enable-lzw $(use_enable gif) +} + +src_install() { + dobin sam2p + dodoc README + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} |