summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-archive-reader
diff options
context:
space:
mode:
authorAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:10:15 +0300
committerAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:10:15 +0300
commita8da050bbbbe6352753c07b7b1d4753dbcf8eb7a (patch)
treeac98ee727877dfadccb41a14676982b7fa206d97 /media-plugins/deadbeef-archive-reader
parentdc45a05bcf51a824e2837ae148f39283e81ff40f (diff)
add deadbeef plugins
Diffstat (limited to 'media-plugins/deadbeef-archive-reader')
-rw-r--r--media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild17
-rw-r--r--media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild16
-rw-r--r--media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch30
3 files changed, 63 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild
new file mode 100644
index 00000000..64a1b652
--- /dev/null
+++ b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-20140219.ebuild
@@ -0,0 +1,17 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit deadbeef-plugins subversion
+
+DESCRIPTION="DeaDBeeF vfs archive reader plugin with gzip, 7z and rar support"
+HOMEPAGE="https://www.assembla.com/spaces/deadbeef_vfs_archive_reader"
+ESVN_REPO_URI="https://subversion.assembla.com/svn/deadbeef_vfs_archive_reader/trunk/src"
+ESVN_REVISION="16"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~*"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-flags.patch"
+}
diff --git a/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild
new file mode 100644
index 00000000..6fdf06d8
--- /dev/null
+++ b/media-plugins/deadbeef-archive-reader/deadbeef-archive-reader-99999999.ebuild
@@ -0,0 +1,16 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit deadbeef-plugins subversion
+
+DESCRIPTION="DeaDBeeF vfs archive reader plugin with gzip, 7z and rar support"
+HOMEPAGE="https://www.assembla.com/spaces/deadbeef_vfs_archive_reader"
+ESVN_REPO_URI="https://subversion.assembla.com/svn/deadbeef_vfs_archive_reader/trunk/src"
+
+LICENSE="LGPL-2.1"
+KEYWORDS=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-flags.patch"
+}
diff --git a/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch b/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch
new file mode 100644
index 00000000..88a2c440
--- /dev/null
+++ b/media-plugins/deadbeef-archive-reader/files/deadbeef-archive-reader-flags.patch
@@ -0,0 +1,30 @@
+Index: src/Makefile
+===================================================================
+--- Makefile (revision 16)
++++ Makefile (working copy)
+@@ -8,7 +8,7 @@
+ all: $(OUT)
+
+ $(OUT): vfs_archive_reader.c libfex.a
+- $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a $(LDFLAGS) -o $(OUT)
++ $(CC) $(CFLAGS) vfs_archive_reader.c libfex.a -o $(OUT) $(LDFLAGS)
+
+ libfex.a: libfex
+ mv fex/libfex.a .
+Index: src/fex/makefile
+===================================================================
+--- fex/makefile (revision 16)
++++ fex/makefile (working copy)
+@@ -4,9 +4,9 @@
+ all: libfex.a demo
+
+ libfex.a: fex/fex.h fex/blargg_config.h
+- cd fex;$(CXX) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
+- cd unrar;$(CXX) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
+- cd 7z_C;$(CC) -c -Os *.c -fPIC
++ cd fex;$(CXX) $(CXXFLAGS) -I.. -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
++ cd unrar;$(CXX) $(CXXFLAGS) -c -Os -fno-rtti -fno-exceptions *.cpp -fPIC
++ cd 7z_C;$(CC) $(CFLAGS) -c -Os *.c -fPIC
+ $(AR) $(ARFLAGS) libfex.a fex/*.o unrar/*.o 7z_C/*.o
+ -ranlib libfex.a
+ -$(RM) fex/*.o