Root/gjay/Makefile

Source at commit 1b3135c created 8 years 11 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=gjay
9PKG_VERSION:=0.3.2
10PKG_RELEASE:=1
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=@SF/gjay
14PKG_INSTALL:=1
15
16include $(INCLUDE_DIR)/package.mk
17include $(INCLUDE_DIR)/nls.mk
18
19TARGET_LDFLAGS+= \
20    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
21
22CONFIGURE_ARGS += \
23    --disable-audclient \
24    --disable-mpdclient \
25    --disable-latin1
26
27CONFIGURE_CMD = ./autogen.sh
28
29define Package/gjay
30  SECTION:=sound
31  CATEGORY:=Sound
32  TITLE:=GJay
33  URL:=http://gjay.sourceforge.net/
34  DEPENDS:=+gtk2 +libgsl
35endef
36
37define Package/gjay/description
38GJay (Gtk+ DJ) generates playlists across a collection of music
39(ogg, mp3, wav) such that each song sounds good following
40the previous song. It is ideal for home users who want a non-random
41way to wander large collections or for DJs planning a set list.
42You can generate playlists from within the application, or run GJay
43as a standalone command-line utility.
44
45Playlist matches are based on:
46
47* Song characteristics that don't change:
48    - Frequency fingerprint
49    - Beats per minute
50    - Location in file system
51* Song attributes that you set:
52    - Rating
53    - Color (whatever that means to you)
54endef
55
56define Build/Configure
57    ( cd $(PKG_BUILD_DIR); chmod +x ./autogen.sh; );
58    $(call Build/Configure/Default)
59endef
60
61define Package/gjay/install
62    $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/gjay/icons
63    $(INSTALL_BIN) \
64        $(PKG_INSTALL_DIR)/usr/bin/gjay \
65        $(1)/usr/bin/
66    $(INSTALL_DATA) \
67        $(PKG_INSTALL_DIR)/usr/share/gjay/icons/* \
68        $(1)/usr/share/gjay/icons/
69endef
70
71$(eval $(call BuildPackage,gjay))
72

Archive Download this file



interactive