summaryrefslogtreecommitdiff
path: root/media-video/vcdimager
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/vcdimager')
-rw-r--r--media-video/vcdimager/Manifest3
-rw-r--r--media-video/vcdimager/files/vcdimager-2.0.1-pkg-config.patch11
-rw-r--r--media-video/vcdimager/vcdimager-2.0.1.ebuild61
3 files changed, 75 insertions, 0 deletions
diff --git a/media-video/vcdimager/Manifest b/media-video/vcdimager/Manifest
index 754d2157bba2..8511c0d27f17 100644
--- a/media-video/vcdimager/Manifest
+++ b/media-video/vcdimager/Manifest
@@ -1,4 +1,7 @@
AUX vcdimager-0.7.24-libcdio-1.0.0.patch 7545 BLAKE2B 58426bd919e0c0cbe9703a33fc99f9aaaac6b4fa5130d8b39fab505d309741e7c301b2ace213e927a4399cb5b215b1a38b761c3d6ac9a25ddb32cfc7626844b4 SHA512 b49e8742627b6e0d56efd455230f78cb49a3337a376da39d9b77869835c1d34b8f4a826ae0f888fe0f81ce011a3f0e6dcf52479c34813594129fb2916c782c57
+AUX vcdimager-2.0.1-pkg-config.patch 345 BLAKE2B b81d2647903b6037d81b90c4eacd22bd8608c14f5728ef8e24dddcc5cc34a91bc950dba55acc3897d37d01dd326f8fa2b045c9720f918329cdfbadeb390e1a38 SHA512 03e7fe7460e701e3c44bd5950b6bde70c2a8ae102746d1a66ab544012c71989c4df5a639d7e49801cca3b3dd0f14ba53daf839658fe59be5080e57ff72eb1292
DIST vcdimager-0.7.24.tar.gz 1066815 BLAKE2B b58648a4ab54b3151448c2aa17306105ada45d9708375c7461c7f9087b851339f8288855c0d38d1521317b303c79b432b5e99b39ca7b8f59da8ae7aff7238582 SHA512 162f361d3c871c85887f0b25e70c207c511dcf597f337633be3ce925e8c589a8ba26275b8378d1002b8c5eb56995eda017f5f1cf52e52a38e9ff900acba7a214
+DIST vcdimager-2.0.1.tar.gz 1115207 BLAKE2B edf70212e81a89924e64115cae9eab77619f7e639e5529b85cc6a80c6ef4f4028c8a207bec86c41283b9768f6a0f56ef56adfad18c7bba20c315b1e5554a83a9 SHA512 55a9d235149a35fe26576703c623a2c9a3f7deedd2e42e01271fdf1e1fdf14c51ee040ee3b5d15fe1b5860fbd4cbeb437362b1a1f40187c8d4d691b6b89a2230
EBUILD vcdimager-0.7.24.ebuild 1494 BLAKE2B d6d71aa03fef4ee2af9c7f160a8218448b4b2eb2f84b64726e5d38ac1a4a0a5f36ca5c69d896354ced7f2cf11b73324c9157ce917413d519b9dd96599c2bb781 SHA512 5800c746da2facc0537f54b40d3a66ed1b9065ae4e2e05cd6713712f366d435c3fe7c5b180642948d97eabd3950b4045ce1652891f69e26fe5a5f8223e72b072
+EBUILD vcdimager-2.0.1.ebuild 1407 BLAKE2B 1ed743ec16d361953097bb2b67c10908935cdc710ea801dc2826095e1861e1b0a58db1b57e9b3c5ad6f2ae91e52c631aa9f9fadfedc326a5832599671fa8957e SHA512 c636df31d081c9264f99d591cb04488c1ce27e9100aeb9b65917618fd70c15215c1f5be88ef6d7575f6e484d00798e041975e6da0deb9d2599e51c5278c36a50
MISC metadata.xml 223 BLAKE2B 1a772bb5add75cb4343b09bb2456adcd5e46896daaab4091ab64b667c5fa1a4adab0940015a3e755df3d6540b456694dc67ef9581d02d40c63b89290f8f83e43 SHA512 27b688917e0b1c4a75ea34c97d2d67d309573941492ab04124de11034f3b2796480f02408d86e2eba77ca2000722ea6606fe12a49622c04f9e2c1fa27b6fc8db
diff --git a/media-video/vcdimager/files/vcdimager-2.0.1-pkg-config.patch b/media-video/vcdimager/files/vcdimager-2.0.1-pkg-config.patch
new file mode 100644
index 000000000000..9d603b918697
--- /dev/null
+++ b/media-video/vcdimager/files/vcdimager-2.0.1-pkg-config.patch
@@ -0,0 +1,11 @@
+--- /configure.ac
++++ /configure.ac
+@@ -171,6 +171,8 @@
+ dnl For vcdimager and vcdxbuild to be able to set creation time of VCD
+ AC_CHECK_FUNCS(getdate strptime, , )
+
++PKG_PROG_PKG_CONFIG
++
+ if test "x$enable_cli_fe" = "xyes" -o "x$enable_xml_fe" = "xyes"; then
+ PKG_CHECK_MODULES(LIBPOPT, popt, [], [enable_cli_fe=no; enable_xml_fe=no])
+ fi
diff --git a/media-video/vcdimager/vcdimager-2.0.1.ebuild b/media-video/vcdimager/vcdimager-2.0.1.ebuild
new file mode 100644
index 000000000000..0eed4a6d6233
--- /dev/null
+++ b/media-video/vcdimager/vcdimager-2.0.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="GNU VCDimager"
+HOMEPAGE="https://www.gnu.org/software/vcdimager/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="static-libs +xml"
+
+RDEPEND="
+ >=dev-libs/libcdio-2.0.0:0=[-minimal,${MULTILIB_USEDEP}]
+ dev-libs/popt
+ xml? ( dev-libs/libxml2:2 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+"
+
+DOCS=( AUTHORS BUGS ChangeLog FAQ HACKING NEWS README THANKS TODO )
+
+PATCHES=("${FILESDIR}/${P}-pkg-config.patch")
+
+src_prepare() {
+ default
+
+ # Avoid building useless programs. Bug #226249
+ sed -i \
+ -e 's/check_PROGRAMS =/check_PROGRAMS +=/' \
+ -e 's/noinst_PROGRAMS =/check_PROGRAMS =/' \
+ test/Makefile.am || die
+ sed -i \
+ -e 's/noinst_PROGRAMS =/check_PROGRAMS =/' \
+ example/Makefile.am || die
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ )
+ multilib_is_native_abi || myeconfargs+=( --without-cli-frontend )
+ if ! use xml || ! multilib_is_native_abi ; then
+ myeconfargs+=( --without-xml-frontend )
+ fi
+
+ ECONF_SOURCE="${S}" \
+ econf ${myeconfargs[@]}
+}
+
+multilib_src_install_all() {
+ find "${D}" -name '*.la' -delete || die
+ einstalldocs
+}