diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2011-10-23 17:36:16 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2011-10-23 17:36:16 +0000 |
commit | 7ca49220d69fa30bb3ebe8522113163cbd1f91cc (patch) | |
tree | b2eb4a2a198d83ffe3752265af9c83b72d8d571a /media-sound/flac-image | |
parent | alpha/arm/ia64/s390/sh/sparc stable wrt #387171 (diff) | |
download | historical-7ca49220d69fa30bb3ebe8522113163cbd1f91cc.tar.gz historical-7ca49220d69fa30bb3ebe8522113163cbd1f91cc.tar.bz2 historical-7ca49220d69fa30bb3ebe8522113163cbd1f91cc.zip |
initial commit
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64
Diffstat (limited to 'media-sound/flac-image')
-rw-r--r-- | media-sound/flac-image/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/flac-image/Manifest | 16 | ||||
-rw-r--r-- | media-sound/flac-image/flac-image-1.00.ebuild | 45 | ||||
-rw-r--r-- | media-sound/flac-image/metadata.xml | 14 |
4 files changed, 85 insertions, 0 deletions
diff --git a/media-sound/flac-image/ChangeLog b/media-sound/flac-image/ChangeLog new file mode 100644 index 000000000000..d6d4ca1666c4 --- /dev/null +++ b/media-sound/flac-image/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/flac-image +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/flac-image/ChangeLog,v 1.1 2011/10/23 17:36:16 sbriesen Exp $ + +*flac-image-1.00 (23 Oct 2011) + + 23 Oct 2011; Stefan Briesenick <sbriesen@gentoo.org> +flac-image-1.00.ebuild, + +metadata.xml: + initial commit + diff --git a/media-sound/flac-image/Manifest b/media-sound/flac-image/Manifest new file mode 100644 index 000000000000..0626e012b422 --- /dev/null +++ b/media-sound/flac-image/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST flac-image-1.00.tar.gz 13948 RMD160 e365ff38dd5f94e5bc8bc4c11fa5ca36f40f45db SHA1 724bd86d9de0a8efa83c3636b0cdabe832737995 SHA256 c4ee58d7f447a2a48b12b338682ddca4d9e7630e1dd04cc5e6e190b8a5ce7109 +EBUILD flac-image-1.00.ebuild 1166 RMD160 33a6c19654ca0a7f153d3afb4c94222f92ee3536 SHA1 ca4551883b30a7fcb8bb824e4168e920737d98a7 SHA256 09f59e3c0bde9f83360e152074b2109cc5a0636f2637ecb4b69941f1585cfee7 +MISC ChangeLog 366 RMD160 706186eefe15db252e9216c1a5a59d621f025fe4 SHA1 090c722f41896d4b2ccfc7535032ce53576b51e9 SHA256 78b4d66679e4d8767155d088315a9c6b97bfdfc7e0d44ea609e43557fbb3ded1 +MISC metadata.xml 508 RMD160 a325d2e41e810cfda874c193b3eae8bb422ceb15 SHA1 af633dd039852b44fd5e74fa7fd6fd97d10636e3 SHA256 03a5099c21271930087a4eb405a3ef4552fc2d8fdf5d6af14f616946e6262a91 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iJwEAQECAAYFAk6kUJoACgkQIaLonLtsQse+KQQA2r/VMngh2DSr77IX69IsBcbF +kXLOkXtBiV/kTGGzF08+vML9ZwjrgePwO2e9QxFSCcasJrien6AuQ+isbvaQsOGb +NKzFzY3zdC8qzhtU2gAmn2WXLFVyl91sgEud7o71b2hkCAS/IiTYmAbGEGf1uy6L +zbzuK20d2cwd9B4MhQY= +=06iY +-----END PGP SIGNATURE----- diff --git a/media-sound/flac-image/flac-image-1.00.ebuild b/media-sound/flac-image/flac-image-1.00.ebuild new file mode 100644 index 000000000000..e6eeab016f20 --- /dev/null +++ b/media-sound/flac-image/flac-image-1.00.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/flac-image/flac-image-1.00.ebuild,v 1.1 2011/10/23 17:36:16 sbriesen Exp $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Utility for stuffing image files (e.g. album cover art) into metadata blocks in FLAC files" +HOMEPAGE="http://www.singingtree.com/software/" +SRC_URI="http://www.singingtree.com/software/${PN}.tar.gz -> ${P}.tar.gz" +# FIXME: no version in tarball, but also no updates for a long time. So it's ok. +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/flac" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +# compile helper +_compile() { + local CC="$(tc-getCC)" + echo "${CC} ${@}" && "${CC}" "${@}" +} + +src_prepare() { + sed -i -e "s:^\(#include <stdio.h>\):\1\n#include <string.h>:g" "${PN}.c" + rm -f -- "${PN}" # remove pre-compiled binary +} + +src_compile() { + # Makefile is both simple and broken, so we compile the binary ourself. + _compile ${CFLAGS} -lFLAC ${LDFLAGS} -o "${PN}" "${PN}.c" \ + || die "compile failed" +} + +src_install() { + insinto /usr/include + doins "${PN}.h" + dobin "${PN}" +} diff --git a/media-sound/flac-image/metadata.xml b/media-sound/flac-image/metadata.xml new file mode 100644 index 000000000000..2796227cb74e --- /dev/null +++ b/media-sound/flac-image/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>sbriesen@gentoo.org</email> + <name>Stefan Briesenick</name> + </maintainer> + <longdescription lang="en"> + A tiny utility for stuffing image files (e.g. album cover art) into + metadata blocks in FLAC files. Actually you could store and retrieve + any arbitrary file you wanted; this program doesn't care. + </longdescription> +</pkgmetadata> |