summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-cdr/plextor-tool
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-cdr/plextor-tool')
-rw-r--r--app-cdr/plextor-tool/Manifest1
-rw-r--r--app-cdr/plextor-tool/files/plextor-tool-0.5.0-build.patch61
-rw-r--r--app-cdr/plextor-tool/metadata.xml9
-rw-r--r--app-cdr/plextor-tool/plextor-tool-0.5.0.ebuild36
4 files changed, 107 insertions, 0 deletions
diff --git a/app-cdr/plextor-tool/Manifest b/app-cdr/plextor-tool/Manifest
new file mode 100644
index 000000000000..32a910b71b41
--- /dev/null
+++ b/app-cdr/plextor-tool/Manifest
@@ -0,0 +1 @@
+DIST plextor-tool-0.5.0.src.tar.bz2 51594 SHA256 a62787eb2a1f311b66a467777aa864a1e478a649895ba2708f8f46e85e5bd20a SHA512 a613c081bf01f387cd3b6b03b1c81e12a654e1e706ff96ad8aae9afe5e001b91627f95995fae838a5b47c83dd1d07bfefcb0c26d9bb981f4f72bbb3e2eaa8d75 WHIRLPOOL 4cb72cf2517fbc2d98476856abd6944112315970e9c2327f5df8275b68bf82afed7f3ca8faa9f90f380901363388c3f2d09b7a9745c9e0bea53aa46649381bc3
diff --git a/app-cdr/plextor-tool/files/plextor-tool-0.5.0-build.patch b/app-cdr/plextor-tool/files/plextor-tool-0.5.0-build.patch
new file mode 100644
index 000000000000..d2a181f14fed
--- /dev/null
+++ b/app-cdr/plextor-tool/files/plextor-tool-0.5.0-build.patch
@@ -0,0 +1,61 @@
+--- Makefile
++++ Makefile
+@@ -2,17 +2,17 @@
+ # Copyright (c) 1999-2002 Georg Huettenegger
+ #
+
+-CC=gcc
+-INCLUDES=-Icommon/
++CC?=gcc
++CPPFLAGS+=-Icommon/
+
+ # defines to be set for release
+
+-DEFINES=-DUSE_GNOME
+-SCFLAGS=-Wall $(DEFINES) $(INCLUDES)
+-CFLAGS=`gnome-config --cflags applets` $(SCFLAGS)
+-LFLAGS=`gnome-config --libs applets`
++CPPFLAGS += -DUSE_GNOME
++CFLAGS += -Wall
++CFLAGS +=
++LFLAGS=$(LDFLAGS)
+ # the following line worked on RedHat 7.0/1/2
+-SLFLAGS=-L/usr/lib -L/usr/X11R6/lib -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl
++#SLFLAGS=-L/usr/lib -L/usr/X11R6/lib -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl
+ # the following line worked on RedHat 6.1
+ #SLFLAGS=-L/usr/lib -L/usr/X11R6/lib -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl
+
+@@ -53,18 +53,16 @@
+ RM=rm
+ STRIP=strip
+
+-all: plextor-tool pt-static plextor-tool-applet pta-static plextor-tool.8.gz strip
++all: plextor-tool pt-static plextor-tool-applet pta-static plextor-tool.8
+
+-plextor-tool.8.gz: ../doc/plextor-tool.groff
++plextor-tool.8: ../doc/plextor-tool.groff
+ $(MANCC) $(MANCCFLAGS) ../doc/plextor-tool.groff > plextor-tool.8
+- $(RM) -f plextor-tool.8.gz
+- gzip plextor-tool.8
+
+ plextor-tool: $(COBJS)
+- $(CC) -o $@ $(COBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ pt-static: $(COBJS)
+- $(CC) -static -o $@ $(COBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ $^
+
+ ls_mode_pages: $(LSMPOBJS)
+ $(CC) -o $@ $(LSMPOBJS)
+@@ -110,10 +108,8 @@
+
+ .SUFFIXES: .o .cpp
+ .cpp.o:
+- $(CXX) $(CXXFLAGS) -c -o $@ $<
+
+ .SUFFEXES: .o .c
+ .c.o:
+- $(CC) -c $(CFLAGS) -o $@ $<
+
+ include .depend
diff --git a/app-cdr/plextor-tool/metadata.xml b/app-cdr/plextor-tool/metadata.xml
new file mode 100644
index 000000000000..645443001f0a
--- /dev/null
+++ b/app-cdr/plextor-tool/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-optical</herd>
+ <longdescription>A console utility that can set certain parameters of Plextor/MMC cdrom and cd-rw drives.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">plextor-tool</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-cdr/plextor-tool/plextor-tool-0.5.0.ebuild b/app-cdr/plextor-tool/plextor-tool-0.5.0.ebuild
new file mode 100644
index 000000000000..f8455bf52758
--- /dev/null
+++ b/app-cdr/plextor-tool/plextor-tool-0.5.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Tool to change the parameters of a Plextor CD-ROM drive"
+HOMEPAGE="http://plextor-tool.sourceforge.net/"
+SRC_URI="mirror://sourceforge/plextor-tool/${P}.src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+
+S=${WORKDIR}/${PN}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ gunzip plextor-tool.8.gz || die
+}
+
+src_compile() {
+ local targets="plextor-tool"
+ use static && targets="${targets} pt-static"
+ echo ${targets} > my-make-targets
+ emake CC="$(tc-getCC)" ${targets}
+}
+
+src_install() {
+ local targets=$(<my-make-targets)
+ dodoc ../doc/{NEWS,README} TODO
+ dobin ${targets}
+ doman plextor-tool.8
+}