summaryrefslogtreecommitdiff
path: root/media-sound/drumstick
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/drumstick
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/drumstick')
-rw-r--r--media-sound/drumstick/Manifest13
-rw-r--r--media-sound/drumstick/drumstick-0.5.0.ebuild66
-rw-r--r--media-sound/drumstick/drumstick-1.0.2.ebuild76
-rw-r--r--media-sound/drumstick/drumstick-1.1.0.ebuild94
-rw-r--r--media-sound/drumstick/files/0.5.0-doc_automagicness.patch20
-rw-r--r--media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch26
-rw-r--r--media-sound/drumstick/files/0.5.0-underlinking.patch17
-rw-r--r--media-sound/drumstick/files/drumstick-1.0.2-gcc6.patch35
-rw-r--r--media-sound/drumstick/metadata.xml18
9 files changed, 365 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
new file mode 100644
index 000000000000..6606ab946b43
--- /dev/null
+++ b/media-sound/drumstick/Manifest
@@ -0,0 +1,13 @@
+AUX 0.5.0-doc_automagicness.patch 743 SHA256 b6f66f77573c367dac672f50d9e4f14e576d47c4f10c7b24a28898b985914bfc SHA512 171913c74f329d468caafba723db7f6c531330013c20b3613e0320bc9336e639fa103e2010334f66d9b950721104aaf9bdc6cb2e4ed66162bab4bcbc3880d975 WHIRLPOOL 79c9765d6d7044a35f2d5a8c790a984cd2bbd7de36741022c19e1a31b557db238cf04571edb91e8504795f40d4a6b146451b5a1aa41117fa11e5df8768e2120a
+AUX 0.5.0-gcc6-narrowing.patch 1196 SHA256 827b949ab208d50bfec09e5821fc38eb12d680a7cc6d424f201904a92f1c8159 SHA512 f4eaa98b0b85f0d28ce273b03ed0fd3948f95e05918223a51b0f53c3a3e73d4d2e01b3aca6f6166a6e7b7712e36eaa1ce4d5d94811e36fa1292eacd4a770e342 WHIRLPOOL fcf55c69bc6897831b3a2e04eb9b9e6b43a730610de16965e0a9bef1498591eefbd0887441809f1db123bb56ca5050ae7b020f36ec68eea80596132e494e33a5
+AUX 0.5.0-underlinking.patch 368 SHA256 2ea4242dee90c18154ea959826dd6ea629ee17e07d97ede29d5656f20be0bef8 SHA512 1f015f2bac64ce84c075383c6c0997e761dcd3618d970f2c3f7dbd918a91511ac0db81ca6cb08647df019acdde3f330d04f492661f444c811af705f55249a450 WHIRLPOOL df2ba2c2826e5663cf8bd5e910b63ea0843b7a2ae5fd8a5dcd6006b161a296830a353845cad3d48f1f886acd2e0f7d876601e25e4c93663c39190c8dd4816201
+AUX drumstick-1.0.2-gcc6.patch 1900 SHA256 7e01de593eb93979c89d013bf493caf09065eb9577532645dac5f5766772929d SHA512 d8969aabee72d701bd69bed74ad1067537152b5a7ca0014b6fb56f7e0bdc29180d898aad61885ea85aa6b050f1026887a85f18f95eb2a05afbc3e0bfcf6bc0b1 WHIRLPOOL 285024e7d3ae1eace9507c51d9860db2dfcb5388ba0eb2d60e2fc9d5e58f03e07aa2bbfc32d54b022442af2aca1165b936de168f4e25d25b168a96f55b992f35
+DIST drumstick-0.5.0.tar.bz2 200914 SHA256 5a12bcf2a26dac7f2a5c9507c662c4c85556881c64bb55365dceb437cf3652cd SHA512 12078dbeae7166da210ccbbaee9d55b4c9e233fd317de72c20482466cd29987c976290efecd29cc28a5be6ed7e3b9fe95ddf1081d75222d9cf9d6aef13080a21 WHIRLPOOL 6d7b35259280aacf0ec414868068f136c39bb8e488848d110739481cbf6bb874cb46c95b98bc8f541185816ff81819494716e2706d9e6a59519bdc2e9520a425
+DIST drumstick-1.0.2.tar.bz2 233666 SHA256 34aab5812c35ba16f8e606632a56c38879f470e3e395d580412c73ef937f8750 SHA512 df8d36b58e83b1e06cd1e4788e63c504bf2282c26f505509b2125e6c7be8ce8bc013774755b68e36f372a8682328459a5efb67ff09be1e0190805528458b3e45 WHIRLPOOL 8dba872973649ece08b37447c76c96a7da4382075f9682be9e0bb9b491aec2eab9ba969abaaf9396abff3c98a9d0a224ae1b48e6bca093c305675133669c11de
+DIST drumstick-1.1.0.tar.bz2 1012405 SHA256 ae1d2c0d21b45d144e181b873ffbc2979a294fab31b8d71a5b0b8cad3276f38e SHA512 1099b80e1d2819a8343e877742c5f01c114419b2c63a965717bcff2c220aa218f40ac3860cf9496d3586663e73a6c2c7b62aee74c51229578a5ae3044da208da WHIRLPOOL fb070609049b329c1258dde8a8ff4e2ebcbec577d6fa46e59b51f39c8708a186976f94925a1407fc0ce92e77257f4133f811daf79258455fb9389d54b8044f9f
+EBUILD drumstick-0.5.0.ebuild 1244 SHA256 7fb87d5de11cd020f36afff7420514517d0402cd3d0ea165c2632566b9cbf099 SHA512 65a6041d7dde795f7d1bf857df2a5021b6ba2dff44ddfc0ea6c2a76c637ee488259f59a1b472956a97f2d21225692520a2d73b2716178eaae0f885fc371752d6 WHIRLPOOL 8d4be4281041a3269e1fa571f248db0010f51ec7ef0e24b777412195bfbc9ea5efc57bbf0bea790a3ea6a478e6ddf90db53adb804b3cf6d6f95698dc9c0af471
+EBUILD drumstick-1.0.2.ebuild 1310 SHA256 c59166ce714aa8d860fc9d26033e399d746a0403fcc6955902726c5933f844b5 SHA512 568c3b7a2345b7bfde09da866caa30f8c02a7b92e7ef23c55d9627c61c493f52a905bf71560e60510f1c68051fb1105f830eb02c1dd4b3e1c2021afe5622163b WHIRLPOOL 287a0ae31d79c00e831160282a9f0e944e9614f333d87236762523294e62420b541915295f1da4cb274433af033939152af5dfa8f0dbc461049bf33ac997d142
+EBUILD drumstick-1.1.0.ebuild 1777 SHA256 6b8ec4fbd17ff24061f62f8218da6771895ae9188112535c489a279c5756eede SHA512 dd790f04c44dbdaccf5de2fcfb3294875494eec004cd504beb9c0ba5726a7ca0616d732c650118d15795cd5b33cd3a819986b2ef73463a77d51954064f426d58 WHIRLPOOL 70ad68b05774517c3cb5230b8b522a104245c40a3a69513fe635f63e5ca5b0aae1861cd2ddfa7dc090ba48604e62452610ed0104761fd5fd937ee2b0f87738f9
+MISC ChangeLog 3757 SHA256 1ffe4cf39da74d362bef9380b9aa1d5fe52db49cc1c51c52074c10c12e022c70 SHA512 8e14235c795c5247da033082ff655e8a1193375e8dca37a5de2e3a0e77d33cc0d2054b33750412661f6578b3f735fcdab09a6dfc0af5fff4ced29d981f96b169 WHIRLPOOL 1cbc7c3e9f0f879c262fee50e2933dff82b28f5aadd1a6b4b858d25e9a23133f727765b2b16f18214373e55e32ce60061a6cca3ed0b618bad658b919abaecf6e
+MISC ChangeLog-2015 2296 SHA256 ed0b4564aa02cb7e3b908dea7f16b8c9856221a24cbc5e99a55d1bae29192e3d SHA512 69767b8368a5026b9548f0a2bbcbecb184a458e3eeef6865092ad301ceb61f8691da4ad3f56269693e437258b43b1b700ee72815c264c8088db0a62917c78dca WHIRLPOOL f66353be44748677eaf91d6a89406fcde451a51f996f251b6f3e95f9fcfa60285a90b2bd980205fc1b39cdca9cbf8adc5db403c3a5d5a61313a457b753a93586
+MISC metadata.xml 543 SHA256 fc425bdeeef3108b5575e65dd39ac205a7c7bc7b1a22aab3c479a390da4e2df7 SHA512 b91230be7ae7d1cce86bba1b2706d88fb4beab8a37f1faef5d4ce79627bea14798d508269c6fe0b132450be6698a9466987b6d71d12006e09f58dc25404e784f WHIRLPOOL d7f73f9c15419cde1adae0382cf78b7dca61d16ff2cab74225457ea10646c1dfdbcd6b0713c6b4f9ba9e80584f68894ed2a00282a7b15086ae170579fe0367d8
diff --git a/media-sound/drumstick/drumstick-0.5.0.ebuild b/media-sound/drumstick/drumstick-0.5.0.ebuild
new file mode 100644
index 000000000000..23e0adbaad10
--- /dev/null
+++ b/media-sound/drumstick/drumstick-0.5.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils cmake-utils
+
+DESCRIPTION="Qt4/C++ wrapper for ALSA sequencer"
+HOMEPAGE="http://drumstick.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="dbus doc"
+
+RDEPEND="
+ media-libs/alsa-lib
+ dev-qt/qtgui:4
+ dev-qt/qtsvg:4
+ x11-misc/shared-mime-info
+ dbus? ( dev-qt/qtdbus:4 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-doc_automagicness.patch
+ "${FILESDIR}"/${PV}-underlinking.patch
+ "${FILESDIR}"/${PV}-gcc6-narrowing.patch
+)
+
+src_prepare() {
+ sed -i \
+ -e '/CMAKE_EXE_LINKER_FLAGS/d' \
+ CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_DBUS=$(usex dbus)
+ -DWITH_DOC=$(usex doc)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/drumstick/drumstick-1.0.2.ebuild b/media-sound/drumstick/drumstick-1.0.2.ebuild
new file mode 100644
index 000000000000..3facc49b0469
--- /dev/null
+++ b/media-sound/drumstick/drumstick-1.0.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils fdo-mime gnome2-utils
+
+DESCRIPTION="Qt/C++ wrapper for ALSA sequencer"
+HOMEPAGE="http://drumstick.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ media-libs/alsa-lib
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ doc? (
+ app-doc/doxygen
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+PATCHES=( "${FILESDIR}/${P}-gcc6.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package doc Doxygen)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ use doc && cmake-utils_src_compile doxygen
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc ; then
+ dodoc -r "${BUILD_DIR}"/doc/html
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/drumstick/drumstick-1.1.0.ebuild b/media-sound/drumstick/drumstick-1.1.0.ebuild
new file mode 100644
index 000000000000..4545970a4f5e
--- /dev/null
+++ b/media-sound/drumstick/drumstick-1.1.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils fdo-mime gnome2-utils
+
+DESCRIPTION="Qt/C++ wrapper for ALSA sequencer"
+HOMEPAGE="http://drumstick.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fluidsynth pulseaudio"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-qt/qtcore-5.7:5
+ >=dev-qt/qtdbus-5.7:5
+ >=dev-qt/qtgui-5.7:5
+ >=dev-qt/qtnetwork-5.7:5
+ >=dev-qt/qtsvg-5.7:5
+ >=dev-qt/qtwidgets-5.7:5
+ media-libs/alsa-lib
+ fluidsynth? ( media-sound/fluidsynth )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ doc? (
+ app-doc/doxygen
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ if ! use fluidsynth ; then
+ sed -i -e "/pkg_check_modules(FLUIDSYNTH/d" \
+ library/rt/CMakeLists.txt \
+ library/rt-backends/CMakeLists.txt \
+ utils/vpiano/CMakeLists.txt || die
+ fi
+
+ if ! use pulseaudio ; then
+ sed -i -e "/pkg_check_modules(PULSE/d" CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=OFF
+ $(cmake-utils_use_find_package doc Doxygen)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ use doc && cmake-utils_src_compile doxygen
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc ; then
+ dodoc -r "${BUILD_DIR}"/doc/html
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/drumstick/files/0.5.0-doc_automagicness.patch b/media-sound/drumstick/files/0.5.0-doc_automagicness.patch
new file mode 100644
index 000000000000..c2474ae4f1e1
--- /dev/null
+++ b/media-sound/drumstick/files/0.5.0-doc_automagicness.patch
@@ -0,0 +1,20 @@
+diff -urN drumstick-0.5.0.old/CMakeLists.txt drumstick-0.5.0/CMakeLists.txt
+--- drumstick-0.5.0.old/CMakeLists.txt 2010-09-09 12:38:56.000000000 +0200
++++ drumstick-0.5.0/CMakeLists.txt 2011-05-13 11:03:30.156962982 +0200
+@@ -143,6 +143,8 @@
+ ADD_SUBDIRECTORY(library)
+ ADD_SUBDIRECTORY(utils)
+ ADD_SUBDIRECTORY(icons)
++OPTION(WITH_DOC "Build documentation" ON)
++IF( WITH_DOC )
+ IF(${CMAKE_SYSTEM} MATCHES "Linux")
+ FIND_PACKAGE(Doxygen)
+ IF(DOXYGEN_FOUND)
+@@ -157,6 +159,7 @@
+ ENDIF(DOXYGEN_FOUND)
+ ADD_SUBDIRECTORY(doc)
+ ENDIF(${CMAKE_SYSTEM} MATCHES "Linux")
++ENDIF( WITH_DOC )
+
+ CONFIGURE_FILE(drumstick-alsa.pc.in drumstick-alsa.pc IMMEDIATE @ONLY)
+ CONFIGURE_FILE(drumstick-file.pc.in drumstick-file.pc IMMEDIATE @ONLY)
diff --git a/media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch b/media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch
new file mode 100644
index 000000000000..165db470592e
--- /dev/null
+++ b/media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch
@@ -0,0 +1,26 @@
+Fix GCC 6 failures caused by -Wnarrowing
+
+--- a/utils/buildsmf/buildsmf.cpp
++++ b/utils/buildsmf/buildsmf.cpp
+@@ -53,8 +53,8 @@
+ m_engine->writeKeySignature(0, 2, major_mode); // D major (2 sharps)
+
+ // system exclusive event
+- static char gsreset[] = { 0xf0, 0x41, 0x10, 0x42, 0x12,
+- 0x40, 0x00, 0x7f, 0x00, 0x41, 0xf7 };
++ static char gsreset[] = { (char)0xf0, 0x41, 0x10, 0x42, 0x12,
++ 0x40, 0x00, 0x7f, 0x00, 0x41, (char)0xf7 };
+ m_engine->writeMidiEvent(0, system_exclusive, sizeof(gsreset), gsreset);
+
+ // some note events
+--- a/utils/testevents/testevents.cpp
++++ b/utils/testevents/testevents.cpp
+@@ -262,7 +262,7 @@
+ dumpEvent(new KeyPressEvent(5, 60, 124));
+ dumpEvent(new ChanPressEvent(6, 111));
+ dumpEvent(new PitchBendEvent(7, 1234));
+- char sysex[] = {0xf0, 0x41, 0x10, 0x42, 0x12, 0x40, 0, 0x7f, 0, 0x41, 0xf7};
++ char sysex[] = {(char)0xf0, 0x41, 0x10, 0x42, 0x12, 0x40, 0, 0x7f, 0, 0x41, (char)0xf7};
+ dumpEvent(new SysExEvent(QByteArray(sysex, sizeof(sysex))));
+ QString text = "This can be a copyright, song name, instrument, lyric...";
+ TextEvent te(text, 3);
diff --git a/media-sound/drumstick/files/0.5.0-underlinking.patch b/media-sound/drumstick/files/0.5.0-underlinking.patch
new file mode 100644
index 000000000000..1ec4fd186029
--- /dev/null
+++ b/media-sound/drumstick/files/0.5.0-underlinking.patch
@@ -0,0 +1,17 @@
+--- a/utils/vpiano/CMakeLists.txt
++++ b/utils/vpiano/CMakeLists.txt
+@@ -1,3 +1,5 @@
++find_package(X11 REQUIRED)
++
+ SET(vpiano_forms_SRCS
+ vpianoabout.ui
+ connections.ui
+@@ -52,7 +54,7 @@
+ TARGET_LINK_LIBRARIES(drumstick-vpiano
+ ${QT_LIBRARIES}
+ ${ALSA_LIBS}
+- ${QT_X11_X11_LIBRARY}
++ ${X11_X11_LIB}
+ drumstick-common
+ drumstick-alsa
+ )
diff --git a/media-sound/drumstick/files/drumstick-1.0.2-gcc6.patch b/media-sound/drumstick/files/drumstick-1.0.2-gcc6.patch
new file mode 100644
index 000000000000..4bb66e85536f
--- /dev/null
+++ b/media-sound/drumstick/files/drumstick-1.0.2-gcc6.patch
@@ -0,0 +1,35 @@
+Index: library/file/qove.cpp
+===================================================================
+--- a/library/file/qove.cpp (revision 316)
++++ b/library/file/qove.cpp (working copy)
+@@ -11356,7 +11356,7 @@
+ OVE::MeasureData* measureData = d->ove.getMeasureData(i, j, k);
+ QList<OVE::MusicData*> tempoPtrs = measureData->getMusicDatas(OVE::MusicData_Tempo);
+
+- if (k == 0 || (k > 0 && abs(measure->getTypeTempo() - d->ove.getMeasure(k - 1)->getTypeTempo()) > 0.01)) {
++ if (k == 0 || (k > 0 && std::abs(measure->getTypeTempo() - d->ove.getMeasure(k - 1)->getTypeTempo()) > 0.01)) {
+ int tick = d->mtt.getTick(k, 0);
+ int tempo = (int) measure->getTypeTempo();
+ tempos[tick] = tempo;
+@@ -11739,7 +11739,7 @@
+ }
+ case OVE::Articulation_Arpeggio: {
+ //if( art->getChangeSoundEffect() ) {
+- unsigned int soundEffect = abs(art->getSoundEffect().first) + abs(art->getSoundEffect().second);
++ unsigned int soundEffect = std::abs(art->getSoundEffect().first) + std::abs(art->getSoundEffect().second);
+ int tickAmount = (soundEffect / notes.size()) * ((notes.size() - i) - 1);
+ startTick -= tickAmount;
+ //}
+Index: utils/testevents/testevents.cpp
+===================================================================
+--- a/utils/testevents/testevents.cpp (revision 316)
++++ b/utils/testevents/testevents.cpp (working copy)
+@@ -262,7 +262,7 @@
+ dumpEvent(new KeyPressEvent(5, 60, 124));
+ dumpEvent(new ChanPressEvent(6, 111));
+ dumpEvent(new PitchBendEvent(7, 1234));
+- char sysex[] = {0xf0, 0x41, 0x10, 0x42, 0x12, 0x40, 0, 0x7f, 0, 0x41, 0xf7};
++ char sysex[] = {'\xf0', '\x41', '\x10', '\x42', '\x12', '\x40', '\0', '\x7f', '\0', '\x41', '\xf7'};
+ dumpEvent(new SysExEvent(QByteArray(sysex, sizeof(sysex))));
+ QString text = "This can be a copyright, song name, instrument, lyric...";
+ TextEvent te(text, 3);
diff --git a/media-sound/drumstick/metadata.xml b/media-sound/drumstick/metadata.xml
new file mode 100644
index 000000000000..ffb8a67c8158
--- /dev/null
+++ b/media-sound/drumstick/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="fluidsynth">Enable support for <pkg>media-sound/fluidsynth</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">drumstick</remote-id>
+ </upstream>
+</pkgmetadata>